ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: ant-contrib foreach performance
Date Wed, 14 Dec 2005 04:54:46 GMT
On Tue, 13 Dec 2005, Ninju Bohra <> wrote:
> Try using the <for> task.  The <foreach> task has the overhead of
> having to re-load the build file as it runs the target.  The <for>
> task uses macrodefs and should be much faster.
> Also if you have such a well-defined complex usage it may make sense
> to create a custom task and drop into a compiled language (like
> JAVA) to accomplish what you need.

Yes, good advice, in particular writing a task to do it.

You can write a task using scripting languages as well, see Ant's
scriptdef task.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message