...
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 |
---|
|
Plugins 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 |
---|
|
Application Servers Wiki Markup |
---|
{span:class=shortcut}Settings{span} |
→ Wiki Markup |
---|
{span:class=shortcut}Application Servers{span} |
and click the
span |
---|
|
Add application server 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 |
---|
|
Plugins 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 |
---|
|
Clouds 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 |
---|
|
Check out from Version Control |
→ on the or in the span |
---|
|
VCS 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
span |
---|
|
Edit Wiki Markup |
---|
{span:class=shortcut}Edit configurations...{span} |
and click
span |
---|
|
Add run configuration Wiki Markup |
---|
{span:class=shortcut}Add run configuration{span} |
button.

Now you can deploy/debug your OpenShift application simply by clicking the
/ span |
---|
|
Debug 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 |
---|
|
Browse repositories... 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 |
---|
|
4 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
span |
---|
|
Terminal 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 |
---|
|
Plugins 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