Open new command window for ANT task

2004-05-30 Thread Robert Mark Bram
Hi All! I am trying to write an Ant task capable of opening a new command window.. (for Dos or *nux).. Then I will use this to help with Jini tasks.. My first step is finding Java code to do such an ugly task! When I try the following test: public class Command { public static void main (String

Bug report for Ant [2004/05/30]

2004-05-30 Thread bugzilla
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned

RE: Open new command window for ANT task

2004-05-30 Thread Dominique Devienne
> 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 (

Re: Open new command window for ANT task

2004-05-30 Thread Robert Mark Bram
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

RE: Open new command window for ANT task

2004-05-30 Thread Kenneth Wood
Then you should write a script to open all your command windows in the right sequence, and launch that one script from Ant. As you stated, it's easy to do in a batch/shell file. Why are you torturing Ant into doing the batch/shell file's job?? You don't really say what you are trying to do, but pl

RE: Open new command window for ANT task

2004-05-30 Thread Dominique Devienne
> 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