public static class EclipseApp.AntRunner extends EclipseApp
Models the org.eclipse.ant.core.antRunner
application, including its build.xml
.
EclipseApp.AntRunner
Modifier and Type | Field and Description |
---|---|
static String |
ID |
args
Constructor and Description |
---|
AntRunner() |
Modifier and Type | Method and Description |
---|---|
protected String |
buildXml()
Returns the underlying buildXml.
|
String |
completeState()
Includes the full state of both the args and the build.xml.
|
void |
define(String key,
String value)
Defines a property for the ant task.
|
void |
defineToFile(String key,
File value)
Defines a property to a file for the ant task.
|
void |
runUsing(EclipseRunner runner)
Saves the buildfile to a temporary file, runs the task, then deletes it.
|
void |
setTask(groovy.util.Node taskNode)
Sets the XML task node which will be called by this ant task.
|
addArg, addArg, clean, consolelog, toArgList, toString
public static final String ID
public void runUsing(EclipseRunner runner) throws Exception
Saves the buildfile to a temporary file, runs the task, then deletes it.
runUsing
in class EclipseApp
Exception
public void setTask(groovy.util.Node taskNode)
Sets the XML task node which will be called by this ant task.
public void defineToFile(String key, File value)
Defines a property to a file for the ant task.
protected String buildXml()
Returns the underlying buildXml.
public String completeState()
Includes the full state of both the args and the build.xml.
completeState
in class EclipseApp