|
JPF 1.5.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.Task org.apache.tools.ant.taskdefs.MatchingTask org.java.plugin.tools.ant.BaseJpfTask org.java.plugin.tools.ant.SortTask
public class SortTask
The Ant task to sort plug-ins and plug-in fragments in correct build order.
Field Summary | |
---|---|
static java.lang.String |
MODE_BUILD
Put plug-in's build.xml file into output path. |
static java.lang.String |
MODE_DIR
Put plug-in directory into output path. |
static java.lang.String |
MODE_MANIFEST
Put original plug-in manifest file into output path. |
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
---|
fileset |
Fields inherited from class org.apache.tools.ant.Task |
---|
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
project |
Constructor Summary | |
---|---|
SortTask()
|
Method Summary | |
---|---|
void |
execute()
|
protected java.io.File |
getResultFile(java.net.URL manifestUrl)
|
protected void |
reorder(java.util.List<PluginDescriptor> descriptors)
|
void |
setPathId(java.lang.String value)
|
void |
setPathIdRef(java.lang.String value)
|
void |
setPathMode(java.lang.String value)
|
void |
setReverse(boolean value)
|
Methods inherited from class org.java.plugin.tools.ant.BaseJpfTask |
---|
addFileset, getBlackList, getIncludedFiles, getManifestURL, getPathResolver, getRegistry, getVerbose, getWhiteList, initRegistry, isManifestAccepted, loadList, setBaseDir, setBlackList, setVerbose, setWhiteList |
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
---|
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems |
Methods inherited from class org.apache.tools.ant.Task |
---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
getProject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String MODE_DIR
public static final java.lang.String MODE_BUILD
build.xml
file into output path.
public static final java.lang.String MODE_MANIFEST
Constructor Detail |
---|
public SortTask()
Method Detail |
---|
public void setPathId(java.lang.String value)
value
- the path ID to setpublic void setPathIdRef(java.lang.String value)
value
- the path ID reference to setpublic void setPathMode(java.lang.String value)
value
- the output path mode to set (DIR, BUILD, MANIFEST)public void setReverse(boolean value)
value
- sets the reverse sort orderpublic void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
Task.execute()
protected java.io.File getResultFile(java.net.URL manifestUrl)
manifestUrl
- plug-in or plug-in fragment manifest URL
protected void reorder(java.util.List<PluginDescriptor> descriptors)
|
JPF 1.5.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |