Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 84782 invoked from network); 6 Oct 2002 16:06:04 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 6 Oct 2002 16:06:04 -0000 Received: (qmail 1574 invoked by uid 97); 6 Oct 2002 16:06:47 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 1546 invoked by uid 97); 6 Oct 2002 16:06:46 -0000 Mailing-List: contact ant-dev-help@jakarta.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 ant-dev@jakarta.apache.org Received: (qmail 1526 invoked by uid 98); 6 Oct 2002 16:06:45 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: From: Dominique Devienne To: "'Ant Developers List'" Subject: RE: Trailing slash on ANT_HOME in windows Date: Sun, 6 Oct 2002 11:05:52 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N There's a turn around on Win2K, that replaces all \" by \\", but it's not portable to Win95/98/ME, so cannot really be used in ant.bat. Here's an extract from oneof our BAT files: :: replace all the trailing \" by \\" to avoid the java program :: misunderstanding the command line set _sysproperties=%_sysproperties:\"=\\"% Hope this helps. --DD -----Original Message----- From: Kieran [mailto:kieran@esperi.demon.co.uk] Sent: Saturday, October 05, 2002 9:18 AM To: Ant Developers List Subject: Trailing slash on ANT_HOME in windows Hi, I installed ant 1.5.1 on a Windows NT 4 box with jsdk 1.3.1 last night. The ANT_HOME variable had a trailing slash (e:\ant-1.5.1\ actually). This resulted in the ant.bat file making a call to: java.exe -classpath "-Dant.home=e:\ant-1.5.1\" org.apache.tools.ant.Main and the java binary bugged out, giving the usage message. Further checking shows that removing the quotes or the trailing slash around the "-D" results in normal operation. I did a google, but didn't immediately find info on this. Later, I found the following bug, marked FIXED http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1849 The summary seems to be that you can: 1. Allow the trailing slash 2. Allow paths with spaces or 3. Have 1 and 2, (by adding "\." on each run) but increase the size of the ANT_HOME variable in Win9x for each run. Would you guys accept an FAQ entry on this subject? regards Kieran -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: