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:20:36 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


antoine@apache.org changed:

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




------- Additional Comments From antoine@apache.org  2005-10-18 20:20 -------
OK, I have downloaded your attachments and tested what you say.

I can summarize your problem as follow :

1) you have a jar containing a custom ant task called "AntTaskLibrary.jar"

2) this jar says in his manifest that it wants to load
"ext/AntTaskDepedentLibrary.jar"

3) in your buildfile, you taskdef your custom AntTestTask using a classpath
containing only "AntTaskLibrary.jar"

you rely on the feature that a jar will tell the class loader to also load jars
listed in the Class-Path manifest attribute

4) the problem is that this works as long as "AntTaskLibrary.jar" is in a
directory whose name does not include spaces

5) I can confirm that this is an issue, but I doubt this is an ant issue

6) Sounds more like a Java Bug. I would look for this in the Bug parade. For
your info, I have tested your problem using  1.5.0_04-b05.

I will close this problem report as invalid, since the problem does exist, but
it is not caused by ant.

Cheers,

Antoine

-- 
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