Specialized fileset that represents files of a PEAR package installed on the system. It is useful for collecting dependencies, for example when packing up a phar file with all dependencies.
Table D.6: Attributes for the <pearpackagefileset>
tag
Name | Type | Description | Default | Required |
---|---|---|---|---|
package | String |
Package name, or $channel/$package
combination.
If only a package name is given,
pear.php.net is used as channel.
| n/a | Yes |
config | String | Path to PEAR configuration file. If none is given, the system default is used. | n/a | No |
descfile | String |
package.xml file path.
If not given, the local PEAR installation is queried
for the package.
| n/a | No |
role | String |
PEAR file role/category.
PEAR supports the following
roles:
php, doc, data, www, test, script, cfg.
You probably want to use php .
| php | No |
In addition, all attributes of fileset are supported.
<copy todir="lib/"> <pearPackageFileset package="pear.php.net/Console_Table"/> </copy>
Copy all PHP files of package
Console_Table
to
lib/
The tags that are supported by PearPackageFileset
are:
any of the selectors