Hi*! I am trying to use Webdoclet for my webapplication to generate 'web.xml' and 'sun-web.xml'. Here is how the task for Webdoclet looks like in my build.xml file for the project...
<target name="gen-web"> <taskdef name="webdoclet" classname="xdoclet.modules.web.WebDocletTask" classpathref="xdoclet.lib.path"/> <!-- Generate servlet and JSP Tag "stuff" --> <webdoclet destdir="${web.deployment.dir}" force = "true" > <fileset dir="${src}/tools/CustomerChecker/frontend/"> <include name="**/customerChecker.java" /> </fileset> <deploymentdescriptor destdir="${web.deployment.dir}" displayname="customerChecker" sessiontimeout="30" distributable="false" /> </webdoclet> </target> And the customerChecker.java (a servelet) file contains XDoclet tags like... /** * * @web:servlet * name="customerChecker" * @web:servlet-mapping * url-pattern="/*" * */ The problem is that xdoclet ignores the property values altogether in the above java file. The web.xml file generated just contains 'sessiontimeout' and 'displayname' that are defined in the build.xml in <deploymentdescriptor> tag, & none of those properties defined in java file as XDoclet tags are used. Anyone knows what am I doing wrong here??? Thanks for your time, Regards, Usman. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user