ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey N. Solofnenko" <A.Solofne...@mdl.com>
Subject Re: <macrodef> and local
Date Sat, 19 Jun 2004 17:21:13 GMT
I am still hoping we will have a multi-threaded ANT some time. Please 
implement local properties in a thread-safe way. I think a separate 
thread-local property store would be required for that.

- Alexey.

Steve Loughran wrote:

>
> I am now convinced we need local properties; without it macrodef 
> doesnt work fully.
>
> One option: in the <macrodef> declaration, you declare which 
> properties are local. When the macro exits these properties are 
> deleted -if they were not set before entering the macro.
>
> That is, properties set before the macro remain immutable, only those 
> set inside get reset.
>
> We'd need to do the cleanup on both a normal exit and a buildexception.
>
> -steve
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org


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


Mime
View raw message