IntelliJ IDEA 14.0.0 Web Help

Phing Build Tool Window

11.0+
IntelliJ IDEA editor | Context menu of a Phing build file | Add as Phing build file Project Tool Window | Context menu of a Phing build file | Add as Phing build file View | Tool Windows | Phing Build

On this page:

Getting Access to the Phing Build Tool Window

The tool window is available through View | Tool Windows | Phing Build only when the Phing support is enabled in the current project and the Phing Support plugin is enabled.

The plugin is not bundled with IntelliJ IDEA, but it is available from the JetBrains plugin repository. Once enabled, the plugin is available at the IDE level, that is, you can use it in all your IntelliJ IDEA projects. See Installing, Updating and Uninstalling Repository Plugins and Enabling and Disabling Plugins for details.

In this tool window:

  • Specify the location of the phing.bat file.
  • Configure a list of Phing build files for packaging, deploying, or testing PHP applications.
  • Appoint targets to be executed before running or debugging according to specific configurations.
  • Run entire build files and specific build targets.

The functionality of the Phing tool window is available through the toolbar buttons and the context menu of a build file or target.

Toolbar

Item Tooltip and shortcut Description
add.png Add Click this button add a new script to the list. In the Select Phing Build Script dialog box, that opens, choose the desired file.
delete.png Remove Click this button to remove the selected build file from the list.
run.png Run Click this button to run the selected build file or target.
expandAll.png Expand all
Ctrl+NumPad+
Click this button to have IntelliJ IDEA show a tree of targets defined in the selected build file.
collapseAll.png Collapse all
Ctrl+NumPad -
Click this button to have IntelliJ IDEA collapse all the targets in the selected build file.
properties.gif Properties Click this button to have the Phing Properties dialog box opened. In this dialog box, specify the location of the phing.bat file.

If necessary, configure the build procedure and the format of the output by specifying command line arguments in the Command Line Options text box.

Context menu

Item Description Available for
Run Build run.png Choose this option to have the selected build file executed. Build files
Run Target run.png Choose this option to have the selected build target executed. Build targets
Jump to Source ? Choose this option to navigate to the source code of the selected build file or to the definition of the selected target. Build files
Build targets
Remove Choose this option to remove the selected build file from the list. Build files
Before Run/Debug Choose this option to have the selected build target always executed before running or debugging the project according to specific run/debug configurations. In the Execute Target Before Run/Debug dialog box that opens, select the configurations before which you want the target executed. Build targets
Properties properties.gif Click this button to have the Phing Properties dialog box opened. In this dialog box, specify the location of the phing.bat file.

If necessary, configure the build procedure and the format of the output by specifying command line arguments in the Command Line Options text box.

Build files
build targets

See Also

Last modified: 12 November 2014
comments powered by Disqus