org.codehaus.annogen.generate
Class AnnogenTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.codehaus.annogen.generate.AnnogenTask
public class AnnogenTask
- extends org.apache.tools.ant.Task
Ant task which generates AnnoBeans.
- Author:
- Patrick Calahan <email: codehaus-at-bea-dot-com>
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 |
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 |
AnnogenTask
public AnnogenTask()
setOutputDir
public void setOutputDir(java.io.File f)
- Sets the directory into which source files should be generated.
- Parameters:
f
-
setSrcdir
public void setSrcdir(org.apache.tools.ant.types.Path srcDir)
- Set the source directories to find the source Java files.
setIncludes
public void setIncludes(java.lang.String includes)
- Includes source files matching the given patten. Pattern is relative
to srcDir.
setImplementAnnotationTypes
public void setImplementAnnotationTypes(boolean b)
setToolpath
public void setToolpath(org.apache.tools.ant.types.Path path)
setToolpathRef
public void setToolpathRef(org.apache.tools.ant.types.Reference r)
createToolpath
public org.apache.tools.ant.types.Path createToolpath()
setClasspath
public void setClasspath(org.apache.tools.ant.types.Path path)
setClasspathRef
public void setClasspathRef(org.apache.tools.ant.types.Reference r)
createClasspath
public org.apache.tools.ant.types.Path createClasspath()
execute
public void execute()
throws org.apache.tools.ant.BuildException
- Overrides:
execute
in class org.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException