ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Foreach loop in ant
Date Thu, 09 Aug 2001 14:00:30 GMT
On Thu, 9 Aug 2001, Melanie Bernier <melanie.bernier@sdm.de> wrote:

> Foreach File in Directory
>   convert file.gif file.eps
> 

<apply executable="convert">
  <srcfile />
  <targetfile />

  <fileset dir="whatever" includes="**/*.gif" />
  <mapper type="glob" from="*.gif" to="*.eps" />
</apply>

Stefan

Mime
View raw message