|
|||||||||
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.objectweb.easybeans.ant.archive.AbsArchive
org.objectweb.easybeans.ant.archive.War
public class War
Task that creates a War archive (.war file or .war directory).
Field Summary | |
---|---|
private static java.lang.String |
CLASSES_FOLDER
WEB-INF/classes folder. |
private static java.lang.String |
LIB_FOLDER
WEB-INF/lib folder. |
private static java.lang.String |
WEBINF_FOLDER
Path of the WEB-INF folder. |
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.objectweb.easybeans.ant.archive.AbsArchive |
---|
addFileSet, getDest, getFileSetList, getName, isExploded, setDD, setDest, setExploded, setName, 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 |
Field Detail |
---|
private static final java.lang.String WEBINF_FOLDER
private static final java.lang.String LIB_FOLDER
private static final java.lang.String CLASSES_FOLDER
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 |