org.apache.tools.ant.taskdefs
Class Ear
- Cloneable, SelectorContainer
Creates a EAR archive. Based on WAR task
Ear()- Create an Ear task.
|
addConfiguredIndexJars, addConfiguredManifest, addConfiguredService, addMetainf, cleanUp, createEmptyZip, finalizeZipOutputStream, findJarName, getResourcesToAdd, grabFilesAndDirs, initZipOutputStream, reset, setFilesetmanifest, setIndex, setJarfile, setManifest, setManifestEncoding, setWhenempty, setWhenmanifestonly, writeIndexLikeList, zipFile |
add, addFileset, addParentDirs, addResources, addResources, addZipGroupFileset, addZipfileset, cleanUp, createEmptyZip, execute, executeMain, finalizeZipOutputStream, getComment, getDestFile, getEncoding, getLevel, getNonFileSetResourcesToAdd, getResourcesToAdd, getResourcesToAdd, grabNonFileSetResources, grabResources, initZipOutputStream, isAddingNewFiles, isCompress, isEmpty, isInUpdateMode, reset, selectFileResources, setBasedir, setComment, setCompress, setDestFile, setDuplicate, setEncoding, setFile, setFilesonly, setKeepCompression, setLevel, setRoundUp, setUpdate, setWhenempty, setZipfile, zipDir, zipDir, zipFile, zipFile |
XsetIgnore, XsetItems, 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 |
bindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Ear
public Ear()
Create an Ear task.
addArchives
public void addArchives(ZipFileSet fs)
Adds zipfileset.
cleanUp
protected void cleanUp()
Make sure we don't think we already have a application.xml next
time this task gets executed.
- cleanUp in interface Jar
setAppxml
public void setAppxml(File descr)
File to incorporate as application.xml.
descr - the descriptor file
setEarfile
public void setEarfile(File earFile)
since 1.5.x.
Use setDestFile(destfile) instead.
Set the destination file.
earFile - the destination file
zipFile
protected void zipFile(File file,
ZipOutputStream zOut,
String vPath,
int mode)
throws IOException Overridden from Zip class to deal with application.xml
- zipFile in interface Zip
file - 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.