Hi guys,

I am trying to generate web.xml descriptor for servlets.
It works fine if servlet directly descends from HttpServlet.

But in case it extends JUnitEEServlet then only servlet mapping tag is 
produced and the servlet tag is missing.

I did read the manual and browse the mailing list archives. It suggests I 
should include junitee.jar (containing JUnitEEServlet.class) in the 
webdoclet.

So I did like this: 

        <taskdef name="webdoclet" classname="xdoclet.modules.web.WebDocletTask">
                <classpath>
                        <fileset dir="${xdoclet.lib.dir}">
                                <include name="*.jar"/>
                        </fileset>
                        <pathelement 
path="/usr/local/jboss/server/default/lib/javax.servlet.jar"/>
                        <pathelement path="/usr/local/junitee/lib/junitee.jar"/>
                </classpath>
        </taskdef>


it still does not generate servlet tag in web.xml

I even copied junitee.jar to xdoclet/lib no luck

Any ideas?

Thanks,

Kaz




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to