Package com.diffplug.gradle.p2
Class P2Model.DirectorApp
java.lang.Object
com.diffplug.gradle.eclipserunner.EclipseApp
com.diffplug.gradle.p2.P2Model.DirectorApp
- Enclosing class:
- P2Model
An extension of EclipseApp with typed methods appropriate for p2 director.
Created using
P2Model.directorApp(File, String).-
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
args -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbundlepool(File bundlePool) Adds a `bundlepool` argument.voidSets a profile property to ensure that features are installed.voidplatform(com.diffplug.common.swt.os.SwtPlatform platform) Adds `p2.os`, `p2.ws`, and `p2.arch` arguments.voidprofileProperty(String key, String value) Adds a profile property.voidroaming()Adds the `roaming` argument.voidrunUsing(EclipseRunner runner) Runs this app using the given runner.voidRuns this application, downloading a small bootstrapper if necessary.voidrunUsingBootstrapper(Project project) Runs this application, downloading a small bootstrapper if necessary.voidshared()Adds the `shared` argument.voidMethods inherited from class com.diffplug.gradle.eclipserunner.EclipseApp
addArg, addArg, clean, completeState, consolelog, toArgList, toString
-
Constructor Details
-
DirectorApp
public DirectorApp()
-
-
Method Details
-
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 ``. -
platform
public void platform(com.diffplug.common.swt.os.SwtPlatform platform) Adds `p2.os`, `p2.ws`, and `p2.arch` arguments. -
roaming
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. -
profileProperty
Adds a profile property. -
installFeatures
public void installFeatures()Sets a profile property to ensure that features are installed. -
runUsingBootstrapper
Runs this application, downloading a small bootstrapper if necessary.- Throws:
Exception
-
runUsingBootstrapper
Runs this application, downloading a small bootstrapper if necessary.- Throws:
Exception
-
runUsing
Description copied from class:EclipseAppRuns this app using the given runner.- Overrides:
runUsingin classEclipseApp- Throws:
Exception
-