Class TaskDefHelper
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- org.apache.tools.ant.taskdefs.AntlibDefinition
-
- org.apache.tools.ant.taskdefs.DefBase
-
- org.apache.tools.ant.taskdefs.Definer
-
- org.apache.tools.ant.taskdefs.Typedef
-
- org.apache.tools.ant.taskdefs.Taskdef
-
- net.ggtools.grand.ant.taskhelpers.TaskDefHelper
-
- All Implemented Interfaces:
Cloneable
public class TaskDefHelper extends org.apache.tools.ant.taskdefs.Taskdef
Task helper forcingtaskdef
task to ignore class path problems. This works by setting error to report and overriding theDefiner.setOnError(org.apache.tools.ant.taskdefs.Definer.OnError)
not to change anything. This is a crude hack for ticket #79 and there is probably a cleaner way to do it.- Author:
- Christophe Labouisse
-
-
Constructor Summary
Constructors Constructor Description TaskDefHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setOnError(org.apache.tools.ant.taskdefs.Definer.OnError onError)
Method setOnError.-
Methods inherited from class org.apache.tools.ant.taskdefs.Definer
addDefinition, execute, getClassname, getFile, getName, getResource, loadProperties, makeResourceFromURI, setAdapter, setAdapterClass, setAdaptTo, setAdaptToClass, setAntlib, setClassname, setFile, setFormat, setName, setResource, setRestrict
-
Methods inherited from class org.apache.tools.ant.taskdefs.DefBase
createClasspath, createLoader, getClasspath, getClasspathId, getLoaderId, hasCpDelegate, init, isReverseLoader, setClasspath, setClasspathRef, setLoaderRef, setReverseLoader
-
Methods inherited from class org.apache.tools.ant.taskdefs.AntlibDefinition
getAntlibClassLoader, getURI, setAntlibClassLoader, setURI
-
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
-
-