Class EclipseApp.AntRunner
- java.lang.Object
-
- com.diffplug.gradle.eclipserunner.EclipseApp
-
- com.diffplug.gradle.eclipserunner.EclipseApp.AntRunner
-
- Direct Known Subclasses:
P2AntRunner
- Enclosing class:
- EclipseApp
public static class EclipseApp.AntRunner extends 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
Fields Modifier and Type Field Description static StringID-
Fields inherited from class com.diffplug.gradle.eclipserunner.EclipseApp
args
-
-
Constructor Summary
Constructors Constructor Description AntRunner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringbuildXml()Returns the underlying buildXml.StringcompleteState()Includes the full state of both the args and the build.xml.voiddefine(String key, String value)Defines 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 Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
runUsing
public void runUsing(EclipseRunner runner) throws Exception
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.
-
defineToFile
public void defineToFile(String key, File value)
Defines a property to a file for the ant task.
-
buildXml
protected String buildXml()
Returns the underlying buildXml.
-
completeState
public String completeState()
Includes the full state of both the args and the build.xml.- Overrides:
completeStatein classEclipseApp
-
-