This repository has been archived by the owner on Jan 16, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Docs Setup Phing
Frank Kleine edited this page Apr 7, 2012
·
1 revision
Phing is a port of Apache Ant. It is a build system based on extensible PHP tasks and XML build files. In Stubbles, it is used for various tasks, like packaging new releases or setting up your project.
The installation is quite easy:
At first, make sure, that you have PEAR installed. If this is not the case, refer to the PEAR manual for more information on how to install PEAR.
Once, PEAR is installed, run these commands:
$ pear channel-discover pear.phing.info ... $ pear install phing/phing-beta
After you installed Phing make sure, that the installation worked by invoking it via the command line:
$ phing exception 'BuildException' with message 'Buildfile: build.xml does not exist!' in path/to/Phing.php:385 Stack trace: #0 path/to/Phing.php(147): Phing->execute(Array) #1 path/to/Phing.php(262): Phing::start(Array, NULL) #2 path/to/phing.php(41): Phing::fire(Array) #3 {main}
If you see this message, you are ready to work with Stubbles and Phing.
If you have troubles installing Phing ar prefer a non-PEAR installation, refer to the Phing documentation.