|
Ear (Apache Ant API)
org.apache.tools.ant.taskdefs
Class Ear
java.lang.Object
|
+--org.apache.tools.ant.ProjectComponent
|
+--org.apache.tools.ant.Task
|
+--org.apache.tools.ant.taskdefs.MatchingTask
|
+--org.apache.tools.ant.taskdefs.Zip
|
+--org.apache.tools.ant.taskdefs.Jar
|
+--org.apache.tools.ant.taskdefs.Ear
- All Implemented Interfaces:
- SelectorContainer
- public class Ear
- extends Jar
Creates a EAR archive. Based on WAR task
- Since:
- Ant 1.4
- Author:
- Stefan Bodewig
, Les Hughes
Constructor Summary |
Ear()
Create an Ear task. |
Methods inherited from class org.apache.tools.ant.taskdefs.Jar |
addConfiguredManifest, addMetainf, createEmptyZip, finalizeZipOutputStream, isUpToDate, reset, setIndex, setJarfile, setManifest, setWhenempty, zipFile |
Methods inherited from class org.apache.tools.ant.taskdefs.Zip |
addFiles, addFiles, addFileset, addParentDirs, addZipEntries, addZipfileset, addZipGroupFileset, execute, grabFileNames, grabFiles, grabFiles, isAddingNewFiles, isInUpdateMode, setBasedir, setCompress, setDestFile, setDuplicate, setEncoding, setFile, setFilesonly, setUpdate, setZipfile, zipDir |
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
addAnd, addContains, addCustom, addDate, addDepend, addDepth, addFilename, addMajority, addNone, addNot, addOr, addPresent, addSelector, addSize, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Ear
public Ear()
- Create an Ear task.
setEarfile
public void setEarfile(java.io.File earFile)
- Deprecated. Use setDestFile(destfile) instead
addArchives
public void addArchives(ZipFileSet fs)
- Adds zipfileset.
- Parameters:
fs - zipfileset to add
initZipOutputStream
protected void initZipOutputStream(ZipOutputStream zOut)
throws java.io.IOException,
BuildException
- Description copied from class:
Zip
- method for subclasses to override
- Overrides:
initZipOutputStream in class Jar
java.io.IOException
BuildException
zipFile
protected void zipFile(java.io.File file,
ZipOutputStream zOut,
java.lang.String vPath)
throws java.io.IOException
- Description copied from class:
Jar
- Overriden from Zip class to deal with manifests
- Overrides:
zipFile in class Jar
java.io.IOException
cleanUp
protected void cleanUp()
time this task gets executed.
- Overrides:
cleanUp in class Jar
- See Also:
Zip.cleanUp()
Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.
|