Plugin Information
Phing Plugin
This plugin allows you to use Phing to build PHP projects.
 | This plugin is available for Hudson 1.239 or later. |
Configuration
System Configuration
If you have multiple Phing installations, you can configure Hudson to allow that each project will select the installation that will use. 
Project Configuration
This plugin works as other builders like Ant builder or Gant builder.

History
Version 0.7 (Jan. 21, 2011)
- Support Environment variables in the "Build file" field such as "$WORKSPACE/build.xml". (issue #8549)
Version 0.6.1 (Dec. 8, 2010)
- Fixed Information of certain Phing tasks does not display in console output of the build. (issue #8097)
Version 0.6 (Oct. 8, 2010)
- Supported ConsoleNoteAnnotator.
- Added "Executed Phing Target".
Version 0.5
- Fixed NotSerializableException using Phing plugin with slaves. Thanks mdillon. (issue #6615)
Version 0.4
Version 0.3
Version 0.2
- Fixed NPE when no targets are specified.
Version 0.1
Comments (8)
Oct 22, 2008
djafaka says:
The plugin has still some display problem in the Hudson console. In fact when w...The plugin has still some display problem in the Hudson console.
In fact when we want to configure in the Hudson console the Phing plugin, we are unable to configure the Phing installation(name, PHING_HOME directory).
After registring the configuration in Hudson we have all the fields empty and the following messages:
PHING_HOME is required.
Have someone experienced this problem ?
Thanks for the response.
Dec 29, 2008
tgdleju1 says:
Hi, I've got exactly the same problem. i.e. after configuring the "PHI...Hi, I've got exactly the same problem. i.e. after configuring the "PHING_HOME" and "PHP_Command" via the Hudson console, save them. All the three fields under "Phing installation" stays empty. Could anyone help me? Thanks a lot !
Dec 29, 2008
Seiji Sogabe says:
What version do you use? ver 0.3? I can not reprodeuce it.What version do you use? ver 0.3?
I can not reprodeuce it.
Jan 05, 2009
tgdleju1 says:
Hi Seiji, I'm very glad that you do not have the problem. I see the c...Hi Seiji, I'm very glad that you do not have the problem. I see the chance of fixing the problem, with your help, of course.
We are using "Hudson Ver 1.215" and "phing-2.3.3".
Oct 29, 2010
Benjamin RICHARD says:
Hi, on windows, whatever i set in Phing_Home field of Hudson configuration, it ...Hi,
on windows, whatever i set in Phing_Home field of Hudson configuration, it always displays me the folowing error : "C:\Zend\ZendServer\bin\PEAR doesn't look like a Phing Directory".
Phing has been installed with pear command. I tried to set the parameter to C:\Zend\ZendServer\bin\phing.bat, C:\Zend\ZendServer\bin\PEAR or C:\Zend\ZendServer\bin\PEAR\phing but it always display the error message.
Thx
Benji
Nov 06, 2010
Bob says:
Hi there, This problem is still evident. It's all over the net and I've spent t...Hi there,
This problem is still evident. It's all over the net and I've spent the free time of 2 days looking for some solution without success. Can we PLEASE get some action on this and get it resolved? It obviously doesn't happen to everyone so it needs investigating carefully.
I'm trying to set up Phing 2.4.2.1 with Hudson 1.383 without success. I can't get Hudson to accept any directory in the PHING_HOME field. In my case no directory I enter that has any relation to Phing is accepted. It always reports "doesn't look like a Phing directory". I'm using a clean installation of Fedora 12. Phing is installed via PEAR. The binary is in /usr/bin/ and everything else appears to be in /usr/share/pear/phing and /var/lib/hudson/plugins/phing.
Please advise which directory the plugin is looking for i.e. what SHOULD work. Please also let me know what else I can try or what other info. I can provide to help you sort this out.
Thanks.
Nov 27, 2010
Seiji Sogabe says:
You don't have to configure phing on system configuration screen if you install ...You don't have to configure phing on system configuration screen if you install phing with PEAR.
Nov 14, 2010
Anirudh Zala says:
If Phing tasks are "phpdepend" and "phpcodesniffer" then this plugin neither dis...If Phing tasks are "phpdepend" and "phpcodesniffer" then this plugin neither displays names of the related targets on left panel of console output of the particular build nor displays information about those targets in console output itself. Although build works as expected.