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 17437] New: - Quotes around %LOCALCLASSPATH% in antidote.bat
Date Wed, 26 Feb 2003 15:55:16 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=17437>.
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=17437

Quotes around %LOCALCLASSPATH% in antidote.bat

           Summary: Quotes around %LOCALCLASSPATH% in antidote.bat
           Product: Ant
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Antidote
        AssignedTo: dev@ant.apache.org
        ReportedBy: ralf@miekenet.de
                CC: ralf@miekenet.de


Building antidote 0.2alpha (Build date 26.02.2003) with Ant 1.5, and starting 
it with antidote I encountered the error
Exception in thread "main" java.lang.NoClassDefFoundError: CICS

It seems some part of the classpath could not be read correctly. Observing 
antidote.bat I added quotes around %LOCALCLASSPATH% in LINE 23, so it becomes
%JAVACMD% -classpath ..\lib\antidote.jar;..\lib\crimson.jar;"%LOCALCLASSPATH%" -
Dant.home="%ANT_HOME%" org.apache.tools.ant.gui.Main %ANT_CMD_LINE_ARGS%

This is of course only a problem if some whitespaces in classpath directory 
exists.

Mime
View raw message