ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kieran <kie...@esperi.demon.co.uk>
Subject Trailing slash on ANT_HOME in windows
Date Sat, 05 Oct 2002 14:18:28 GMT
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 <antclasspath> "-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:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message