On Wed, 22 Aug 2007, Peter Reilly <[EMAIL PROTECTED]> wrote:

> Hi all,
> I have updated the local properties patch to
> make use of the new PropertyHelper delegate infrastructure.
> (see: http://issues.apache.org/bugzilla/show_bug.cgi?id=23942)

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

> 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.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to