org.apache.tools.ant.taskdefs
Class Ear
- SelectorContainer
Creates a EAR archive. Based on WAR task
Ear() - Create an Ear task.
|
addConfiguredIndexJars , addConfiguredManifest , addMetainf , cleanUp , createEmptyZip , finalizeZipOutputStream , findJarName , getResourcesToAdd , grabFilesAndDirs , initZipOutputStream , reset , setFilesetmanifest , setIndex , setJarfile , setManifest , setManifestEncoding , setWhenempty , writeIndexLikeList , zipFile |
addFileset , addParentDirs , addResources , addZipGroupFileset , addZipfileset , cleanUp , createEmptyZip , execute , executeMain , finalizeZipOutputStream , getComment , getDestFile , getEncoding , getResourcesToAdd , grabResources , initZipOutputStream , isAddingNewFiles , isCompress , isEmpty , isInUpdateMode , reset , selectFileResources , setBasedir , setComment , setCompress , setDestFile , setDuplicate , setEncoding , setFile , setFilesonly , setKeepCompression , 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 |
execute , 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 |
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.
setEarfile
public void setEarfile(File earFile)
Use setDestFile(destfile) instead
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
Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.