--- "Clifton C. Craig" <[EMAIL PROTECTED]> wrote: > Hello, > > I've been trying to use the XJavadoc task shipped in > the xjavadoc jar > with XDoclet via one of my custom tasks. This may > sound like more of an > Ant question but I'm sure there's an expert out > there that can help me. > What I'm doing is defining a custom task as an > extension of the > XJavadocTask. I then compile and jar this extension > and define it via a > taskdef element in my build. The taskdef element > includes a classpath > which references my custom tasks jar and the > xjavadoc jar. When I run my > build Ant complains that it cannot find the xjavadoc > classes that my > custom task directly reference. So now I say, > "what's the deal?" Do I > have to jar my classes in the SAME jar as XJavadoc > and point the taskdef > to this jar? It works if I copy the xjavadoc jar > into the ant/lib folder > but I thought I read some where that you shouldn't > place XDoclet jars > under ant/lib. I couldn't just copy that one jar > there and live with it. > I'd have to copy everything from XDoclet if only for > the consistency of > my app. Can someone tell me how you're supposed to > use this stuff? >
putting jars into ants lib directory is a big no no. ( unless you are calling for trouble and obscure classloading problems ) can you show your build.xml ? errors? regards, ===== ----[ Konstantin Pribluda ( ko5tik ) ]---------------- Zu Verst�rkung meines Teams suche ich ab Sofort einen Softwareentwickler[In] f�r die Festanstellung. Arbeitsort: Mainz Skills: Programieren, Kentnisse in OpenSource-Bereich ----[ http://www.pribluda.de ]------------------------ __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
