[EMAIL PROTECTED] wrote:

<target name="example">
 <let>
   <localproperty name="prop" value="a local value"/>
   <echo>prop is ${prop}</echo>
 </let>
 <echo>prop is ${prop}</echo>
</target>

should result in?

[echo] prop is a local value
[echo] prop is ${prop}



Yes.



So, Task, Target, Parallel do not get changed.

I also think that the nested localproperty for the macrodef task can be dropped initially. It would be easier to explain just one container for local properties/



<macrodef name="test">
<sequential>
<localproperty name="prop" value="a local value"/>
<echo>prop is ${prop}</echo>
</sequential>
</macrodef> <test/>
<echo>prop is ${prop}</echo>


result should be the same:

[echo] prop is a local value
[echo] prop is ${prop}

or do you want to something like

<macrodef name="test">
 <let>
   <localproperty name="prop" value="a local value"/>
   <echo>prop is ${prop}</echo>
 </let>
</macrodef>

No



or

<macrodef name="test">
<sequential>
<let>
<localproperty name="prop" value="a local value"/>
<echo>prop is ${prop}</echo>
</let>
</sequential>
</macrodef>





Yes, This is the case.

Peter


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



Reply via email to