Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 79171 invoked from network); 16 Sep 2002 06:44:11 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 16 Sep 2002 06:44:11 -0000 Received: (qmail 8397 invoked by uid 97); 16 Sep 2002 06:44:51 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 8360 invoked by uid 97); 16 Sep 2002 06:44:49 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 8348 invoked by uid 98); 16 Sep 2002 06:44:48 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) X-Authentication-Warning: bodewig.bost.de: bodewig set sender to bodewig@apache.org using -f To: ant-user@jakarta.apache.org Subject: Re: invoking ant from jsp on win2k References: <3220.212.77.172.82.1031926053.squirrel@red.tallence.de> <4276.212.77.172.82.1031932175.squirrel@red.tallence.de> From: Stefan Bodewig Date: 16 Sep 2002 08:44:08 +0200 In-Reply-To: <4276.212.77.172.82.1031932175.squirrel@red.tallence.de> Message-ID: Lines: 12 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Fri, 13 Sep 2002, Stefan Lipp wrote: > I feel we are going in a totally wrong direction: Probably yes. My point (maybe too subtle, sorry) is that you have been trying to exec a batch file via Java's API (hidden by Ant's API) and that is impossible to do directly on Windows. You must run cmd.exe or command.com and pass the name of the batch file as a parameter. Stefan -- To unsubscribe, e-mail: For additional commands, e-mail: