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 26947] - ANT_HOME variable needs clarification
Date Sun, 15 Feb 2004 10:47:03 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=26947>.
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=26947

ANT_HOME variable needs clarification





------- Additional Comments From antoine@apache.org  2004-02-15 10:47 -------
Hi,
First of all *thanks* for submitting the first ant 1.6.1 bug report, this is
worth drinking a glass of wine.

Second, you have been caught by an annoyance which has hit other people in the past.

I suggest to do the following in ant.bat (will work only under NTish operating
systems, but this is the tendency of the batch anyway) :

for %a in (%ANT_HOME%) do set ANT_PARENT_DIR=%~dpa
if "%ANT_PARENT_DIR%"=="%ANT_HOME%" goto error
goto next
:error
echo ANT_HOME *must not* end with a backslash
echo you have set ANT_HOME to %ANT_HOME%
pause
exit 1



:next

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message