ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: article: combining make and ant
Date Thu, 21 Mar 2002 14:29:44 GMT
On Thu, 21 Mar 2002, stephan beal <stephan@einsurance.de> wrote:

> %.white.png: %.black.png
> 	convert -negate $< $@

<apply executable="convert">
  <arg value="-negate" />
  <srcfile />
  <targetfile />
  <mapper type="glob" from="*.white.png" to="*.black.png" />
  <fileset dir="." />
</apply>

not as compact, but does the same thing 8-)

> You can do the same job in ant, but you're looking at using filesets

trivial in this case

> and some type of foreach iterator (which isn't in the core Ant
> 1.4.1).

Nope.

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message