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
[email protected]
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: [email protected]
For additional commands, e-mail: [email protected]