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 or tasks--each has a spawn
attribute that, when set to "true", creates (or,
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 sec
> 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 s
Message-
From: Robert Mark Bram [mailto:[EMAIL PROTECTED]
Sent: Sunday, May 30, 2004 10:29 AM
To: 'Ant Developers List'
Subject: Re: Open new command window for ANT task
Hi DD!
Thank you very much for the response!
I read the FAQ in response to your message - but I still don
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
it..
or
For example, this runs a batch file, but still in the same window.
I need to r
> From: Robert Mark Bram [mailto:[EMAIL PROTECTED]
>
> I am trying to write an Ant task capable of opening a new command window..
>Runtime.getRuntime( ) .exec ( new String [] {"start", "cmd"});
Check out the FAQ... You don't need a task for that, just .
Runtime.exec needs an executable (