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%

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, January 10, 2003 12:00 PM
To: [EMAIL PROTECTED]
Subject: DO NOT REPLY [Bug 15963] - New Ant with JWSDP 1.0_01 could not
take double quote in PATH


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

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX



------- Additional Comments From [EMAIL PROTECTED]  2003-01-10 20:00 -------
Helen,

The problem lies in batch files, DOS command lines and things we cant really
fix.  Especially because this is a custom version of Ant, and they probably
changed ant.bat to suit their needs (such as not rely on ANT_HOME). You
could
file a report with Sun but I suspect they'd direct you back to us.


recommendation (which wont fix your problem, but has many benefits)
 -install ant1.5.1 somewhere
 -remove ant.bat from the JWSDP path

I'd also point out that Apache Axis is a very good JAX-RPC implementation
that
you can install on multiple app servers, not just the JWSDP build of tomcat.
Axis 1.1 will be out shortly...

marking as WONTFIX, meaning CANTFIX. Sorry.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to