public class P2AntRunner extends EclipseApp.AntRunner
Models an eclipse ant task which can be run by the P2 Bootstrapper.
Other useful tasks are here.
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).
EclipseApp.AntRunnerIDargs| Modifier | Constructor and Description |
|---|---|
protected |
P2AntRunner() |
| Modifier and Type | Method and 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 by
PdeInstallation.from(EclipseRelease). |
void |
runUsingPDE(Project project)
Runs this application, using PDE as specified by
PdeInstallation.fromProject(Project). |
buildXml, completeState, define, defineToFile, runUsing, setTaskaddArg, addArg, clean, consolelog, toArgList, toStringpublic static P2AntRunner create(String taskType, Action<groovy.util.Node> setup)
Creates an ant task of the given type, configued by the setup action.
public void runUsingBootstrapper()
throws Exception
Runs this application, downloading a small bootstrapper if necessary.
Exceptionpublic void runUsingBootstrapper(Project project) throws Exception
Runs this application, downloading a small bootstrapper if necessary.
Exceptionpublic void runUsingPDE(Project project) throws Exception
Runs this application, using PDE as specified by PdeInstallation.fromProject(Project).
Exceptionpublic void runUsingPDE(EclipseRelease release) throws Exception
Runs this application, using PDE as specified by PdeInstallation.from(EclipseRelease).
Exception