org.apache.tools.ant.taskdefs
Class Ear
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
- public class Ear
- extends Jar
Creates a EAR archive. Based on WAR task
- Author:
- Stefan Bodewig, Les Hughes
Inner classes inherited from class org.apache.tools.ant.taskdefs.Zip |
Zip.WhenEmpty |
Constructor Summary |
Ear()
|
Methods inherited from class org.apache.tools.ant.taskdefs.Zip |
addFiles, addFiles, addFileset, addParentDirs, addZipEntries, addZipfileset, execute, finalizeZipOutputStream, grabFileNames, grabFiles, grabFiles, isAddingNewFiles, setBasedir, setCompress, setEncoding, setFilesonly, setUpdate, setWhenempty, setZipfile, zipDir |
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, setDefaultexcludes, setExcludes, setExcludesfile, setIncludes, setIncludesfile, XsetIgnore, XsetItems |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Ear
public Ear()
setEarfile
public void setEarfile(java.io.File earFile)
setAppxml
public void setAppxml(java.io.File descr)
addArchives
public void addArchives(ZipFileSet fs)
initZipOutputStream
protected void initZipOutputStream(ZipOutputStream zOut)
throws java.io.IOException,
BuildException
- Overrides:
initZipOutputStream
in class Jar
zipFile
protected void zipFile(java.io.File file,
ZipOutputStream zOut,
java.lang.String vPath)
throws java.io.IOException
- Overrides:
zipFile
in class Jar
cleanUp
protected void cleanUp()
- Make sure we don't think we already have a web.xml next time this task
gets executed.
- Overrides:
cleanUp
in class Jar
Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.