ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peterrei...@apache.org>
Subject Re: local properties
Date Fri, 15 Oct 2004 15:27:39 GMT
Jose Alberto Fernandez wrote:

>Notice, that except for the access to the HashMap containing the
>properties
>you do not need to do much more in the sense of thread safety.
>The names are unique, hence there is no two threads with the same
>property
>(unless the name gets passed from a common parent) but in that case, the
>parent
>is the one that should remove the name.
>  
>
Yes you are correct. :-D

In that case, you should modify the code to remove the property at the
end of the macrodef. This would help a lot of people to accept this 
proposal.

Peter

>BTW, let me just stress again, that my approach can be also used for
>other things
>like for example: references. Is there a way to define local references
>in a macro today?
>
>It is up to you to decide what you want to use the new name for. And in
>that sense it 
>would be also up to you to specify for it to be cleaned afterwards. This
>is the main
>reason why I did not impose a particular scope semantics.
>
>Jose Alberto
>
>
>---------------------------------------------------------------------
>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