ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kieran <>
Subject Trailing slash on ANT_HOME in windows
Date Sat, 05 Oct 2002 14:18:28 GMT

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\"

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

The summary seems to be that you can:
1. Allow the trailing slash
2. Allow paths with spaces
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?



To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message