|
GridGain 2.0.3
Java API Specification |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.MatchingTask
org.apache.tools.ant.taskdefs.Zip
org.gridgain.grid.tools.ant.gar.GridGarAntTask
public class GridGarAntTask
Ant task for generating GAR file. This task extends standard zip Ant task and has two parameters:
GridGarAntTask.DESCR_NAME file is located.
If not specified, it is assumed that GridGain descriptor will be searched in base directory
(see GridGarAntTask.setBasedir(File)). Note further that GAR descriptor file is fully optional
itself for GAR archive.
Documentation
Email Support
Online Forums
Issue Tracking
Author: 2005-2008 Copyright © GridGain Systems. All Rights Reserved. ver. 2.0.3
![]() |
![]() |
| Nested Class Summary |
|---|
| Nested classes/interfaces 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 | |
|---|---|
static String |
DESCR_NAME
GAR descriptor name. |
| Fields inherited from class org.apache.tools.ant.taskdefs.Zip |
|---|
addedDirs, archiveType, doubleFilePass, duplicate, emptyBehavior, entries, skipWriting, zipFile |
| Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
|---|
fileset |
| 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 | |
|---|---|
GridGarAntTask()
Creates ant task with default values. |
|
| Method Summary | |
|---|---|
void |
execute()
Executes the Ant task. |
protected void |
initZipOutputStream(org.apache.tools.zip.ZipOutputStream zOut)
|
void |
setBasedir(File baseDir)
Sets base directory for the archive. |
void |
setDescrdir(File descrDir)
Sets the directory where descriptor is located. |
| Methods inherited from class org.apache.tools.ant.taskdefs.Zip |
|---|
addFileset, addParentDirs, addResources, addZipfileset, addZipGroupFileset, cleanUp, createEmptyZip, executeMain, finalizeZipOutputStream, getComment, getDestFile, getEncoding, getResourcesToAdd, grabResources, isAddingNewFiles, isCompress, isEmpty, isInUpdateMode, reset, selectFileResources, setComment, setCompress, setDestFile, setDuplicate, setEncoding, setFile, setFilesonly, setKeepCompression, setRoundUp, setUpdate, setWhenempty, setZipfile, zipDir, zipDir, zipFile, zipFile |
| Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
|---|
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, 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, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| 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 static final String DESCR_NAME
| Constructor Detail |
|---|
public GridGarAntTask()
| Method Detail |
|---|
public void setDescrdir(File descrDir)
descrDir - Descriptor directory.public void setBasedir(File baseDir)
setBasedir in class org.apache.tools.ant.taskdefs.ZipbaseDir - Base archive directory to set.public void execute()
execute in class org.apache.tools.ant.taskdefs.Zip
protected void initZipOutputStream(org.apache.tools.zip.ZipOutputStream zOut)
throws IOException
initZipOutputStream in class org.apache.tools.ant.taskdefs.ZipIOException
|
GridGain 2.0.3
Java API Specification |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
|
GridGain - Grid Computing Made Simple, ver. 2.0.3.20052008
2005-2008 Copyright © GridGain Systems. All Rights Reserved. |
|