ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: runtime task attributes modification
Date Fri, 15 Aug 2003 12:29:56 GMT
On Thu, 14 Aug 2003, Daniel Nehren <> wrote:

> I am writing a task that will iterate thorough all the
> sub-directories in a directory and executing a certain number of
> tasks. I could not find any task out there that does that.

To a certain degree <apply> does, as does the new (only in CVS)
<subant/>.  But both are specialized to do <exec/> and <ant/>

ant-contrib's <foreach/> does what you want by invoking a <target>
that can contain arbitrary tasks passing the directory as parameter.

The brand new <macrodef/> may be an inspiration to see how you can do
what you want in Ant 1.6 - and certainly Peter Reilly's in-house,
yet-to-be-published new <foreach/> will be exactly what you want.


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

View raw message