|
||||||||||
| 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.ow2.util.ant.archive.AbsArchive
org.ow2.util.ant.archive.War
public class War
Task that creates a War archive (.war file or .war directory).
| Field Summary |
|---|
| 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 | |
|---|---|
War()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
addClasses(org.apache.tools.ant.types.ZipFileSet zipFileSet)
Add files in WEB-INF/classes folder. |
void |
addLib(org.apache.tools.ant.types.ZipFileSet zipFileSet)
Add files in WEB-INF/lib folder. |
void |
addWebinf(org.apache.tools.ant.types.ZipFileSet zipFileSet)
Add files in WEB-INF folder. |
void |
execute()
Execute the task by using either exploded or file mode. |
| Methods inherited from class org.ow2.util.ant.archive.AbsArchive |
|---|
addFileSet, getDest, getFileSetList, getManifest, getName, isExploded, setDD, setDest, setExploded, setManifest, setName, setSpecificDD, updateArchiveInfo |
| 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, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public War()
| Method Detail |
|---|
public void addClasses(org.apache.tools.ant.types.ZipFileSet zipFileSet)
zipFileSet - the fileset that contains the files.public void addLib(org.apache.tools.ant.types.ZipFileSet zipFileSet)
zipFileSet - the fileset that contains the files.public void addWebinf(org.apache.tools.ant.types.ZipFileSet zipFileSet)
zipFileSet - the fileset that contains the files.public void execute()
execute in class org.apache.tools.ant.Task
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||