aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes unable to run all targets at once Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "unable to run all targets at once" Watch "unable to run all targets at once" New topic
Author

unable to run all targets at once

nlr reddy
Greenhorn

Joined: Jul 05, 2009
Posts: 9
There are multiple targets in my build.xml.
If I want to run the script I enter as
$ant <target name>

If I want to run all targets at once, how can I do that?

running as

$ant

is not working for me as it checks for only tool availability.


Thanks,
Charan
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Set a default target, and have the default target depend on all the tasks you want run.
Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
David Newton wrote:Set a default target, and have the default target depend on all the tasks you want run.


I suspect that Charan Ramireddy wants to run all tasks simultaneously.
nlr reddy
Greenhorn

Joined: Jul 05, 2009
Posts: 9
David Newton wrote:Set a default target, and have the default target depend on all the tasks you want run.


Whatever David told me to do has worked for me

Thanks David

Charan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: unable to run all targets at once
 
Similar Threads
Controlling dependencies with Ant
Junit Recipes/ in action
3th day with ant , help please
ANT, targets and variable passing
Loops in Ant