Creates a tar archive using PEAR Archive_Tar.
This is very closely based on the ANT class of the same name.
author |
Hans Lellelid hans@xmpl.org (Phing) |
---|---|
author |
Stefano Mazzocchi stefano@apache.org (Ant) |
author |
Stefan Bodewig stefan.bodewig@epost.de (Ant) |
author |
Magesh Umasankar |
package |
phing.tasks.ext |
__construct()
appendSelector(\FileSelector $selector) : void
areFilesUpToDate(array $files, \PhingFile $dir) : boolean
createAnd() : \AndSelector
createContains() : \ContainsSelector
createCustom() : \ExtendSelector
createDate() : \DateSelector
createDepend() : \DependSelector
createDepth() : \DepthSelector
createExclude() : \PatternSetNameEntry
createExcludesFile() : \PatternSetNameEntry
createFilename() : \FilenameSelector
createFileSet() : \FileSet
createInclude() : \PatternSetNameEntry
createIncludesFile() : \PatternSetNameEntry
createMajority() : \MajoritySelector
createNone() : \NoneSelector
createNot() : \NotSelector
createOr() : \OrSelector
createPresent() : \PresentSelector
createSelector() : \SelectSelector
createSize() : \SizeSelector
getDescription() : string
string
The text description of the task
getDirectoryScanner(\PhingFile $baseDir) : \DirectoryScanner
getLocation() : \Location
getOwningTarget() : \Target
getProject() : \Project
getRegisterSlot(string $slotName) : \RegisterSlot
getRuntimeConfigurableWrapper() : \RuntimeConfigurable
getSelectors(\Project $p) : array
getTaskName() : string
string
Name of this task
getTaskType() : string
string
The type of this task (XML Tag)
hasSelectors() : boolean
boolean
Whether any selectors are in this container
init()
Should throw a BuildException if something goes wrong with the build
This is abstract here, but may not be overloaded by subclasses.
throws | |
---|---|
isArchiveUpToDate() : array
throws | |
---|---|
array
log(string $msg, integer $level = \Project::MSG_INFO) : void
string
The message to be logged.
integer
The message's priority at this message should have
main()
Should throw a BuildException if someting goes wrong with the build
This is abstract here. Must be overloaded by real tasks.
maybeConfigure()
perform()
throws | |
---|---|
selectorCount() : integer
integer
The number of selectors in this container
selectorElements() : \an
\an
enumerator that goes through each of the selectors
setBasedir(\PhingFile $baseDir)
setCaseSensitive(boolean $isCaseSensitive) : void
boolean
"true"|"on"|"yes" if file system is case
sensitive, "false"|"off"|"no" when not.
setCompression(string $mode)
Allowable values are
string
setDefaultexcludes(boolean $useDefaultExcludes)
boolean
"true"|"on"|"yes" when default exclusions
should be used, "false"|"off"|"no" when they
shouldn't be used.
setDescription(string $desc)
string
The text describing the task
setDestFile(\PhingFile $destFile)
setExcludes(string $excludes)
string
the string containing the exclude patterns
setExcludesfile(\PhingFile $excludesfile) : void
setFollowSymlinks(boolean $followSymlinks) : void
boolean
whether or not symbolic links should be followed
setIncludeEmptyDirs(boolean $bool) : void
boolean
Flag if empty dirs should be tarred too
setIncludes(string $includes) : void
string
the string containing the include patterns
setIncludesfile(\PhingFile $includesfile) : void
setLocation(\Location $location)
setLongfile( $mode)
Optional, default=warn.
Allowable values are
setOwningTarget(\Target $target)
setPrefix(string $prefix) : void
string
Prefix
setProject(\Project $project) : void
setRuntimeConfigurableWrapper(\RuntimeConfigurable $wrapper)
setTaskName(string $name) : string
string
string
A string representing the name of this task for log
setTaskType( $name)
TAR_NAMELEN
WARN
FAIL
OMIT
tarFile :
baseDir :
includeEmpty :
longFileMode :
filesets :
fileSetFiles :
longWarningGiven :
compression :
prefix : string
var |
---|
string
useDefaultExcludes : boolean
var |
---|
boolean
description : string
var |
---|
string
taskType : string
var |
---|
string
taskName : string
var |
---|
string
project : \Project