net.sf.ant4eclipse.ant.task.pde
Class AbstractPdeBuildTask

java.lang.Object
  extended by Task
      extended by net.sf.ant4eclipse.ant.task.project.AbstractProjectBasedTask
          extended by net.sf.ant4eclipse.ant.task.pde.AbstractPdeBuildTask
Direct Known Subclasses:
BuildFeatureTask

public class AbstractPdeBuildTask
extends AbstractProjectBasedTask

Abstract base class for PDE build tasks.


Field Summary
protected  java.io.File _targetPlatformLocation
          the target location
 
Constructor Summary
AbstractPdeBuildTask()
           
 
Method Summary
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.
 
Methods inherited from class net.sf.ant4eclipse.ant.task.project.AbstractProjectBasedTask
ensureJavaProject, getEclipseProject, getWorkspace, hasText, isProjectNameSet, isProjectSet, isWorkspaceSet, requireWorkspaceAndProjectNameOrProjectSet, requireWorkspaceSet, setInitialiseWorkspace, setProject, setProjectName, setWorkspace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_targetPlatformLocation

protected java.io.File _targetPlatformLocation
the target location

Constructor Detail

AbstractPdeBuildTask

public AbstractPdeBuildTask()
Method Detail

getTargetPlatformLocation

public final java.io.File getTargetPlatformLocation()

Returns the target platform against which the workspace plugins will be compiled and tested.

Returns:
the target platform against which the workspace plugins will be compiled and tested.

setTargetPlatformLocation

public final void setTargetPlatformLocation(java.io.File targetPlatformLocation)

Sets the target platform against which the workspace plugins will be compiled and tested.

Parameters:
targetPlatformLocation - the target platform against which the workspace plugins will be compiled and tested.

isTargetPlatformLocationSet

public final boolean isTargetPlatformLocationSet()

Returns whether the target platform location is set.

Returns:
whether the target platform location is set.

isTarget

protected final boolean isTarget(java.lang.String targetName)

Returns true if a target with the given name exists in the current project.

Parameters:
targetName - the name of the target.

executeSequential

protected final void executeSequential(java.util.List tasks)

Executes the list of tasks.

Parameters:
tasks - the list of tasks.

containsTarget

protected final boolean containsTarget(java.lang.String targetName)
Parameters:
targetName - the name of the target.