ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: FW: local properties
Date Wed, 20 Oct 2004 17:27:42 GMT
--- Jose Alberto Fernandez <jalberto@cellectivity.com>
wrote:
> <localproperty name="macrolocal"/>
> <parallel>
>   <waitfor>
>     <isset property="macrolocal"/>
>   </waitfor>
>   <property name="macrolocal" value="1"/>
> </parallel>
> 
> This is absolutely valid code today. Shall it stay
> in an infinite wait?

This is where scoping comes in... the <parallel>
exists in the same scope as the <localproperty>, so
all spawned threads would diverge from a common point:
i.e. the point whose map contains the "macrolocal"
property.

-Matt


		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

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


Mime
View raw message