I have a main build script that calls up various targets. One of these goals must retain meaning, and the other goal must reflect it. Obviously this does not work, so I think it might be related to the area. I tried var, a property, and declared a property outside of target1. Since var seems to be changed, it looks like I need to use it instead, but every time my output is empty.
Main script
<antcall target="target1"/> <antcall target="display"/>
In target1:
<var name="myVar" value="${anotherVar}"/>
On the display:
<echo>${myVar}</echo>
ant
bobtheowl2
source share