public class AbstractPdeBuildTask extends AbstractProjectBasedTask
Abstract base class for PDE build tasks.
Modifier and Type | Field and Description |
---|---|
protected java.io.File |
_targetPlatformLocation
the target location
|
Constructor and Description |
---|
AbstractPdeBuildTask() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
containsTarget(java.lang.String targetName) |
protected void |
executeSequential(java.util.List tasks)
Executes the list of tasks.
|
java.io.File |
getTargetPlatformLocation()
Returns the target platform against which the workspace plugins will be compiled and tested.
|
protected boolean |
isTarget(java.lang.String targetName)
Returns
true if a target with the given name exists in the current project. |
boolean |
isTargetPlatformLocationSet()
Returns whether the target platform location is set.
|
void |
setTargetPlatformLocation(java.io.File targetPlatformLocation)
Sets the target platform against which the workspace plugins will be compiled and tested.
|
ensureJavaProject, getEclipseProject, getWorkspace, hasText, isProjectNameSet, isProjectSet, isWorkspaceSet, requireWorkspaceAndProjectNameOrProjectSet, requireWorkspaceSet, setInitialiseWorkspace, setProject, setProjectName, setWorkspace
protected java.io.File _targetPlatformLocation
public final java.io.File getTargetPlatformLocation()
Returns the target platform against which the workspace plugins will be compiled and tested.
public final void setTargetPlatformLocation(java.io.File targetPlatformLocation)
Sets the target platform against which the workspace plugins will be compiled and tested.
targetPlatformLocation
- the target platform against which the workspace plugins will be compiled and tested.public final boolean isTargetPlatformLocationSet()
Returns whether the target platform location is set.
protected final boolean isTarget(java.lang.String targetName)
Returns true
if a target with the given name exists in the current project.
targetName
- the name of the target.protected final void executeSequential(java.util.List tasks)
Executes the list of tasks.
tasks
- the list of tasks.protected final boolean containsTarget(java.lang.String targetName)
targetName
- the name of the target.