public static class P2Model.DirectorApp extends EclipseApp
An extension of EclipseApp with typed methods appropriate for p2 director.
Created using P2Model.directorApp(File, String)
.
EclipseApp.AntRunner
args
Constructor and Description |
---|
DirectorApp() |
Modifier and Type | Method and Description |
---|---|
void |
bundlepool(File bundlePool)
Adds a
bundlepool argument. |
void |
installFeatures()
Sets a profile property to ensure that features are installed.
|
void |
platform(SwtPlatform platform)
Adds
p2.os , p2.ws , and p2.arch arguments. |
void |
profileProperty(String key,
String value)
Adds a profile property.
|
void |
roaming()
Adds the
roaming argument. |
void |
runUsing(EclipseRunner runner)
Runs this app using the given runner.
|
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 |
shared()
Adds the
shared argument. |
void |
shared(File shared) |
addArg, addArg, clean, completeState, consolelog, toArgList, toString
public void bundlepool(File bundlePool)
Adds a bundlepool
argument.
The location of where the plug-ins and features will be stored. This value is only taken into account when a new profile is created. For an application where all the bundles are located into the plugins/ folder of the destination, set it to <destination>
.
public void platform(SwtPlatform platform)
Adds p2.os
, p2.ws
, and p2.arch
arguments.
public void roaming()
Adds the roaming
argument.
Indicates that the product resulting from the installation can be moved. This property only makes sense when the destination and bundle pool are in the same location. This value is only taken into account when the profile is created.
public void shared()
Adds the shared
argument.
use a shared location for the install. The path defaults to ${user.home}/.p2.
public void installFeatures()
Sets a profile property to ensure that features are installed.
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 runUsing(EclipseRunner runner) throws Exception
EclipseApp
Runs this app using the given runner.
runUsing
in class EclipseApp
Exception