C.62 PharDataTask

PharData archives generating with Phing. This task require PECL's Phar extension to be installed on your system. Phar is built-in in PHP from 5.3 version.

Table C.82: Attributes

basedirStringBase directory, which will be deleted from each included file (from path). Paths with deleted basedir part are local paths in archive.n/aYes
destfileStringDestination (output) file. Will be recreated, if exists!n/aYes
compressionStringCompression type (gzip, bzip2, none) to apply to the archive.noneNo

C.62.1 Example

Sample build command:

  <fileset dir="./classes">
    <include name="**/**" />

C.62.2 Supported Nested Tags