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 26570] - duplicate instances of interface com.sun.javadoc.RootDoc loaded
Date Wed, 04 Feb 2004 04:32:45 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=26570>.
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=26570

duplicate instances of  interface com.sun.javadoc.RootDoc loaded





------- Additional Comments From conor@cortexebusiness.com.au  2004-02-04 04:32 -------
Eric, let's rollback a bit. You have a custom task that you cannot change -
correct? This custom task launches Javadoc? I'm not really clear on the train of
events here - how it constructs its ClassLoader and how the task ends up loading
RootDoc. Is it using the context classloader? Not sure what your reference to
that implied.

Overall I would like to see your custom task just being loaded with a taskdef
containing a classpath of FooStuff.jar. It should not need tools.jar and ant.jar
as they should be available to the taskdef's parent classloader. IOW, you should
remove FooStuff.jar from your classpath and add a classpath to the taskdef.

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


Mime
View raw message