I was wondering if anyone had an example use of the template tag ?
I can get it to work, but it appears that is gets passed the root of the
JavaDoc run, where I was expecting to be able to apply a template to each
individual class/interface
I realize I can do this by changing the fileset, but I was wondering if
perhaps I was using the <temaplate/> tag incorrectly
I have something like this :
<ejbdoclet
sourcepath="${java.dir}"
destdir="${generated.java.dir}"
classpathref="project.class.path"
excludedtags="@version,@author"
ejbspec="2.0">
<fileset dir="${java.dir}">
<include name="**/*Bean.java" />
</fileset>
<template destinationFile="MyFile.java"
templateFile="MyTemplate.j"/>
</ejbdoclet>
Basically I just want to apply a customer template to a large number of Java
files that already have the custom javadoc tags in them
I realize also I could create a custom Doclet task of SubTasb, but I can see
an easy way to hook additional subtasks into an existing doclet, looks like
I'd have to write my own top-level Ant Task (styled on something like
webdoclet)
I am way off track ?
Also is there any plan to support Ant Mappers to enable the specification of
output file names ?
Thanks,
Matthew
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user