View Javadoc
1 package xdoclet.sdk.ant; 2 3 import xdoclet.plugins.VelocityPlugin; 4 5 /*** 6 * Plugin that 7 * 8 * @bean.class name="antdoc" 9 * displayName="antdoc" 10 * shortDescription="Generates task.xml file for Ant tasks." 11 * 12 * @bean.attribute name="xdoclet-class" value="xdoclet.sdk.ant.AntDoclet" 13 * 14 * @author <a href="mailto:aslak.hellesoy at bekk.no">Aslak Hellesøy</a> 15 * @version $Revision: 1.1 $ 16 */ 17 public class AntDocPlugin extends VelocityPlugin { 18 public AntDocPlugin() { 19 // We accept all classes that are subclasses of xdoclet.Plugin 20 createAccept().setPredicate(new AntTaskPredicate()); 21 22 // we only have one version, so hard code it for simplicity. see project.properties 23 setTemplatePath("xdoclet/sdk/ant/task.xml.vm"); 24 setFileName("{1}.{0}.xml"); 25 } 26 }

This page was automatically generated by Maven