An example loop over files:

<project default="test" xmlns:ac="antlib:net.sf.antcontrib">
 <macrodef name="processfile">
   <attribute name="file"/>
   <sequential>
     <echo>Process @{file}</echo>
   </sequential>
 </macrodef>

 <target name="test">
   <ac:for param="file">
     <fileset dir="." includes="**/*.xml"/>
     <sequential>
       <processfile file="@{file}"/>
     </sequential>
   </ac:for>
 </target>
</project>

Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to