|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectProjectComponent
Task
MatchingTask
Zip
Jar
ControlJarTask
public class ControlJarTask
The ControlTask class extends the standard ant Jar task to perform additional processing for JAR files that contain Beehive Controls.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class Jar |
---|
Jar.FilesetManifestConfig |
Nested classes/interfaces inherited from class Zip |
---|
Zip.ArchiveState, Zip.Duplicate, Zip.WhenEmpty |
Field Summary |
---|
Fields inherited from class Zip |
---|
addedDirs, archiveType, doubleFilePass, duplicate, emptyBehavior, entries, skipWriting, zipFile |
Fields inherited from class MatchingTask |
---|
fileset |
Fields inherited from class Task |
---|
description, location, target, taskName, taskType, wrapper |
Fields inherited from class ProjectComponent |
---|
project |
Constructor Summary | |
---|---|
ControlJarTask()
|
Method Summary | |
---|---|
protected void |
addToManifest(Manifest jarManifest,
List<File> mergeList)
|
protected void |
cleanUp()
Reset the manifest file list to be empty |
protected Resource[][] |
grabResources(FileSet[] filesets)
Step #1: Wrap the implementation of Zip.grabResources. |
protected void |
initZipOutputStream(ZipOutputStream zOut)
Step #2: Override Jar.initZipOutputStream to inject manifest sections. |
Methods inherited from class Jar |
---|
addConfiguredIndexJars, addConfiguredManifest, addMetainf, createEmptyZip, finalizeZipOutputStream, findJarName, getResourcesToAdd, grabFilesAndDirs, reset, setFilesetmanifest, setIndex, setJarfile, setManifest, setManifestEncoding, setWhenempty, writeIndexLikeList, zipFile |
Methods inherited from class Zip |
---|
addFileset, addParentDirs, addResources, addZipfileset, addZipGroupFileset, execute, executeMain, getDestFile, getEncoding, isAddingNewFiles, isCompress, isEmpty, isInUpdateMode, selectFileResources, setBasedir, setCompress, setDestFile, setDuplicate, setEncoding, setFile, setFilesonly, setKeepCompression, setRoundUp, setUpdate, setZipfile, zipDir, zipFile |
Methods inherited from class 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 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 ProjectComponent |
---|
getProject |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ControlJarTask()
Method Detail |
---|
protected Resource[][] grabResources(FileSet[] filesets)
grabResources
in class Zip
protected void initZipOutputStream(ZipOutputStream zOut) throws IOException, BuildException
initZipOutputStream
in class Jar
IOException
BuildException
protected void addToManifest(Manifest jarManifest, List<File> mergeList)
protected void cleanUp()
cleanUp
in class Jar
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |