Two Laptop Bag*
The moose likes Ant, Maven and Other Build Tools and the fly likes Using Ant to launch program in separate window 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 "Using Ant to launch program in separate window" Watch "Using Ant to launch program in separate window" New topic
Author

Using Ant to launch program in separate window

See El
Ranch Hand

Joined: Oct 07, 2002
Posts: 44
Hi everyone,
I want to use Ant to launch some external program (in exact appserver & tomcat) in separate window and the returns (leaving other program running). I've tried something like this

Anybody has an idea how to do this ?
Thanks in advance,


See El<br />SCJP2, SCWCD, IBM XML, SCBCD
Kirk Pepperdine
Author
Ranch Hand

Joined: Jan 17, 2001
Posts: 71
As long as a process run by ANT is running (say that five times fast ), ANT will not return. You can get ANT to launch several processes by using a combination of the parallel and sequential tasks. Quite useful for running tests in a distributed processing environment.


Author of <a href="http://www.amazon.com/exec/obidos/ASIN/0672324261/ref=jranch-20" target="_blank" rel="nofollow">Ant Developer's Handbook</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using Ant to launch program in separate window
 
Similar Threads
Starting Tomcat from ANT
Ant exec task -- unable to execute a command
Exception while launching wsadmin thru ant.
Running a java task that has interactive console input
testing a client/server configuration