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 Developerfor 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
Application Explorer view 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
Window > Preferences > Server > Runtime Environments.
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
Window > Preferences > Server > Runtime Environments.
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
Execution Environment list to
JavaSE-1.7.
Tip: Click
Window > Preferences > Java > Installed JREs > Execution Environments to view the available execution environments, and a list of compatible JREs.