Package com.diffplug.gradle.pde
Class PdeInstallation
- java.lang.Object
-
- com.diffplug.gradle.pde.PdeInstallation
-
- All Implemented Interfaces:
EclipseRunner
public class PdeInstallation extends Object implements EclipseRunner
Wraps a PDE installation for the given eclipse release.
-
-
Constructor Summary
Constructors Constructor Description PdeInstallation(EclipseRelease release)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PdeInstallationfrom(EclipseRelease release)Returns an EclipseRunner for running PDE build against the given release.static PdeInstallationfromProject(Project project)Returns a PdeInstallation based on `GOOMPH_PDE_VER`, and other factors.EclipseAppproductBuildCmd(File buildDir)Returns a command which will execute the PDE builder for a product.voidrun(List<String> args)Runs the eclipse instance with the given arguments.
-
-
-
Constructor Detail
-
PdeInstallation
public PdeInstallation(EclipseRelease release)
-
-
Method Detail
-
fromProject
public static PdeInstallation fromProject(Project project)
Returns a PdeInstallation based on `GOOMPH_PDE_VER`, and other factors. You must specify which version of Eclipse should be used by Goomph. - Option #1: To use an officially supported release, use this: + `GOOMPH_PDE_VER`=4.5.2 (or any official release) - Option #2: To use any release (e.g. milestone, nightly, etc) + `GOOMPH_PDE_VER`=any version + `GOOMPH_PDE_UPDATE_SITE`=url to update site + `GOOMPH_PDE_ID`=the ID used for caching, cannot be a version listed in Option #1) You must do one or the other, specify only `VER` for Option #1, or specify `VER`, `UPDATE_SITE`, and `ID` for Option #2.
-
from
public static PdeInstallation from(EclipseRelease release)
Returns an EclipseRunner for running PDE build against the given release.
-
productBuildCmd
public EclipseApp productBuildCmd(File buildDir) throws Exception
Returns a command which will execute the PDE builder for a product.- Throws:
Exception
-
run
public void run(List<String> args) throws Exception
Description copied from interface:EclipseRunnerRuns the eclipse instance with the given arguments.- Specified by:
runin interfaceEclipseRunner- Throws:
Exception
-
-