Part of build.xml

  <target name="web.doclet" depends="init">
        <taskdef name="webdoclet"
           classname="xdoclet.modules.web.WebDocletTask"
           classpathref="xdoclet.class.path"/>  
         
        <webdoclet destdir="${build.dir}/WEB-INF"
           mergedir="${xdoclet.merge.dir}/web">
          
          <fileset dir="${web.dir}" includes="**/*Base.java" />
           <fileset dir="${web.dir}" includes="**/*Filter.java" />
           <fileset dir="${web.dir}" includes="**/*Servlet.java" />
           <fileset dir="${web.dir}" includes="**/*Tag.java" />
          
          <jsptaglib validatexml="true"
            filename="hext.tld"
            shortname="hext" />

          <deploymentdescriptor>
              <taglib
                    uri="hext"
                    location="/WEB-INF/hext.tld" />
          </deploymentdescriptor>
           <jbosswebxml />
         </webdoclet>     
  </target>


The generated hext.tld file

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd";>

<taglib>

   <tlib-version>1.0</tlib-version>
   <jsp-version>1.2</jsp-version>
   <short-name>hext</short-name>

</taglib>



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to