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 Wed, 13 Jun 2001 13:15:04 GMT
Jose Alberto Fernandez <j_a_fernandez@yahoo.com> wrote:

>> Peter Vogel <pvogel@arsin.com> wrote:
>> > Except that "parallel" in the sense of execOn simply says that
>> > it's ok to provide the whole fileset to the command at once,
>> > rather than running the command for each file.
> 
> I think one of our worst decitions was to use "parallel" for the
> name of that attribute.

Mea culpa.

>> From: Stefan Bodewig [mailto:bodewig@apache.org]
>>
>> But you could only achieve the same as execon does if this string
>> representation is a space delimited list of absolute pathnames -
>> not the only reasonable choice for FileSet.toString().
> 
> I think this is the wrong approach because it puts too much
> dependency on surface syntax which can be OS dependant or what have
> you.

I still think that execon is worth a task of its own, even if there
was a foreach task in core.

Stefan

Mime
View raw message