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.apache.tools.ant.taskdefs.War
All Implemented Interfaces:
SelectorContainer, Cloneable
WEB-INF/lib, WEB-INF/classes or
WEB-INF directories of the Web Application Archive.
(The War task is a shortcut for specifying the particular layout of a WAR file. The same thing can be accomplished by using the prefix and fullpath attributes of zipfilesets in a Zip or Jar task.)
The extended zipfileset element from the zip task (with attributes prefix, fullpath, and src) is available in the War task.
Ant - 1.2category - ="packaging"| Fields inherited from org.apache.tools.ant.taskdefs.Zip: |
|---|
| zipFile, entries, duplicate, archiveType, emptyBehavior, addedDirs, doubleFilePass, skipWriting |
| Fields inherited from org.apache.tools.ant.taskdefs.MatchingTask: |
|---|
| fileset |
| Fields inherited from org.apache.tools.ant.Task: |
|---|
| target, taskName, taskType, wrapper |
| Fields inherited from org.apache.tools.ant.ProjectComponent: |
|---|
| project, location, description |
| Constructor: |
|---|
|
| Method from org.apache.tools.ant.taskdefs.War Summary: |
|---|
| addClasses, addLib, addWebinf, cleanUp, initZipOutputStream, setNeedxmlfile, setWarfile, setWebxml, zipFile |
| Methods from 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 from org.apache.tools.ant.taskdefs.MatchingTask: |
|---|
| 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 |
| Methods from org.apache.tools.ant.Task: |
|---|
| bindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, markInvalid, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods from org.apache.tools.ant.ProjectComponent: |
|---|
| clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject |
| Methods from java.lang.Object: |
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from org.apache.tools.ant.taskdefs.War Detail: |
|---|
|
|
|
|
|
|
Deprecated! since - 1.5.x.
Use setDestFile(File) instead
|
|
|