Volker Krebs wrote:
Erik Hatcher wrote:

Specify all your classpath needs on the <taskdef> for webdoclet. This was done to leverage (get around issues with? :) Ant's classloader.

I have done this, but still the class can't be found. The class can only be found if I put it into {ant.home}/lib
Even the -debug option gives me only this ClassNotFound Exception. And I'm quit sure this class is in struts.jar :)

All the task are working fine, the web.xml and struts-config are generated correctly, it is just the Exception that doesn't look very nice.
Oh..... sorry I missed that everything is generating fine.

This is a known issue with Struts (or any other libraries that have static initializers). XDoclet uses Class.forName() to load classes and Struts does some container-dependent stuff in static sections which causes ugly XDoclet output. Just get used to it and ignore it for now (we've been living with this for quite a while and as long as things build fine we're happy!).

Eventually this could be alleviated by using BCEL under the covers instead of loading classes the current way.

Erik




-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to