ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Mark Bram <relaxed...@optusnet.com.au>
Subject Re: Open new command window for ANT task
Date Tue, 01 Jun 2004 14:56:07 GMT
Thank you to all for the advice!

So far, the tack I am taking is:
  1. writing a gui module that will redirect standard and error output to a 
JTextPane
  2. having that module use Runtime.getRuntime().exec() to run a 'os' 
command (i.e. Jini)
  3. put that into an Ant task..
So far I am up to the second step!

Rob
:)

>> From: Robert Mark Bram [mailto:relaxedrob@optusnet.com.au]
>> 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?
>
> If you don't mind having Ant be the parent of all these processes,
> And sticking around, you could start all the servers in <parallel>,
> Probably redirecting each server's output to avoid their multiplexing.
>
> I'm never done this, but others have. You may also use DOS/SH instead
> Of Ant as Kenneth suggested... --DD
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>



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

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

Phone:  61 3 9904 4394
Facsimile:  61 3 9904 4124
Email: robert.mark.bram@infotech.monash.edu.au


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message