Package com.diffplug.gradle.p2
Class P2AntRunner
- java.lang.Object
-
- com.diffplug.gradle.eclipserunner.EclipseApp
-
- com.diffplug.gradle.eclipserunner.EclipseApp.AntRunner
-
- com.diffplug.gradle.p2.P2AntRunner
-
public class P2AntRunner extends EclipseApp.AntRunner
Models an eclipse ant task which can be run by the P2 Bootstrapper. Other useful tasks are [here](https://help.eclipse.org/neon/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fp2_repositorytasks.htm). If the task you require isn't contained in the p2 bootstrapper, you can also run the task using a full PDE installation usingrunUsingPDE(Project)
orrunUsingPDE(EclipseRelease)
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.diffplug.gradle.eclipserunner.EclipseApp
EclipseApp.AntRunner
-
-
Field Summary
-
Fields inherited from class com.diffplug.gradle.eclipserunner.EclipseApp.AntRunner
ID
-
Fields inherited from class com.diffplug.gradle.eclipserunner.EclipseApp
args
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
P2AntRunner()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static P2AntRunner
create(String taskType, Action<groovy.util.Node> setup)
Creates an ant task of the given type, configued by the `setup` action.void
runUsingBootstrapper()
Runs this application, downloading a small bootstrapper if necessary.void
runUsingBootstrapper(Project project)
Runs this application, downloading a small bootstrapper if necessary.void
runUsingPDE(EclipseRelease release)
Runs this application, using PDE as specified byPdeInstallation.from(EclipseRelease)
.void
runUsingPDE(Project project)
Runs this application, using PDE as specified byPdeInstallation.fromProject(Project)
.-
Methods inherited from class com.diffplug.gradle.eclipserunner.EclipseApp.AntRunner
buildXml, completeState, define, defineToFile, runUsing, setTask
-
Methods inherited from class com.diffplug.gradle.eclipserunner.EclipseApp
addArg, addArg, clean, consolelog, toArgList, toString
-
-
-
-
Method Detail
-
create
public static P2AntRunner create(String taskType, Action<groovy.util.Node> setup)
Creates an ant task of the given type, configued by the `setup` action.
-
runUsingBootstrapper
public void runUsingBootstrapper() throws Exception
Runs this application, downloading a small bootstrapper if necessary.- Throws:
Exception
-
runUsingBootstrapper
public void runUsingBootstrapper(Project project) throws Exception
Runs this application, downloading a small bootstrapper if necessary.- Throws:
Exception
-
runUsingPDE
public void runUsingPDE(Project project) throws Exception
Runs this application, using PDE as specified byPdeInstallation.fromProject(Project)
.- Throws:
Exception
-
runUsingPDE
public void runUsingPDE(EclipseRelease release) throws Exception
Runs this application, using PDE as specified byPdeInstallation.from(EclipseRelease)
.- Throws:
Exception
-
-