Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 73496 invoked from network); 4 Jan 2005 23:30:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Jan 2005 23:30:21 -0000 Received: (qmail 2081 invoked by uid 500); 4 Jan 2005 23:30:09 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 2044 invoked by uid 500); 4 Jan 2005 23:30:09 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 2019 invoked by uid 99); 4 Jan 2005 23:30:09 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from ext-nj2gw-5.online-age.net (HELO ext-nj2gw-5.online-age.net) (64.14.56.41) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 04 Jan 2005 15:30:06 -0800 Received: from int-nj2gw-6.online-age.net (int-nj2gw-6 [3.159.236.70]) by ext-nj2gw-5.online-age.net (8.12.9/8.12.9/990426-RLH) with ESMTP id j04NU2AF028294 for ; Tue, 4 Jan 2005 18:30:02 -0500 (EST) Received: from casjcx01nege.ne.ge.com (localhost [127.0.0.1]) by int-nj2gw-6.online-age.net (8.12.9/8.12.8/990426-RLH) with ESMTP id j04NU0XP016103 for ; Tue, 4 Jan 2005 18:30:01 -0500 (EST) Received: by casjcx01nege.ne.ge.com with Internet Mail Service (5.5.2657.72) id ; Tue, 4 Jan 2005 15:28:17 -0800 Message-ID: From: "Conelly, Luis (GE Energy, Non GE, GENE)" To: Ant Users List Subject: RE: Launching Tomcat from Ant. Date: Tue, 4 Jan 2005 15:34:41 -0800 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 I think you can use the Ivan Ivanov's macrodef[1] to start / stop tomcat from your ant script Also, Mani G. Iyer sent a very good piece of information[2] to perform tasks in Tomcat from Ant Ahh! The beauty of the archives.... ;) Regards [1] http://marc.theaimsgroup.com/?l=ant-user&m=108693683708999&w=2 [2] http://marc.theaimsgroup.com/?l=ant-user&m=108691727814737&w=2 -----Original Message----- From: Robert Lin [mailto:Robert.Lin@bluejungle.com] Sent: Tuesday, January 04, 2005 5:02 PM To: Ant Users List Subject: RE: Launching Tomcat from Ant. I think the "executable" should be "cmd.exe" and pass the batch file as a nested argument. At least that's how we use it. Best, Robert -----Original Message----- From: Donald Strong [mailto:dstrong@agentissoftware.com] Sent: Tuesday, January 04, 2005 2:41 PM To: Ant Mail List Subject: Launching Tomcat from Ant. Hi all, I am having a problem launching tomcat from ant. It works fine when I run ant in a dos shell but not when I run ant from a cygwin shell. Any suggestions welcome. Donald. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org