Set Up the ProgramSOAP Project

Provides instructions that take you through the process of creating an Eclipse project for the ScheduleDemo demonstration application, setting build properties for the project, and populating the project with demonstration files.

Create the ProgramSOAP project

  1. In Eclipse, click File > New > COBOL Project.
  2. In the Project name field, type ProgramSOAP.
  3. Check Use default location; then click Finish.

    The COBOL Explorer now shows the ProgramSOAP project.

Set build configuration properties ProgramSOAP

When Eclipse builds the ProgramSOAP project, you want the build action to produce a shared object, .so, file. To ensure this behavior, you need to set the Build Configuration to the All Native Library Files target type:

  1. In the COBOL Explorer, right-click the ProgramSOAP project, then select Properties from the context menu.
  2. Expand Micro Focus > Build Configurations, and then click Link.
  3. In the table of properties in the right pane, click the Target Type drop-down list, and select All Native Library Files.
  4. Click Apply and Close.

Add ScheduleDemo demonstration files to the project

  1. From the COBOL Explorer, right-click the ProgramSOAP project and select Import > Import from the context menu.

    This opens the Import dialog box.

  2. Expand General and click File System.
  3. Click Next.
  4. Click the Browse button that corresponds to the From directory field, and browse to the /opt/microfocus/VisualCOBOL/demo/imtk/scheduledemo directory.
  5. Click Open.
  6. On the list of files, check all files except Readme files.
  7. Click Finish.

    This adds the files to the project and builds the project automatically.