Previous Topic Next topic Print topic


Creating the Workspace

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.
  1. Launch Enterprise Developer for Eclipse.
  2. When prompted for a workspace, specify the path to the folder that you extracted the source files to.
  3. 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 Team Developer Tree view shows that the workspace is empty as you have not yet imported the projects into Eclipse.

  4. On the Window menu, choose Preferences, then choose Server > Runtime Environments.

    The Server Runtime Environments pane appears.

  5. Click Add.
  6. If you have previously downloaded the JBoss 7.1 server adapter on this machine, in the Select the type of runtime environment field, type JBoss 7.1, then select JBoss 7.1 Runtime from the list displayed; otherwise, you need to download and install it:
    1. Click Download additional server adapters, choose JBossAS Tools from the list displayed, then click Next.
    2. Click I accept, then click Finish.
    3. Click Finish, and then OK to download and install. You may be prompted with a security warning, click OK to continue with the installation.
    4. Click Yes to restart Eclipse, then repeat from step 2.
  7. Click Next.
  8. Ensure the Home Directory field points to the directory in which you have JBoss installed; if not, amend it.
  9. Under Runtime JRE set the Execution Environment option to JavaSE-1.7 as this is compatible with the version that the projects will be deployed against.
    Tip: On the Window menu, choose Preferences > Java > Installed JREs and Execution Environments to view the most likely run-time versions, and a list of compatible run-time versions.

  10. Click Finish.

    The JBoss 7.1 run-time is installed for this workspace.

  11. Click OK.
Previous Topic Next topic Print topic