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.AntRunner
ID
args
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, setTask
addArg, addArg, clean, consolelog, toArgList, toString
public 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.
Exception
public void runUsingBootstrapper(Project project) throws Exception
Runs this application, downloading a small bootstrapper if necessary.
Exception
public void runUsingPDE(Project project) throws Exception
Runs this application, using PDE as specified by PdeInstallation.fromProject(Project)
.
Exception
public void runUsingPDE(EclipseRelease release) throws Exception
Runs this application, using PDE as specified by PdeInstallation.from(EclipseRelease)
.
Exception