ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 2348] New: - Problem with classpath assignment in ant.bat
Date Wed, 27 Jun 2001 08:58:24 GMT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2348

*** shadow/2348	Wed Jun 27 01:58:24 2001
--- shadow/2348.tmp.1089	Wed Jun 27 01:58:24 2001
***************
*** 0 ****
--- 1,25 ----
+ +============================================================================+
+ | Problem with classpath assignment in ant.bat                               |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2348                        Product: Ant                     |
+ |       Status: NEW                         Version: 1.3                     |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Normal                   OS/Version: Windows NT/2K           |
+ |     Priority: Other                     Component: Wrapper scripts         |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: ant-dev@jakarta.apache.org                                   |
+ |  Reported By: jeppecramon@proactive.dk                                     |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ The line 
+    set LOCALCLASSPATH=%CLASSPATH% 
+ should be changed to 
+    set LOCALCLASSPATH="%CLASSPATH%" 
+ as it was in version 1.2 of the "ant.bat" file.
+ If it isn't, java.exe will complain about not being able to find the main 
+ function inside parts of the classpath, given that the classpath contains 
+ path's with spaces inside the, ie. C:\Program Files\SQLLIB\java\sqlj.zip. 
+ Adding the quotes to the set LOCALCLASSPATH line fixes the problem.
\ No newline at end of file

Mime
View raw message