org.webmacro.tools
Class WMTemplateAntTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.webmacro.tools.WMTemplateAntTask
Direct Known Subclasses:
TemplateEvalAntTask

public class WMTemplateAntTask
extends org.apache.tools.ant.Task

Taskdef for validating WM templates

Author:
Brian Goetz

Field Summary
protected  java.util.Vector filesets
           
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
WMTemplateAntTask()
           
 
Method Summary
 void addFileset(org.apache.tools.ant.types.FileSet set)
           
 org.apache.tools.ant.types.Path createClasspath()
           
 void execute()
           
 org.apache.tools.ant.types.Path getClasspath()
           
protected  java.lang.String getMainClass()
          Subclasses should override this to supply their own template execution vehicle.
 void setClasspath(org.apache.tools.ant.types.Path classpath)
           
 void setClasspathRef(org.apache.tools.ant.types.Reference r)
           
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filesets

protected java.util.Vector filesets
Constructor Detail

WMTemplateAntTask

public WMTemplateAntTask()
Method Detail

addFileset

public void addFileset(org.apache.tools.ant.types.FileSet set)

setClasspath

public void setClasspath(org.apache.tools.ant.types.Path classpath)

getClasspath

public org.apache.tools.ant.types.Path getClasspath()

createClasspath

public org.apache.tools.ant.types.Path createClasspath()

setClasspathRef

public void setClasspathRef(org.apache.tools.ant.types.Reference r)

getMainClass

protected java.lang.String getMainClass()
Subclasses should override this to supply their own template execution vehicle.


execute

public void execute()
             throws org.apache.tools.ant.BuildException
Throws:
org.apache.tools.ant.BuildException