|
|||||||||||
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.Ear com.finalist.tools.ant.taskdefs.EarAutoLib
Extension to the regular ear 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 | |
EarAutoLib()
|
Method Summary | |
void |
execute()
Method called by ant to execute this task. |
void |
outXML(org.w3c.dom.Document doc,
java.io.File outPutFile)
|
void |
setAppServer(int appServer)
Setter for the application server parameter 0 - not specified 1 - oracle |
void |
setAppxml(java.io.File appxml)
Setter for property appXml. |
void |
setDoctypePublic(java.lang.String doctypePublic)
Set the publi doctype for the Application xml dtd. |
void |
setDoctypeSystem(java.lang.String doctypeSystem)
Set the system doctype for the Application xml dtd. |
void |
setLibdir(java.io.File directory)
Setter for libDir property. |
void |
setLibXmlFile(java.io.File libXmlFile)
Setter for property libXmlFile. |
void |
setProxyHost(java.lang.String proxyHost)
Setter for property proxyHost. |
void |
setProxyPort(java.lang.String proxyPort)
Setter for property proxyPort. |
Methods inherited from class org.apache.tools.ant.taskdefs.Ear |
addArchives, cleanUp, initZipOutputStream, setEarfile, 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 EarAutoLib()
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 outXML(org.w3c.dom.Document doc, java.io.File outPutFile) throws javax.xml.transform.TransformerException, java.io.IOException
javax.xml.transform.TransformerException
java.io.IOException
public void setLibXmlFile(java.io.File libXmlFile)
libXmlFile
- The lib file which specifies what files are to be checked outpublic void setAppxml(java.io.File appxml)
appxml
- the application.xml file.public void setProxyHost(java.lang.String proxyHost)
proxyHost
- New value of property proxyHost.public void setProxyPort(java.lang.String proxyPort)
proxyPort
- New value of property proxyPort.public void setAppServer(int appServer)
appServer
- int representation for the appserverpublic void setDoctypeSystem(java.lang.String doctypeSystem)
doctypeSystem
- public void setDoctypePublic(java.lang.String doctypePublic)
doctypePublic
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |