Phing settings dialog
Install the PHP and Phing plugins
This functionality relies on the PHP and Phing plugins that should be installed and enabled in your IDE.
The plugins are available only in IntelliJ IDEA Ultimate.
Press Ctrl+Alt+S to open the IDE settings and select
.Switch to the Marketplace tab and use the search field to find the PHP and Phing plugins.
Click Install and restart the IDE if prompted.
The dialog opens when you click the Settings button on the toolbar of the Phing Build tool window.
In this dialog:
Enable Phing integration in the current project.
Configure Phing build properties externally to pass them through a command line.
Show/hide targets in a specific file.
General Area
Item | Description |
---|---|
Path to Phing executable | In this field, specify the location of the phing.bat file. Type the path manually or click Browse and choose the file location in the dialog that opens. |
Command line options | In this field, specify the additional command line arguments to be passed to Phing when the build is launched. If necessary, click the and type the desired options in the Command Line Options dialog. Type each option on a new line. When you close the dialog, they are all displayed in the Command line options field with spaces as separators. |
Properties Tab
Use this tab to configure a list of property elements externally. These properties are passed to Phing through a command line when build execution is launched and therefore they are every time re-calculated dynamically.
Item | Description |
---|---|
Add | Click this button to have an empty line for a new property element added to the list. |
Remove | Click this button to remove the selected element from the list. |
Property | In this field, type the name of the property element. |
Value | In this field, specify the value of the element to be passed during build execution. Do one of the following:
|
Hiding Targets Tab
In this tab, specify which targets defined in the currently selected build file you want to have shown or hidden in the file tree view.
Among the targets defined in a build file, you may have some that are only called by other targets and are never run alone. You can suppress showing such targets in the build file tree by marking them as hidden.
Hidden targets do not become visible when you expand the node of a specific build file or click Expand All button .
Item | Description |
---|---|
Target | This field shows a list of all the targets defined in the current build file. |
Hide |
|
You can mark a target as hidden both directly from the Phing Build tool window or from the Phing Settings dialog. However, the hidden status can be removed only through the Phing Settings dialog.