ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <>
Subject Re: HELP! ant 1.6.2
Date Thu, 10 Mar 2005 16:05:44 GMT
Ray Madigan wrote:

>Yep - meakin.jar had it.  It is an old ant task to perform ForEach!
Found a reference to it:

<foreach2 param="foo">
   <fileset dir="c:\ant">
     <include name="**/*.*"/>
     <echo message="Found: ${foo}"/>

The methods for doing for has changed from 1.5 to 1.6. You
probally should use the <for> task from ant-contrib.

     <ac:for param="foo" xmlns:ac="antlib:net.sf.antcontrib">
      <fileset dir="${ant.home}">
        <include name="**/*.*"/>
        <echo message="Found: @{foo}"/>

- note the use of @{foo}, this is the ant macro attribute based form of 


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message