ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Local Properties
Date Mon, 27 Aug 2007 20:05:29 GMT
On Wed, 22 Aug 2007, Peter Reilly <> wrote:

> Hi all,
> I have updated the local properties patch to
> make use of the new PropertyHelper delegate infrastructure.
> (see:

Still haven't found the time to actually look at the implementation,

> The idea behind local properties is to provide
> isolation of properties within element blocks - like
> macrodefs and sequential. The main use case of
> course is for macrodefs.

And they are a good idea for this.

How does nesting of locals work?  If a macro calls another macro, are
the properties set in the outer macro available to the inner?  What
about <ant> subbuilds invoked from inside a macro?

> The <local> patch uses the following elements for block scopeing -
> <target> and <sequential>.
> (I think that this could be restricted to just <sequential>).

I think there are two options: restricting it to sequential or
allowing it for any TaskContainer.  Anything else will make us add
more tasks to the list of allowed containers.


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

View raw message