| property set in sub-task not defined | property set in sub-task not defined 2003-03-17 - By Pedro Salazar
Greetings,
I'm trying to set a property in a sub-task, but it not working. I put here a sample test:
<target name="X"> <antcall target="Y" /> <echo message="Z is ${Z}" /> </target>
<target name="Y"> <property name="Z" value="OK" /> </target>
If I call the target X, I will get the output "Z is ${Z}" instead what I expect to happen, "Z is OK".
How can I set a property in a sub-task if we know that properties are immutable?
thanks, Pedro Salazar. -- <id name="pedro salazar"> <email>pedro-b-salazar@(protected)</email> <pgp-key-id>0E129E31D803BC61</pgp-key-id> </id>
|
|
 |