I've seen both the depends attribute of the target tag, and the antcall task used in
very similar methods - to call internal targets the comprise an external target. For
example:
<target name="all" depends="init, build, deploy, clean">
</target>
vs.
<target name="all">
<antcall target="init" />
<antcall target="build" />
<antcall target="deploy" />
<antcall target="clean" />
</target>
I've also seen this for the deploy target (to make jar, war, and ear files), for the
build target (to make directories, compile). My question - which is the better way of
doing this?
Kyle