Hi all, today we will show you our support for PHP project build system or build tool which has been added in NetBeans 8.1. This time, we will talk about Phing.
Now, we can create a new Phing build file if it does not exist in the PHP project yet:
Phing build file appears among Important Files of the project:
Phing targets can be assigned to common IDE actions in the Project Properties dialog so then, if one e.g. Runs Project, the relevant Phing target is automatically executed as well.
Any Phing target defined in project's build.xml can be run via project's context menu. One can even specify an advanced task:
Advanced task can be configured with custom options and parameters. Moreover, more Phing targets can be run at once and every advanced task can be optionally stored in VCS so every team member can use it easily:
NetBeans remembers a few of the latest advanced tasks and allows to rerun them easily. Ordinary Phing targets can be run directly as well, of course:
Output of every Phing target run can be easily found (and reviewed if needed) in the Output window:
That's all for today, as always, please test it and report all the issues or enhancements you find in NetBeans Bugzilla (component php, subcomponent Phing). You can also leave a comment here (please notice that the comments are moderated so they will not appear here immediately) but reporting issues is strongly preferred.