org.apache.avalon.phoenix.tools.tasks
Class Sar

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.avalon.phoenix.tools.tasks.Sar

public class Sar
extends org.apache.tools.ant.taskdefs.Jar

Creates a Sar archive.

Author:
Peter Donald, Stefan Bodewig

Field Summary
 
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
Sar()
           
 
Method Summary
 void addClasses(org.apache.tools.ant.types.ZipFileSet zipFileSet)
           
 void addLib(org.apache.tools.ant.types.ZipFileSet zipFileSet)
           
protected  void cleanUp()
           
 void execute()
           
 void setAssembly(File assembly)
           
 void setConfig(File config)
           
 void setEnvironment(File environment)
           
 void setSarfile(File file)
           
 void setServer(File server)
           
 
Methods inherited from class org.apache.tools.ant.taskdefs.Jar
addConfiguredManifest, addMetainf, createEmptyZip, initZipOutputStream, isUpToDate, setJarfile, setManifest, zipFile, zipFile
 
Methods inherited from class org.apache.tools.ant.taskdefs.Zip
addFiles, addFiles, addFileset, addParentDirs, addZipEntries, addZipfileset, 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

Sar

public Sar()
Method Detail

setSarfile

public void setSarfile(File file)

setConfig

public void setConfig(File config)

setAssembly

public void setAssembly(File assembly)

setServer

public void setServer(File server)

setEnvironment

public void setEnvironment(File environment)

addLib

public void addLib(org.apache.tools.ant.types.ZipFileSet zipFileSet)

addClasses

public void addClasses(org.apache.tools.ant.types.ZipFileSet zipFileSet)

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.taskdefs.Zip
org.apache.tools.ant.BuildException

cleanUp

protected void cleanUp()
Overrides:
cleanUp in class org.apache.tools.ant.taskdefs.Jar


Copyright © 2001 Apache Jakarta Project. All Rights Reserved.