ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: executing task for each file in file set
Date Tue, 12 Jun 2001 14:00:38 GMT
Roger Vaughn <rogervaughn@yahoo.com> wrote:

> --- Stefan Bodewig <bodewig@apache.org> wrote:
>> <execon> is a different beast.  As long as you say
>> parallel="false", we are talking about iteration, but this nice
>> little parallel attribute makes all the difference
> 
> Ah, a compelling argument.

Thanks - I'm supposed to defend the tasks I've written ;-)

> But, as you point out yourself, this doesn't take away the need for
> foreach itself.

In certain circumstances - and I don't pretend that we can anticipate
everything.  To me foreach (or iterate or whatever) are probably most
useful for sets that are not sets of files, but some new user defined
data types.

> Furthermore, if you wanted to provide *real* power, you could put
> the "parallel" option on the foreach task!

Ouch!

Stefan

Mime
View raw message