Hi,

I'm trying to get going with xdoclet, and the best tutorial I seem to be able to find is the IBM (below).

But no matter what I do, I keep getting the error...
[webdoclet] Make sure the jar file containing the javax.servlet.Servlet class is
on the classpath specified in the <taskdef> that defined webdoclet. These class
es are needed in order to generate correct output.


But I've got the build properties set up fine. In fact I've spent a lot of time now reading ant doco and I've tried specifying the classpath for the taskdef in about ten different ways, double and triple checking that javax.servlet.Servlet is indeed in the classpath in each case. But no matter what I do, same result.

Here is a fragment from my build.xml file, which should pick up the servlet-api.jar in jboss....

.....
<target name="generateDD">
<taskdef name="webdoclet"
classname="xdoclet.modules.web.WebDocletTask">
<classpath>
<fileset dir="c:/downloads/jboss-3.2.4/server/default/deploy/jbossweb-tomcat50.sar">
<include name="*.jar"/>
</fileset>
</classpath>
</taskdef>
<webdoclet ......etc


I'm using ant 1.6.1, xdoclet 1.2.1, jboss 3.2.4.


https://www6.software.ibm.com/developerworks/education/ws-j2x/ws-j2x-2-11.html




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to