Multiple depends in Ant task
<target name="all" depends="compile,jsps">
This is documented in the Ant Manual.
The former:
<target name="all" depends="compile,jsps">
This is documented in the Ant Manual.
It's the top one.
Just use the echo tag if you want to quickly see for yourself
<target name="compile"><echo>compile</echo></target>
<target name="jsps"><echo>jsps</echo></target>
<target name="all" depends="compile,jsps"></target>
You can also look at the antcall tag if you want more flexibility on ordering tasks