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 37085] - problem refering jars specfied by Class-Path attribute in manifest of a ant task jar file, when this ant task jar file is located in a directory with space
Date Tue, 18 Oct 2005 18:32:00 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37085>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37085


ritesh.adval@sun.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |




------- Additional Comments From ritesh.adval@sun.com  2005-10-18 20:32 -------
This is an Ant Bug.
See:

protected void addPathFile(File pathComponent) method in 
org.apache.tools.ant.loader.AntClassLoader2

There it reads the Manifest and look for (Class-Path)

The problem is in this line

URL baseURL = fileUtils.getFileURL(pathComponent);
(search for above line. it is way down in addPathFile() method)


After FileUtils.getFileURL() the converted url has
%20 for white space (ex for c:\program%20file)
and because of this it is not working.

The problem is in conversion done by fileUtils.getFileURL(pathComponent);




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message