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
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 using
runUsingPDE(Project) or runUsingPDE(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
IDFields inherited from class com.diffplug.gradle.eclipserunner.EclipseApp
args -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic P2AntRunnerCreates an ant task of the given type, configued by the `setup` action.voidRuns this application, downloading a small bootstrapper if necessary.voidrunUsingBootstrapper(Project project) Runs this application, downloading a small bootstrapper if necessary.voidrunUsingPDE(EclipseRelease release) Runs this application, using PDE as specified byPdeInstallation.from(EclipseRelease).voidrunUsingPDE(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, setTaskMethods inherited from class com.diffplug.gradle.eclipserunner.EclipseApp
addArg, addArg, clean, consolelog, toArgList, toString
-
Constructor Details
-
P2AntRunner
protected P2AntRunner()
-
-
Method Details
-
create
Creates an ant task of the given type, configued by the `setup` action. -
runUsingBootstrapper
Runs this application, downloading a small bootstrapper if necessary.- Throws:
Exception
-
runUsingBootstrapper
Runs this application, downloading a small bootstrapper if necessary.- Throws:
Exception
-
runUsingPDE
Runs this application, using PDE as specified byPdeInstallation.fromProject(Project).- Throws:
Exception
-
runUsingPDE
Runs this application, using PDE as specified byPdeInstallation.from(EclipseRelease).- Throws:
Exception
-