Is there truly a need for actual, visible windows? Or do you just mean that you want the processes to be independent of the Java process that runs Ant? This is usually what people want and they seem to do fine with the <exec> or <java> tasks--each has a spawn attribute that, when set to "true", creates (or, indeed, spawns) a new process.
-Matt --- Robert Mark Bram <[EMAIL PROTECTED]> wrote: > 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:[EMAIL PROTECTED] > >> 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: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > -- > 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: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]