ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 2993] New: - Ant creates an absolute path with spaces in it (not quoted)
Date Sun, 05 Aug 2001 17:17:35 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=2993

*** shadow/2993	Sun Aug  5 10:17:34 2001
--- shadow/2993.tmp.24621	Sun Aug  5 10:17:35 2001
***************
*** 0 ****
--- 1,36 ----
+ +============================================================================+
+ | Ant creates an absolute path with spaces in it (not quoted)                |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2993                        Product: Ant                     |
+ |       Status: NEW                         Version: 1.1                     |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Critical                 OS/Version: Windows NT/2K           |
+ |     Priority: Other                     Component: Core tasks              |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: ant-dev@jakarta.apache.org                                   |
+ |  Reported By: ecooper@ergotech.com                                         |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ When a path is passed to JavaC (or Jikes) which contains a space (valid in 
+ Windows) Java just quits (stops the command line entry at the space). This is a 
+ problem when a third party application that is using ant to build class files is 
+ installed in the default Windows programs directory (Program Files). 
+ 
+ We are passing only relative paths (relative to the installation directory)to 
+ all the ant batch files to avoid this problem as much as possible, but ant is 
+ going back to the root of the drive and creating a path that includes c:\Program 
+ Files\ etc.... 
+ 
+ You either need to put this directory passed to Java into quotes or stop 
+ appending the directory path back to the root.
+ 
+ Right now we have to make people who use our installer not use the default 
+ location for windows program files or everything messes up. 
+ 
+ You may let us know where in the code this is happening and we will be happy to 
+ fix it and test it.
+ 
+ Thanks.
\ No newline at end of file

Mime
View raw message