|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTask
net.sf.ant4eclipse.ant.task.project.AbstractProjectBasedTask
net.sf.ant4eclipse.ant.task.pde.AbstractPdeBuildTask
net.sf.ant4eclipse.ant.task.pde.BuildFeatureTask
public class BuildFeatureTask
The BuildFeatureTaks can be used to build features. It implements a loop over all the plugins contained in the
feature.xml
.
Field Summary |
---|
Fields inherited from class net.sf.ant4eclipse.ant.task.pde.AbstractPdeBuildTask |
---|
_targetPlatformLocation |
Constructor Summary | |
---|---|
BuildFeatureTask()
Creates a new instance of type BuildFeatureTask. |
Method Summary | |
---|---|
void |
addParam(Property property)
Corresponds to <antcall> 's nested <param> element. |
void |
addReference(Reference reference)
Corresponds to <antcall> 's nested <reference> element. |
void |
execute()
|
java.lang.String |
getBuildPluginTarget()
Returns the name of the ant target that should be called for each plugin. |
java.io.File |
getFeature()
Returns the specified feature that should be build. |
java.lang.String |
getFilter()
Returns the filter used to filter the plugins. |
boolean |
isFeatureSet()
Returns whether the feature location is set. |
void |
setBuildPluginTarget(java.lang.String buildPluginTargetName)
Sets the name of the ant target that should be called for each plugin. |
void |
setFeature(java.io.File feature)
Sets the feature that should be build. |
void |
setFilter(java.lang.String filter)
|
Methods inherited from class net.sf.ant4eclipse.ant.task.pde.AbstractPdeBuildTask |
---|
containsTarget, executeSequential, getTargetPlatformLocation, isTarget, isTargetPlatformLocationSet, setTargetPlatformLocation |
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 |
Constructor Detail |
---|
public BuildFeatureTask()
Method Detail |
---|
public java.io.File getFeature()
Returns the specified feature that should be build.
public void setFeature(java.io.File feature)
Sets the feature that should be build.
feature
- featurepublic boolean isFeatureSet()
Returns whether the feature location is set.
public java.lang.String getBuildPluginTarget()
Returns the name of the ant target that should be called for each plugin.
public void setBuildPluginTarget(java.lang.String buildPluginTargetName)
Sets the name of the ant target that should be called for each plugin.
buildPluginTargetName
- the name of the ant target that should be called to build each plugin.public java.lang.String getFilter()
public void setFilter(java.lang.String filter)
filter
- public void addParam(Property property)
Corresponds to <antcall>
's nested <param>
element.
property
- public void addReference(Reference reference)
Corresponds to <antcall>
's nested <reference>
element.
reference
- public void execute() throws BuildException
BuildException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |