Feature Requests item #464782 is handled. So hereafter you can do
something like this, instead of creating SubTask/DocletTask-derived
classes to make your template run. Note that currently only template
tags defined in SubTask are useable, till v1.1 where all other tags
(ejb/web/etc) will also be callable out of context.

      <taskdef name="templatedoclet"
               classname="xdoclet.DocletTask"
classpath="${xdoclet.jar.path};${log4j.jar.path};${ant.jar.path}"
      />

      <templatedoclet
         sourcepath="${java.dir}"
         destdir="${generated.java.dir}"
         classpathref="project.class.path"
         excludedtags="@version,@author"
         >

         <fileset dir="${java.dir}">
            <include name="**/*Bean.java" />
         </fileset>
         
         <template
            templateFile="/mytemplate.j"
            destinationfile="hhhh.txt">
         </template>

      </templatedoclet>

Ara.


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to