|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.War com.finalist.tools.ant.taskdefs.WarAutoLib
Extension to the regular war task to include files specified in the libXmlFile.
Nested Class Summary |
Nested classes inherited from class org.apache.tools.ant.taskdefs.Jar |
org.apache.tools.ant.taskdefs.Jar.FilesetManifestConfig |
Nested classes 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 | |
java.io.File |
directory
Directory which contains the library files. |
Fields inherited from class org.apache.tools.ant.taskdefs.Zip |
addedDirs, archiveType, duplicate, emptyBehavior, entries, zipFile |
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
fileset, useDefaultExcludes |
Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary | |
WarAutoLib()
|
Method Summary | |
void |
execute()
Method called by ant to execute this task. |
void |
setLibdir(java.io.File directory)
Setter for libDir property. |
void |
setLibXmlFile(java.io.File libXmlFile)
Setter for property libXmlFile. |
Methods inherited from class org.apache.tools.ant.taskdefs.War |
addClasses, addLib, addWebinf, cleanUp, initZipOutputStream, setWarfile, setWebxml, zipFile |
Methods inherited from class org.apache.tools.ant.taskdefs.Jar |
addConfiguredManifest, addMetainf, createEmptyZip, finalizeZipOutputStream, getResourcesToAdd, reset, setIndex, setJarfile, setManifest, setManifestEncoding, setWhenempty, zipFile |
Methods inherited from class org.apache.tools.ant.taskdefs.Zip |
addFileset, addParentDirs, addResources, addZipfileset, addZipGroupFileset, getDestFile, getEncoding, grabResources, isAddingNewFiles, isCompress, isEmpty, 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, getImplicitFileSet, 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, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.io.File directory
Constructor Detail |
public WarAutoLib()
Method Detail |
public void setLibdir(java.io.File directory)
directory
- Directory which contains the library files.public void execute() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
- Exception which is thrown to stop the build process and display an error messagepublic void setLibXmlFile(java.io.File libXmlFile)
libXmlFile
- The lib file which specifies what files are to be checked out
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |