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 Visual COBOL 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 COBOL Perspective.

    This loads a set of views within the IDE that are associated with COBOL development. The COBOL Explorer shows that the workspace is empty as you have not yet imported the projects into Eclipse.

  4. If you have not already installed the JBoss AS tools server adapter:
    1. Click Window > Preferences > Server > Runtime Environments.
    2. Click Add. This opens the New Server Runtime Environment dialog box.
    3. Expand Red Hat JBoss Middleware.
    4. Click JBoss AS, WildFly & EAP Server Tools, and then click Next.
    5. Accept the license agreement, and then click Finish.
    6. If you are presented with a security warning about unsigned content, ignore it by clicking OK.
    7. 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.
  5. Once you have downloaded the JBoss AS tools server adapter:
    1. Click Window > Preferences > Server > Runtime Environments.
    2. Click Add.
    3. Expand JBoss Community.
    4. Click JBoss 7.1 Runtime.
    5. Click Next. This opens the New Server Runtime Environment dialog box.
    6. In the Home Directory field, type the path where you have installed JBoss.
    7. 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.
    8. Click Finish.
    9. Click OK.
Previous Topic Next topic Print topic