Class EclipseApp.AntRunner
java.lang.Object
com.diffplug.gradle.eclipserunner.EclipseApp
com.diffplug.gradle.eclipserunner.EclipseApp.AntRunner
- Direct Known Subclasses:
P2AntRunner
- Enclosing class:
- EclipseApp
Models the `org.eclipse.ant.core.antRunner` application, including its `build.xml`.
[Ant task documentation](https://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fp2_repositorytasks.htm)
-
Nested Class Summary
Nested classes/interfaces inherited from class com.diffplug.gradle.eclipserunner.EclipseApp
EclipseApp.AntRunner -
Field Summary
FieldsFields inherited from class com.diffplug.gradle.eclipserunner.EclipseApp
args -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringbuildXml()Returns the underlying buildXml.Includes the full state of both the args and the build.xml.voidDefines a property for the ant task.voiddefineToFile(String key, File value) Defines a property to a file for the ant task.voidrunUsing(EclipseRunner runner) Saves the buildfile to a temporary file, runs the task, then deletes it.voidsetTask(groovy.util.Node taskNode) Sets the XML task node which will be called by this ant task.Methods inherited from class com.diffplug.gradle.eclipserunner.EclipseApp
addArg, addArg, clean, consolelog, toArgList, toString
-
Field Details
-
ID
- See Also:
-
-
Constructor Details
-
AntRunner
public AntRunner()
-
-
Method Details
-
runUsing
Saves the buildfile to a temporary file, runs the task, then deletes it.- Overrides:
runUsingin classEclipseApp- Throws:
Exception
-
setTask
public void setTask(groovy.util.Node taskNode) Sets the XML task node which will be called by this ant task. -
define
Defines a property for the ant task. -
defineToFile
Defines a property to a file for the ant task. -
buildXml
Returns the underlying buildXml. -
completeState
Includes the full state of both the args and the build.xml.- Overrides:
completeStatein classEclipseApp
-