合规国际互联网加速 OSASE为企业客户提供高速稳定SD-WAN国际加速解决方案。 广告
# C.67 PharDataTask [PharData](http://php.net/manual/en/class.phardata.php) archives generating with Phing. This task require [PECL's Phar](http://pecl.php.net/package/phar) extension to be installed on your system. Phar is built-in in PHP from 5.3 version. Table C.87:聽Attributes NameTypeDescriptionDefaultRequired`basedir``String`Base directory, which will be deleted from each included file (from path). Paths with deleted `basedir` part are local paths in archive.n/aYes`destfile``String`Destination (output) file. Will be recreated, if exists!n/aYes`compression``String`Compression type (gzip, bzip2, none) to apply to the archive.noneNo C.67.1 Example Sample build command: ``` <phardata destfile="./build/archive.tar" basedir="./" compression="gzip"> <fileset dir="./classes"> <include name="**/**" /> </fileset> </phardata> ``` C.67.2 Supported Nested Tags - `fileset`