Hi Michael, > In NAnt, how can I can create arrays upon which I can use a 'foreach' command?
What about using (quoted) comma delimited strings? Something like: <property name="solutions" value='"solution 1","solution 2",...' /> <property name="releases" value="debug,release" /> <foreach item="String" in="${solutions}" delim='","' property="solution"> <echo message="Current solution: ${solution}" /> <foreach item="String" in="${releases}" delim="," property="release"> <echo message="Current release: ${release}" /> <call target="build" /> <call target="collate" /> </foreach> </foreach> I do something similar to loop through various Subversion repositories and it works fine...although the code above hasn't been tested :) peace si ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users