I am trying to upgrade to the current version of
xdoclet.  We have been using a version that someone
setup 3 years ago of WebDocletTask in our ant build.

I have switched to the newer package name and updated
some of the out of date attributes.  It is grabbing
all the other files that go into the web.xml just
fine.  It is even parsing the correct servlets because
there
were a few of them that needed to be cleaned up to get
them to parse.  I just get no <servlet> or
<servlet-mapping> tags in my final web.xml.  I think
my tags are still set up correctly.

/**
 *
 * @web.servlet
 *     name="HndCommercial"
 *     display-name="HndCommercial"
 *     load-on-startup="0"
 *
 * @web.servlet-mapping
 *     url-pattern="/HndCommercial"
 *
 */


and the ant target seems to run ok (although we have
never gotten the classpath attribute to work right and
have had to dump the servlet jars in the ant lib
directory):

<taskdef name="webdoclet" classpath="${cp}"
classname="xdoclet.modules.web.WebDocletTask"/>
<webdoclet destdir="${dest.jsp}/WEB-INF"
            mergedir="${app}/mergexml/${config}"
            excludedtags="@version,@author,@todo"
            force="${xdoclet.force}" >

            <fileset
dir="${app}/src/com/mycomp/${app}/servlets">
                <include name="**/*.java" />
                <exclude name="**/Base*.java" />
            </fileset>

            <fileset
dir="shared/src/com/mycomp/shared/filters">
                <include name="${filters.include}" />
                <exclude name="${filters.exclude}" />
            </fileset>

            <deploymentdescriptor servletspec="2.3"
destdir="${dest.jsp}/WEB-INF" sessiontimeout="480"
distributable="y"/>
        </webdoclet>


Anything obvious I am doing wrong, or something I can
do to get more information?  I tried the verbose tag
and didn't see any more information than I did before.

Thanks!


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
xdoclet-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to