ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: TaskContainer and setProperty
Date Fri, 06 Sep 2002 06:42:44 GMT
On Thu, 5 Sep 2002, Dominique Devienne <DDevienne@lgc.com> wrote:

> I don't know how you could delay this stuff to happen,

see my other mail

> And also, property immutability is likely to bite you, since Ant
> doesn't support the notion of a variable you can change for each
> invocatin.

Well, this is not entirely true.  It is possible to change property
values via Ant's API (and thus via a custom task), there is just no
built-in task that would do so.

The bigger problem with a foreach like task setup would be that the
nested task will only get "configured" (attributes set, properties
expanded) once, not once per iteration.  So you are basically forced
to do the configuration yourself (in the container) rather than
letting Ant do it.

Stefan

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


Mime
View raw message