Importing the AirportDemo Sample

The AirportDemo application is a good example to use as it is structured in such a way that the application logic that you want to test is separate from the rest of the application (i.e. the main program runner and the interface code).

  1. From within the UnitDemo workspace, click File > Import.

    The Import dialog box appears.

  2. Choose General > Existing Projects into Workspace, and click Next.
  3. In the Select root directory field, click Browse and navigate to the COBOL sub-folder of your samples folder and click Select Folder.

    The default location for the samples is %PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Eclipse.

  4. Click Deselect All.

    No projects are selected in the Projects pane.

  5. In the Projects pane, select AirportDemo.
  6. Select Copy projects into workspace.
  7. Click Finish.

    A copy of the project (not the original version) is added to the workspace.