ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 1849] - ANT_HOME
Date Mon, 24 Sep 2001 00:16:16 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1849>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1849

ANT_HOME





------- Additional Comments From phanna@ipass.net  2001-09-23 17:16 -------
The problem seems to be in the quoting mechanism on Win32.  When a value in 
quotes on the command line ends in a backslash, it escapes the following 
character, which is the trailing quote.  The effect is that the rest of the 
line is considered to be part of the quoted value.

One way to fix this is to append "\." to ANT_HOME at the last minute, just 
before running the command.

I have verified that this works on Windows NT 4.0 SP6 with Ant 1.4.  It would 
be good if someone could check it out on Win98.

Patch below:

--- d:/ant/bin/ant.bat	Sat Sep 22 11:51:00 2001
+++ ant.bat	Sun Sep 23 20:10:17 2001
@@ -87,6 +87,7 @@
 echo.
 
 :checkJikes
+set ANT_HOME=%ANT_HOME%\.
 if not "%JIKESPATH%" == "" goto runAntWithJikes
 
 :runAnt

Mime
View raw message