Le Friday 08 May 2009 00:06:03 David Raich, vous avez écrit :
> Does anyone have a way to make <apply> log a one-line summary for
> each file it applies its command to?
>

Using ant-contrib's <for>, this is easy:

<for param="file">
        <fileset>
                <!-- whatever your fileset is, even by refid -->
        </fileset>
        <sequential>
                <!-- @{file} refers to for's param attribute -->
                <echo message="Processing file @{file}"/>
                <do-something with="param"/>
        </sequential>
</for>


-- 
Francis Galiegue
f...@one2team.com
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
One2team
40 avenue Raymond Poincaré
75116 Paris

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to