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 Wed, 20 Oct 2004 17:32:18 GMT
Jose Alberto Fernandez wrote:

>Do we copy, not copy, almost copy? What happens if I declare
>a parallel with a <daemon/> ? inside a macrodef.
>  
>
The stack of "pointers" (pointers being the java variable as seen by a C 
programmer) is copied.

The following works fine:
    <let>
      <localproperty name="local" value="A local property"/>
      <parallel>
        <daemons>
          <sequential>
            <sleep seconds="2"/>
            <echo>the local is ${local}</echo>
          </sequential>
        </daemons>
      </parallel>
    </let>

Peter


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


Mime
View raw message