So this is the scenario. I have
<target name="test">
<property file="blah"></property>
<exec dir="" executable="trast.exe" resolveexecutable="true" spawn="true">
</exec>
</target>
<!-- So now I have the second target that uses Return value from first target -->
<target name="test2">
<property file="blah"></property>
<exec dir="" executable=RETURN VALUE resolveexecutable="true" spawn="true">
</exec>
</target>
Basically I need a way to use the result from first target in the next target. I looked online and one solution seems to be is to parse output. But is there a way to get it without parsing?
Thanks