|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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.ow2.util.ant.archive.file.EarFile
public class EarFile
Creates an EAR file.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.tools.ant.taskdefs.Jar |
|---|
org.apache.tools.ant.taskdefs.Jar.FilesetManifestConfig, org.apache.tools.ant.taskdefs.Jar.StrictMode |
| Nested classes/interfaces inherited from class org.apache.tools.ant.taskdefs.Zip |
|---|
org.apache.tools.ant.taskdefs.Zip.ArchiveState, org.apache.tools.ant.taskdefs.Zip.Duplicate, org.apache.tools.ant.taskdefs.Zip.WhenEmpty |
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.taskdefs.Zip |
|---|
addedDirs, archiveType, doubleFilePass, duplicate, emptyBehavior, entries, skipWriting, zipFile |
| Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
|---|
fileset |
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
EarFile(org.apache.tools.ant.Project p)
Creates an archive for the given project. |
|
| Method Summary | |
|---|---|
void |
addArchiveInFileSet(AbsArchive archive)
Add the given archive in a fileset. |
void |
execute()
Execute the task. |
void |
setArchiveInfo(ArchiveInfo archiveInfo)
Sets the information about an archive. |
void |
setDD(File dd)
Add the given DD file into the archive. |
void |
setEarInfo(EarInfo earInfo)
Sets the information about an EAR archive. |
| Methods inherited from class org.apache.tools.ant.taskdefs.Jar |
|---|
addConfiguredIndexJars, addConfiguredManifest, addConfiguredService, addMetainf, cleanUp, createEmptyZip, finalizeZipOutputStream, findJarName, getResourcesToAdd, grabFilesAndDirs, initZipOutputStream, reset, setFilesetmanifest, setIndex, setJarfile, setManifest, setManifestEncoding, setStrict, setWhenempty, setWhenmanifestonly, writeIndexLikeList, zipFile |
| Methods inherited from class org.apache.tools.ant.taskdefs.Zip |
|---|
add, addFileset, addParentDirs, addResources, addResources, addZipfileset, addZipGroupFileset, executeMain, getComment, getDestFile, getEncoding, getLevel, getNonFileSetResourcesToAdd, getResourcesToAdd, grabNonFileSetResources, grabResources, hasUpdatedFile, isAddingNewFiles, isCompress, isEmpty, isInUpdateMode, selectFileResources, setBasedir, setComment, setCompress, setDestFile, setDuplicate, setEncoding, setFile, setFilesonly, setKeepCompression, setLevel, setRoundUp, setUpdate, setZipfile, zipDir, zipDir, zipFile |
| Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
|---|
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, XsetIgnore, XsetItems |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, getProject, setDescription, setLocation |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EarFile(org.apache.tools.ant.Project p)
p - the given project| Method Detail |
|---|
public void setEarInfo(EarInfo earInfo)
setEarInfo in interface IEarearInfo - the object that holds data information.public void execute()
execute in interface IArchiveexecute in class org.apache.tools.ant.taskdefs.Zippublic void setDD(File dd)
dd - the path to the DDesc file.public void addArchiveInFileSet(AbsArchive archive)
archive - the path to the file to include.public void setArchiveInfo(ArchiveInfo archiveInfo)
setArchiveInfo in interface IArchivearchiveInfo - the object that holds data information.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||