You need to create and configure an Eclipse workspace capable of interacting with the JBoss application server when you are
running or debugging the application.
-
Launch
Enterprise Developer
for Eclipse.
-
When prompted for a workspace, specify the path to the folder that you extracted the source files to.
-
If you are presented with the Welcome page, click
Open Team Developer Perspective.
This loads a set of views within the IDE that are associated with COBOL and PL/I development. The Project Explorer shows that
the workspace is empty as you have not yet imported the projects into Eclipse.
-
If you have not already installed the JBoss AS tools server adapter:
-
Click
.
-
Click
Add.
This opens the
New Server Runtime Environment dialog box.
-
Expand
Red Hat JBoss Middleware.
-
Click
JBoss AS, WildFly, & EAP Server Tools, and then click
Next.
-
Accept the license agreement, and then click
Finish.
-
If you are presented with a security warning about unsigned content, ignore it by clicking
OK.
-
Click
Yes to restart Eclipse.
Note: If this is the first time the workspace settings have been changed then Eclipse might prompt you to store preference information.
-
Once you have downloaded the JBoss AS tools server adapter:
-
Click
.
-
Click
Add.
-
Expand
JBoss Community.
-
Click
JBoss 7.1 Runtime.
-
Click
Next.
This opens the
New Server Runtime Environment dialog box.
-
In the
Home Directory field, type the path where you have installed JBoss.
-
In the
Runtime JRE group, set the
Alternate JRE to an installed Java JDK 1.7.
Tip: Click
to view the available JREs. You can add the JDK 1.7 here.
-
Click
Finish.
-
Click
OK.