ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 2938] New: - ant.bat lacks double quotes around %LOCALCLASSPATH%
Date Tue, 31 Jul 2001 21:57:53 GMT
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2938

*** shadow/2938	Tue Jul 31 14:57:53 2001
--- shadow/2938.tmp.13735	Tue Jul 31 14:57:53 2001
***************
*** 0 ****
--- 1,27 ----
+ +============================================================================+
+ | ant.bat lacks double quotes around %LOCALCLASSPATH%                        |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2938                        Product: Ant                     |
+ |       Status: NEW                         Version: 1.3                     |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Normal                   OS/Version: Windows NT/2K           |
+ |     Priority: Other                     Component: Build Process           |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: ant-dev@jakarta.apache.org                                   |
+ |  Reported By: apache@smartsc.com                                           |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ The ant.bat file lacks double quotes around the %LOCALCLASSPATH% environment 
+ variable.  This causes problems if the user has spaces in their classpath.
+ 
+ For example, if the user's classpath contains "C:\Java Comm API\comm.jar" 
+ (without quotes), ant.bat ends up attempting to run...
+ 
+ java -classpath C:\Java Comm API\comm.jar ...
+ 
+ This ends up producing the following exception...
+ 
+ Exception in thread "main" java.lang.NoClassDefFoundError: Comm
\ No newline at end of file

Mime
View raw message