public class RunTargetTask
extends org.apache.tools.ant.Task
Constructor and Description |
---|
RunTargetTask() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
execute the target
|
void |
setTarget(java.lang.String target)
The target attribute
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public void setTarget(java.lang.String target)
target
- the name of a target to executepublic void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
- if a target is not specified