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
 
Fields inherited from class org.apache.tools.ant.taskdefs.Zip
archiveType, emptyBehavior
 
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
Ear()
           
 
Method Summary
 void addArchives(ZipFileSet fs)
           
protected  void cleanUp()
          Make sure we don't think we already have a web.xml next time this task gets executed.
protected  void initZipOutputStream(ZipOutputStream zOut)
           
 void setAppxml(java.io.File descr)
           
 void setEarfile(java.io.File earFile)
           
protected  void zipFile(java.io.File file, ZipOutputStream zOut, java.lang.String vPath)
           
 
Methods inherited from class org.apache.tools.ant.taskdefs.Jar
addConfiguredManifest, addMetainf, createEmptyZip, isUpToDate, setJarfile, setManifest, zipFile
 
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 org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ear

public Ear()
Method Detail

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-2001 Apache Software Foundation. All Rights Reserved.