Imagine this as the code from build.xml:
<project name="test project">
<target name="first">
<echo>first</echo>
</target>
<target name="second" depends="first">
<echo>second</echo>
</target>
<target name="third" depends="first,second">
<echo>third</echo>
</target>
</project>
What I need to do so that at startup:
ant third
I would get the following output:
first,first,second,third
In other words, I would like each dependency to be executed regardless of whether it was executed earlier or not.
source
share