ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Mark Bram <>
Subject Re: Open new command window for ANT task
Date Sun, 30 May 2004 15:29:26 GMT
Hi DD!

Thank you very much for the response!

I read the FAQ in response to your message - but I still don't see how to 
do what I want, which is to open a new command window and run something in 

<exec dir="${scripts}" executable="cmd.exe" >
    <arg line="/c test.bat"/>


<exec dir="${scripts}" executable="cmd.exe" >
    <arg line="start"/>
    <arg line="/c test.bat"/>

For example, this runs a batch file, but still in the same window.

I need to run several Java processes in new windows in a particular order:
- a class server
- a Jini lookup server
- another class server
- a service provider
- a client....

Each of these should spin off into a new command window so they can keep 
running and let the next process be launched.. This is easy to do with a 
batch/shell file and I am hoping to do the same with Ant..

Do you think this can be done?


Robert Mark Bram
B.Comp.(Systems Development/Business Systems)
Doctor of Philosophy Student

School of Network Computing
Faculty of Information Technology
Monash University
Peninsula Campus
McMahons Rd
Frankston, VIC 3199

Phone:  61 3 9904 4394
Facsimile:  61 3 9904 4124

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message