Web.xml is not filled in with info.

"Giuseppe Sarno" <[email protected]>
Newsgroups gmane.comp.java.xdoclet.user
Message-ID <B03A52266C74544CA7C8CDB507AC531404F9907D@zharhxm1.corp.nortel.com>
Hi I'm having a problem running Xdoclet from ant:

Ant ver = 1.6.*
Xdoclet = 1.2.2

This is my target


<target name="webdoclet">
    
    <taskdef name="webdoclet"
classname="xdoclet.modules.web.WebDocletTask"
classpathref="xdoclet.class.path"/>
    
        <webdoclet excludedTags="@version,@author,@todo"
destDir="${build.war.root}/WEB-INF"  verbose="true"  addedTags="@xdocle
t-generated at ${TODAY},@copyright The XDoclet Team,@author
XDoclet,@version ${version}" >
                <fileset dir="${servlet.dir}"
includes="WebAuthenticator.java" >
                </fileset>
                <deploymentdescriptor Servletspec="2.4"
destDir="${build.war.root}/WEB-INF" >
                </deploymentdescriptor>
                <jsptaglib Jspversion="1.2"  shortname="j2ee"
destDir="${build.war.root}/WEB-INF" >
                </jsptaglib>
                <jbosswebxml Version="4.0"
destDir="${build.war.root}/WEB-INF" >
                </jbosswebxml>
        </webdoclet>

The resulting web.xml is filled in with default info (all commented out)
and is not created with any info from my servlet.

What am I missing ?

Note:

<fileset dir="${servlet.dir}"  includes="WebAuthenticator.java" >
                </fileset>

Seems ok.

Tags:
/**
 * Servlet Class
 * @jboss-web.context-root   name="/security"
 * @web.servlet              name="WebAuthenticator"
 *                           display-name="Name for WebAuthenticator"
 *                           description="Description for
WebAuthenticator"
 * @web.servlet-mapping      url-pattern="/Authenticator"
 * @web.servlet-init-param   name="A parameter"
 *                           value="A value"
 */
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.