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 Mon, 16 Feb 2004 15:15:59 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 ddevienne@lgc.com  2004-02-16 15:15 -------
Well, as you write Antoine, %~dpa is not portable to Win9x...

I used to do the following HACK to get rid of trailing slashes:
:: Remove back-slash or forward-slash at end of path, if any
set JAVA_HOME=%JAVA_HOME%#
set JAVA_HOME=%JAVA_HOME:\#=%
set JAVA_HOME=%JAVA_HOME:/#=%
set JAVA_HOME=%JAVA_HOME:#=%

Used to work, but was not tested on all platforms. Should work on WinNT, Win2K, 
WinXP. --DD

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


Mime
View raw message