C.67 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.87: 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.67.1 Example

Sample build command:

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

C.67.2 Supported Nested Tags