-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Giuseppe Sarno
Sent: Friday, April 07, 2006 10:12 AM
To: xdoclet-user@lists.sourceforge.net
Subject: [Xdoclet-user] Web.xml is not filled in with info.Hi I'm having a problem running Xdoclet from ant:
Ant ver = 1.6.*
Xdoclet = 1.2.2This 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="@xdoclet-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"
*/
**********************************************************************
This e-mail is the property of Enron Corp. and/or its relevant affiliate and may contain confidential and privileged material for the sole use of the intended recipient (s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender or reply to Enron Corp. at [EMAIL PROTECTED] and delete all copies of the message. This e-mail (and any attachments hereto) are not intended to be an offer (or an acceptance) and do not create or evidence a binding and enforceable contract between Enron Corp. (or any of its affiliates) and the intended recipient or any other party, and may not be relied on by anyone as the basis of a contract by estoppel or otherwise. Thank you.
**********************************************************************