public class Ear extends Jar
Jar.FilesetManifestConfig, Jar.StrictModeZip.ArchiveState, Zip.Duplicate, Zip.UnicodeExtraField, Zip.WhenEmpty, Zip.Zip64ModeAttributeaddedDirs, archiveType, doubleFilePass, duplicate, emptyBehavior, entries, skipWriting, zipFilefilesetdescription, location, project| 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(java.io.File descr)File to incorporate as application.xml. | 
| void | setEarfile(java.io.File earFile)Deprecated. 
 since 1.5.x.
             Use setDestFile(destfile) instead. | 
| protected void | zipFile(java.io.File file,
       ZipOutputStream zOut,
       java.lang.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, setJarfile, setManifest, setManifestEncoding, setMergeClassPathAttributes, setStrict, setWhenempty, setWhenmanifestonly, writeIndexLikeList, zipFileadd, addFileset, addParentDirs, addResources, addResources, addZipfileset, addZipGroupFileset, execute, executeMain, getComment, getCreateUnicodeExtraFields, getCurrentExtraFields, getDestFile, getEncoding, getFallBackToUTF8, getLevel, getModificationtime, 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, setFile, setFilesonly, setKeepCompression, setLevel, setModificationtime, setPreserve0Permissions, setRoundUp, setUpdate, setUseLanguageEncodingFlag, setZip64Mode, setZipfile, 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 setEarfile(java.io.File earFile)
earFile - the destination filepublic void setAppxml(java.io.File descr)
descr - the descriptor filepublic void addArchives(ZipFileSet fs)
fs - zipfileset to addprotected void initZipOutputStream(ZipOutputStream zOut) throws java.io.IOException, BuildException
initZipOutputStream in class JarzOut - the zip output stream.java.io.IOException - on I/O errorsBuildException - on other errorsprotected void zipFile(java.io.File file,
                       ZipOutputStream zOut,
                       java.lang.String vPath,
                       int mode)
                throws java.io.IOException
protected void cleanUp()
cleanUp in class JarZip.cleanUp()