[ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 425 lignes (14 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
TarTask:: (10 méthodes):
init()
createTarFileSet()
createFileSet()
setDestFile()
setBasedir()
setIncludeEmptyDirs()
setLongfile()
setCompression()
main()
archiveIsUpToDate()
TarFileSet:: (13 méthodes):
getFiles()
setMode()
getMode()
setUserName()
getUserName()
setGroup()
getGroup()
setPrefix()
getPrefix()
setFullpath()
getFullpath()
setPreserveLeadingSlashes()
getPreserveLeadingSlashes()
init() X-Ref |
Ensures that PEAR lib exists. |
createTarFileSet() X-Ref |
Add a new fileset return: FileSet |
createFileSet() X-Ref |
Add a new fileset. Alias to createTarFileSet() for backwards compatibility. return: FileSet |
setDestFile(PhingFile $destFile) X-Ref |
Set is the name/location of where to create the tar file. param: PhingFile $destFile The output of the tar |
setBasedir(PhingFile $baseDir) X-Ref |
This is the base directory to look in for things to tar. param: PhingFile $baseDir |
setIncludeEmptyDirs($bool) X-Ref |
Set the include empty dirs flag. param: boolean Flag if empty dirs should be tarred too return: void |
setLongfile($mode) X-Ref |
Set how to handle long files, those with a path>100 chars. Optional, default=warn. <p> Allowable values are <ul> <li> truncate - paths are truncated to the maximum length <li> fail - paths greater than the maximim cause a build exception <li> warn - paths greater than the maximum cause a warning and GNU is used <li> gnu - GNU extensions are used for any paths greater than the maximum. <li> omit - paths greater than the maximum are omitted from the archive </ul> |
setCompression($mode) X-Ref |
Set compression method. Allowable values are <ul> <li> none - no compression <li> gzip - Gzip compression <li> bzip2 - Bzip2 compression </ul> |
main() X-Ref |
do the work |
archiveIsUpToDate($files, $dir) X-Ref |
param: array $files array of filenames param: PhingFile $dir return: boolean |
Classe: TarFileSet - X-Ref
This is a FileSet with the option to specify permissions.getFiles(Project $p, $includeEmpty = true) X-Ref |
Get a list of files and directories specified in the fileset. return: array a list of file and directory names, relative to |
setMode($octalString) X-Ref |
A 3 digit octal string, specify the user, group and other modes in the standard Unix fashion; optional, default=0644 param: string $octalString |
getMode() X-Ref |
Pas de description |
setUserName($userName) X-Ref |
The username for the tar entry This is not the same as the UID, which is not currently set by the task. |
getUserName() X-Ref |
Pas de description |
setGroup($groupName) X-Ref |
The groupname for the tar entry; optional, default="" This is not the same as the GID, which is not currently set by the task. |
getGroup() X-Ref |
Pas de description |
setPrefix($prefix) X-Ref |
If the prefix attribute is set, all files in the fileset are prefixed with that path in the archive. optional. |
getPrefix() X-Ref |
Pas de description |
setFullpath($fullpath) X-Ref |
If the fullpath attribute is set, the file in the fileset is written with that path in the archive. The prefix attribute, if specified, is ignored. It is an error to have more than one file specified in such a fileset. |
getFullpath() X-Ref |
Pas de description |
setPreserveLeadingSlashes($b) X-Ref |
Flag to indicates whether leading `/'s should be preserved in the file names. Optional, default is <code>false</code>. return: void |
getPreserveLeadingSlashes() X-Ref |
Pas de description |
Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |