Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 85503 invoked from network); 30 May 2004 16:39:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 30 May 2004 16:39:18 -0000 Received: (qmail 82176 invoked by uid 500); 30 May 2004 16:39:15 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 82071 invoked by uid 500); 30 May 2004 16:39:13 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 82019 invoked by uid 99); 30 May 2004 16:39:12 -0000 Received: from [129.41.18.190] (HELO us1ex1.corp.e2open.com) (129.41.18.190) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sun, 30 May 2004 09:39:12 -0700 Received: by us1ex1.corp.e2open.com with Internet Mail Service (5.5.2657.72) id ; Sun, 30 May 2004 09:38:16 -0700 Message-ID: <9D2C6E61BF2E484A98AAC680695EDA6E0C0F806B@us1ex1.corp.e2open.com> From: Kenneth Wood To: Ant Developers List Subject: RE: Open new command window for ANT task Date: Sun, 30 May 2004 09:37:14 -0700 Deferred-Delivery: Sun, 30 May 2004 09:37:00 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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 please remember that Ant's original and main purpose is to compile java code and create jars, wars, etc for application deployment. When you find yourself trying to use a wrench to do the job of a screwdriver, maybe it's time to re-think the tool selection... -----Original Message----- From: Robert Mark Bram [mailto:relaxedrob@optusnet.com.au] 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'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 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? Rob :) -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org