public class Ear extends Jar
Jar.FilesetManifestConfig, Jar.StrictModeZip.ArchiveState, Zip.Duplicate, Zip.UnicodeExtraField, Zip.WhenEmpty, Zip.Zip64ModeAttributeaddedDirs, archiveType, doubleFilePass, duplicate, emptyBehavior, entries, skipWriting, zipFilefileset| Constructor and Description | 
|---|
| Ear()Create an Ear task. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addArchives(ZipFileSet fs)Adds zipfileset. | 
| protected void | cleanUp()Make sure we don't think we already have a application.xml next
 time this task gets executed. | 
| protected void | initZipOutputStream(ZipOutputStream zOut)Initialize the output stream. | 
| void | setAppxml(File descr)File to incorporate as application.xml. | 
| protected void | zipFile(File file,
       ZipOutputStream zOut,
       String vPath,
       int mode)Overridden from Zip class to deal with application.xml | 
addConfiguredIndexJars, addConfiguredManifest, addConfiguredService, addMetainf, createEmptyZip, finalizeZipOutputStream, findJarName, getResourcesToAdd, grabFilesAndDirs, reset, setFilesetmanifest, setFlattenAttributes, setIndex, setIndexMetaInf, setManifest, setManifestEncoding, setMergeClassPathAttributes, setStrict, setWhenempty, setWhenmanifestonly, writeIndexLikeList, zipFileadd, addFileset, addParentDirs, addResources, addResources, addZipfileset, addZipGroupFileset, execute, executeMain, getComment, getCreateUnicodeExtraFields, getCurrentExtraFields, getDestFile, getEncoding, getFallBackToUTF8, getLevel, getNonFileSetResourcesToAdd, getPreserve0Permissions, getResourcesToAdd, getUseLanguageEnodingFlag, getZip64Mode, grabNonFileSetResources, grabResources, hasUpdatedFile, isAddingNewFiles, isCompress, isEmpty, isFirstPass, isInUpdateMode, logWhenWriting, selectDirectoryResources, selectFileResources, selectResources, setBasedir, setComment, setCompress, setCreateUnicodeExtraFields, setCurrentExtraFields, setDestFile, setDuplicate, setEncoding, setFallBackToUTF8, setFilesonly, setKeepCompression, setLevel, setPreserve0Permissions, setRoundUp, setUpdate, setUseLanguageEncodingFlag, setZip64Mode, zipDir, zipDir, zipDir, zipFileadd, 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, XsetItemsbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeclone, getDescription, getLocation, getProject, setDescription, setLocationpublic void addArchives(ZipFileSet fs)
fs - zipfileset to addprotected void cleanUp()
cleanUp in class JarZip.cleanUp()protected void initZipOutputStream(ZipOutputStream zOut) throws IOException, BuildException
initZipOutputStream in class JarzOut - the zip output stream.IOException - on I/O errorsBuildException - on other errorspublic void setAppxml(File descr)
descr - the descriptor fileprotected void zipFile(File file, ZipOutputStream zOut, String vPath, int mode) throws IOException
zipFile in class Zipfile - the file to add to the archivezOut - the stream to write tovPath - the name this entry shall have in the archivemode - the Unix permissions to set.IOException - on error