Hello,

I've been working with xdoclet several months(EJB stuff). Now I want it to
generate my web.xml file descriptor
but it generates an empty file(not empty to be exact the file have a lot of
comments about xdoclet and opens and closes the web-app tag),
can somebody tell me what I am doing wrong,  or send me an example of use of
webdoclet.

I have only a filter class with this tags:
---------------------------------------
* @web.filter
*      name = "MainFilter"
*      display-name = "Filtre principal"
* @web.filter-init-param
*      name = "param1"
*      value = "value1"
* @web.filter-mapping
*      url-mapping = "/*"
* @web.env-entry
*      name = "NomEcampus"
*      type = "java.lang.String"
*      value = "${ecampus.name}"
---------------------------------------
thats what I do in my build.xml

---------------------------------------

 <target name="genera-webdoclet" depends="init">
  <taskdef
   name="webdoclet"
   classname="xdoclet.modules.web.WebDocletTask"
   classpathref="base.path"
  >
  </taskdef>
  <webdoclet
   destdir="${gen-src.dir}"
   excludedtags="@version,@author"
   force="${xdoclet.force}"
  >

   <fileset dir="${src.dir}">
    <include name="**/*Filter.java,*/**Servlet.java"/>
   </fileset>

   <deploymentdescriptor
    destdir="${build.war.dir}/WEB-INF"
    xmlencoding="ISO-8859-1"
    taglib=
   >

   </deploymentdescriptor>

  </webdoclet>
 </target>

---------------------------------------
Thanks in advance

- Jordi



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to