IntelliJ IDEA 2016.3 Help

Run/Debug Configuration: OpenShift Deployment

Run | Edit Configurations | /help/img/idea/2016.3/new.png | OpenShift Deployment


OpenShift Deployment run/debug configurations let you deploy your code and application artifacts to OpenShift. They also let you debug your applications.

For OpenShift Deployment run/debug configurations to be available, the OpenShift integration plugin must be enabled.

Main settings

Item Description
Name The name of the run configuration.
Share Select this check box to share the run configuration through version control.

If the check box is not selected, the run configuration settings are stored in .idea/workspace.xml or the .iws file.

If the check box is selected, the settings are stored in a separate .xml file in .idea/runConfigurations or in the .ipr file.

See Project format and files.

Single instance only If you select this check box, only one instance of the run configuration will run at a time.
Server Select the cloud access configuration to be used.

To create a new configuration, or to edit an existing one, click /help/img/idea/2016.3/browseButton.png (Shift+Enter). For more information, see OpenShift.

Deployment To deploy your source code, select the corresponding module. To deploy an application artifact, select the artifact. Only archive artifact formats can be used (e.g. WAR, EAR).
Use custom application name By default, your application will have about the same name as the module or the artifact. To specify a different name, select the check box and specify the name in the field. (The application name defines its URL.)
Debug Port The port to be used for debugging. This may be any unused port on your computer.

Before Launch options

Specify which tasks should be carried out before starting the run/debug configuration.

ItemShortcutDescription
/help/img/idea/2016.3/new.png Alt+Insert Click this icon to add a task to the list. Select the task to be added:
  • Run External tool. Select this option to run an application which is external to IntelliJ IDEA. In the dialog that opens, select the application or applications that should be run. If the necessary application is not defined in IntelliJ IDEA yet, add its definition. For more information, see Configuring Third-Party Tools and External Tools.
  • Build Artifacts. Select this option to build an artifact or artifacts. In the dialog that opens, select the artifact or artifacts that should be built.

    See also, Working with Artifacts.

  • Run Another Configuration. Select this option to execute another run/debug configuration. In the dialog that opens, select the configuration to be run.
  • Run Ant target. Select this option to run an Ant target. In the dialog that opens, select the target to be run. For more information, see Ant.
  • Generate CoffeeScript Source Maps. Select this option to generate the source maps for your CoffeeScript sources. In the dialog that opens, specify where your CoffeeScript source files are located.

    For more information, see CoffeeScript Support.

  • Run Maven Goal. Select this option to run a Maven goal. In the dialog that opens, select the goal to be run.

    For more information, see Maven.

  • Run Remote External Tool. Select this option to run a remote application which is external to IntelliJ IDEA. In the dialog that opens, select one or more remote applications to be run. If the necessary applications are not defined in IntelliJ IDEA yet, add their definitions. For more information, see Configuring Third-Party Tools and External Tools.
/help/img/idea/2016.3/delete.png Alt+Delete Click this icon to remove the selected task from the list.
/help/img/idea/2016.3/editFlexLibraryNew.png EnterClick this icon to edit the selected task. Make the necessary changes in the dialog that opens.
/help/img/idea/2016.3/arrowUp.png /help/img/idea/2016.3/arrowDown.pngAlt+Up/Alt+DownClick these icons to move the selected task one line up or down in the list. (The tasks are performed in the order that they appear in the list.)
Show this pageSelect this check box to show the run/debug configuration settings prior to actually starting the run/debug configuration.
Activate tool window If this check box is selected, the Debug tool window opens when you start the run/debug configuration in the debug mode.

Otherwise, the tool window isn't shown. However, when the configuration is running in the debug mode, you can open the Debug tool window for it yourself if necessary.

Toolbar

ItemShortcutDescription
/help/img/idea/2016.3/new.pngAlt+InsertCreate a run/debug configuration.
/help/img/idea/2016.3/delete.pngAlt+DeleteDelete the selected run/debug configuration.
copyCtrl+DCreate a copy of the selected run/debug configuration.
/help/img/idea/2016.3/settings.pngView and edit the default settings for the selected run/debug configuration.
/help/img/idea/2016.3/arrowUp.png/help/img/idea/2016.3/arrowDown.pngAlt+Up/Alt+DownMove the selected run/debug configuration up and down in the list.

The order of configurations in the list defines the order in which the configurations appear in the corresponding list on the main toolbar.

/help/img/idea/2016.3/folder.pngYou can group run/debug configurations by placing them into folders.

To create a folder, select the configurations to be grouped and click /help/img/idea/2016.3/folder.png. Specify the name of the folder.

Then, to move a configuration into a folder, between the folders or out of a folder, use /help/img/idea/2016.3/arrowUp.png and /help/img/idea/2016.3/arrowDown.png. You can also drag a configuration into a folder.

To remove grouping, select a folder and click /help/img/idea/2016.3/delete.png.

See also, Creating Folders and Grouping Run/Debug Configurations.

See Also

Last modified: 21 March 2017