I would like to iterate through a fileset of Java classes and generate a
file based on mycustom.xdt template BUT only for those classes that contain
a custom tag; for instance, @mycustom.class.  I am generating files
correctly but want to ignore the untagged classes.  Can anyone tell me if
this is possible without writing my own plugin?  

This is the relevant portion of my Ant file.

<taskdef
    name="templatedoclet"
    classname="xdoclet.DocletTask"
    classpathref="xdoclet.classpath"
/>

<templatedoclet
    destdir="${gen.src.dir}"
    excludedtags="@version,@author"
>
        <fileset dir="${src.dir}">
                <include name="**/*.java" />
        </fileset>
        <template
            templateFile="mycustom.xdt"
            destinationfile="{0}.txt"
        />
</templatedoclet>

thanks
tim


-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to