Hello Venu.
That's right ... ant won't execute targets in the order they appear in
the build.xml file.
Here is the link to the manual:
http://ant.apache.org/manual/targets.html
Hope this helps,
Parag Doke
Save paper, save trees. Do not print emails/documents unless
absolutely necessary.
On Tue,
Hi Robert,
Thanks for the clarification.
Does it mean that ant execution does not go sequentially as per the targets
specified in the build file?
I mean I have given the following sequence:
--init
--compile depends on init
--javdocs depends on compile
--archive depends on compile
--execute depends
Hi Venu,
default target is archive
archive depends on compile, so compile is run.
compile depends on init, so init is run.
That's all that is happening, so of course the execute doesn't happen..
Make archive depends="compile, execute".
Then it will do
- init
- compile
- execute
- archive
Rob