Re: ant build problem

Andrew Stevens <[email protected]>
Newsgroups gmane.comp.java.xdoclet.user
Message-ID <[email protected]>
On Fri, 2006-07-28 at 19:46, gmachamer wrote:
> I'm running xdoclet as part of an any build that generates my java classes. 
> My taskDef looks like this
> 
> <taskdef name="webdoclet" classname="xdoclet.modules.web.WebDocletTask"
> classpathref="mergeClasspath" />
> 
> But when it tries to run I get the following error.
> file:C:/Velocity/source/antScripts/build.xml:332: taskdef class
> xdoclet.modules.web.WebDocletTask cannot be found
> 
> Obviously it looks like I'm missing a jar file somewhere.. but I can't seem
> to figure out what I am missing.
> 
> I do have the J2EE jar with Javax/servlet included in my xdoclet/lib folder. 
> Any ideas what I could be missing?

Well, for some reason it can't find either the WebDocletTask class or
something it depends on.  The only likely dependency I can think of for
that module is the J2EE classes, but you say they're already present.

Can you post the part of your Ant script that defines mergeClasspath?


Andrew.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.