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 26625] - Class loader confliction between Ant and IBM websphere.
Date Wed, 04 Feb 2004 04:25:19 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26625>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

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

Class loader confliction between Ant and IBM websphere.





------- Additional Comments From conor@cortexebusiness.com.au  2004-02-04 04:25 -------
Your use of Ant is a little out of the ordinary which means I'm going to need
more info about your environment.

1. What are the taskdef's like? What classpaths are being used in the taskdefs?
Where are the jars for the taskdef being sourced from.

2. What is the classloader setup in the environment. How is the
CompoundClassLoader setup - what is the classloader relationship between this
loader and the classes used for Ant. A classloader delegation hierarchy would be
good to see.

3. How are the Ant classes such as Project, etc being loaded. What ClassLoader
is being used for that.

4. A stacktrace wouldn't go astray here so I can understand in what code the
problem is occuring and what is the class trace to their.

I've read some odd things about the IBM classloader
(http://crazybob.org/roller/page/crazybob/20040123#weird_class_loader_behavior_in)
but I'm not sure if something similar is happening here.

BTW to answer a point in your original post, Ant uses its own classloader
probably because you are taskdef'ing something with a classpath but I'm still
guessing there.

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


Mime
View raw message