ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <levylamb...@tiscali-dsl.de>
Subject Re: array in ant
Date Tue, 03 Jun 2003 08:17:32 GMT
Thanks Peter for correcting me.
Antoine
----- Original Message -----
From: "peter reilly" <peter.reilly@corvil.com>
To: "Ant Users List" <user@ant.apache.org>
Sent: Tuesday, June 03, 2003 9:54 AM
Subject: Re: array in ant


On Monday 02 June 2003 20:49, Antoine Levy-Lambert wrote:
> In ant-contrib, there is a <foreach/> task.
>
> It is able to parse a string into tokens separated by a delimiter chosen
by
> the build file writer.
> <foreach list="${FooName}" delimiter=" " target="sometarget"
> param="fooelement"/>
> would invoke the target sometarget for each space separated token in
> ${FooName},
> passing the token to sometarget as ${fooelement}.
>
> I guess this is what you would like to do.
>
> Concerning arrays, I do not know if there are addon tasks for ant which
> support them.
>
> Ant-contrib has variable support (sorts of properties which are mutable).

mutable properties (var task) are part of Antelope not ant-contrib

Peter.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org




Mime
View raw message