ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernier, Melanie" <>
Subject Foreach loop in ant
Date Thu, 09 Aug 2001 13:47:04 GMT

How can I do using ant:

Foreach File in Directory
  convert file.gif file.eps

I looked the Apply or ExecOn tasks.  I don't know how I can specify the name
of the output file (file.eps) using ant and the following code.

<target name="gif2eps">
  <execon executable="convert" >
    <fileset dir="/directory">
        <exclude name="**/*.gif"/>

Any ideas?



View raw message