public class PdeInstallation extends Object implements EclipseRunner
Wraps a PDE installation for the given eclipse release.
Constructor and Description |
---|
PdeInstallation(EclipseRelease release) |
Modifier and Type | Method and Description |
---|---|
static PdeInstallation |
from(EclipseRelease release)
Returns an EclipseRunner for running PDE build against the given release.
|
static PdeInstallation |
fromProject(Project project)
Returns a PdeInstallation based on
GOOMPH_PDE_VER , and other factors. |
EclipseApp |
productBuildCmd(File buildDir)
Returns a command which will execute the PDE builder for a product.
|
void |
run(List<String> args)
Runs the eclipse instance with the given arguments.
|
public PdeInstallation(EclipseRelease release)
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
=GOOMPH_PDE_UDPATE_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.
public static PdeInstallation from(EclipseRelease release)
Returns an EclipseRunner for running PDE build against the given release.
public EclipseApp productBuildCmd(File buildDir) throws Exception
Returns a command which will execute the PDE builder for a product.
Exception
public void run(List<String> args) throws Exception
EclipseRunner
Runs the eclipse instance with the given arguments.
run
in interface EclipseRunner
Exception