Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

The integration with JBoss EAP and WildFly provided by the IDE gives you full control over your application and your server, including:

  • Connecting to a remote server
  • Starting a local instance of a server
  • Building artifacts
  • Deploying and running an application
  • Re-deploying without stopping the server
  • Debugging running application

Before you deploy to JBoss EAP or WildFly, make sure you’ve enabled the JBoss Integration plugin and configured the application server.

To enable the plugin, go to

span
classshortcut
Settings
Plugins
span
classshortcut
Wiki Markup
{span:class=shortcut}Settings{span}
Wiki Markup
{span:class=shortcut}Plugins{span}
and select the check-box.

...

To configure a server, go to

span
classshortcut
Settings
Application Servers
span
classshortcut
Wiki Markup
{span:class=shortcut}Settings{span}
Wiki Markup
{span:class=shortcut}Application Servers{span}
and click the Add application server
span
classshortcut
Wiki Markup
{span:class=shortcut}Add application server{span}
button. The IDE will automatically detect its version and offer you to select which libraries to add to the dependencies when the server is used in the project.

...

To ensure that the OpenShift cloud platform support is on, go to

span
classshortcut
Settings
Plugins
span
classshortcut
Wiki Markup
{span:class=shortcut}Settings{span}
Wiki Markup
{span:class=shortcut}Plugins{span}
and select the corresponding plugin:

...

Before you can deploy your application to OpenShift from the IDE, you have to configure an OpenShift account via

span
classshortcut
Settings
Clouds
span
classshortcut
Wiki Markup
{span:class=shortcut}Settings{span}
Wiki Markup
{span:class=shortcut}Clouds{span}
:

When you add an OpenShift configuration, the IDE offers to fill in your username, password, domain, and upload an SSH key.

The easiest way to import your OpenShift application to the IDE is to check out it from its Git repository. Click

span
classshortcut
Check out from Version Control
span
classshortcut
Git
on the
span
classshortcut
Welcome screen
or in the VCS
span
classshortcut
Wiki Markup
{span:class=shortcut}Check out from Version Control{span}
Wiki Markup
{span:class=shortcut}Git{span}
on the
Wiki Markup
{span:class=shortcut}Welcome screen{span}
or in the
Wiki Markup
{span:class=shortcut}VCS{span}
menu:

IntelliJ IDEA will automatically detect Maven’s pom.xml file and configure the project dependencies correspondingly.

To be able to deploy your application to OpenShift, you need an OpenShift run configuration. To create one, go to

Edit
span
classshortcut
Wiki Markup
{span:class=shortcut}Edit configurations...{span}
and click Add run configuration
span
classshortcut
Wiki Markup
{span:class=shortcut}Add run configuration{span}
button.

Now you can deploy/debug your OpenShift application simply by clicking the

span
classshortcut
Run
/Debug
span
classshortcut
Wiki Markup
{span:class=shortcut}Run{span}
/
Wiki Markup
{span:class=shortcut}Debug{span}
buttons on the toolbar.

For more details on how to run and debug your OpenShift application watch this video.

...

In order to use the Forge tool from inside the IDE, go to

span
classshortcut
Settings
span
classshortcut
Plugins
Browse repositories...
span
classshortcut
Wiki Markup
{span:class=shortcut}Settings{span}
Wiki Markup
{span:class=shortcut}Plugins{span}
Wiki Markup
{span:class=shortcut}Browse repositories...{span}
and install JBoss Forge IDEA Plugin:

...

This plugin lets you run Forge commands from the handy popup window that appears when you press

span
classshortcut
Ctrl
+
span
classshortcut
Alt
+ 4
span
classshortcut
Wiki Markup
{span:class=shortcut}Ctrl{span}
+
Wiki Markup
{span:class=shortcut}Alt{span}
+
Wiki Markup
{span:class=shortcut}4{span}
. Alternatively, if prefer the command line over any popup windows, you can still use the Forge utility from the built-in Terminal
span
classshortcut
Wiki Markup
{span:class=shortcut}Terminal{span}
tool window:

Drools Expert

To have the coding assistance for editing Drools Expert files be sure to enable the JBoss Drools Support plugin in

span
classshortcut
Settings
Plugins
span
classshortcut
Wiki Markup
{span:class=shortcut}Settings{span}
Wiki Markup
{span:class=shortcut}Plugins{span}
:

jBPM

To use the graphical designer for jBPM files, enable the JBoss jBPM plugin:

See also