public class FindMainClass
extends org.apache.tools.ant.Task
Constructor and Description |
---|
FindMainClass(org.apache.tools.ant.Project project) |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
void |
setClassesRoot(File classesRoot)
Set the root location of classes to be searched.
|
void |
setMainClass(String mainClass)
Set the main class, which will cause the search to be bypassed.
|
void |
setProperty(String property)
Set the ANT property to set (if left unset, result will be printed to the log).
|
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 execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
public void setMainClass(String mainClass)
mainClass
- the main class namepublic void setClassesRoot(File classesRoot)
classesRoot
- the root locationpublic void setProperty(String property)
property
- the ANT property to set