<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} > 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> or <macrodef name="test"> <sequential> <let> <localproperty name="prop" value="a local value"/> <echo>prop is ${prop}</echo> </let> </sequential> </macrodef> Jan