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 15963] - New Ant with JWSDP 1.0_01 could not take double quote in PATH
Date Wed, 29 Jan 2003 01:11:31 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=15963>.
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=15963

New Ant with JWSDP 1.0_01 could not take double quote in PATH





------- Additional Comments From Iyad.Elayyan@oracle.com  2003-01-29 01:11 -------
the trick is to strip the quotes from the classpath in ant.bat and add them
at the end when invoking java

REM the following expression strips the quotes from the classpath
set LOCALCLASSPATH=%CLASSPATH:"=%

:runAnt
"%_JAVACMD%" -classpath "%LOCALCLASSPATH%" "-Dant.home=%ANT_HOME%"
%ANT_OPTS% org.apache.tools.ant.Main %ANT_CMD_LINE_ARGS%

--Iyad

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


Mime
View raw message