Building the Project

To build a project, do the following:

  1. Right-click an OS 2200 project.

  2. Click Properties > OS 2200 Project Properties.

  3. Under the Build Stream tab, type the ECL commands. You can enter any number of commands in this space.

  4. Selecting the Show Flexible Build Stream check box opens the Flexible Build Stream dialog box when you build the project.
    The Flexible Build Stream feature provides more flexibility in handling the build stream. It enables you to load a build stream from a local file system or modify an existing build stream.

  5. Click Apply > OK.

  6. Right-click the OS 2200 project.

  7. Click Build Project.

If the Show Flexible Build Stream is selected, then the Flexible Build Stream dialog box opens. The Flexible Build Stream will have content from the OS 2200 build stream properties and has the following features.

Load Allows you to load a build stream from a local file system. The text to the right of the Load button displays the file name. Hovering the mouse over the text displays the absolute path of the file.
Save Saves any changes made to the editable field.

Notes:
  • If you save the changes made to the build stream, then these changes are reflected in the respective locations from where they have been fetched. If you do not save the changes, then the changes are discarded.

  • If you load a build stream, then the existing content in the build stream is overwritten.

Clear Clears the contents in the editable field.
  1. Click OK.

The Eclipse IDE connects to the OS 2200 and runs build stream. The output is displayed in the OS 2200 Console, which appears in the Eclipse View pane in the lower right. Right-clicking in the OS 2200 Console view enables you to copy all or a part of the content in the view.

Generating Build Stream Automatically

Use this feature to generate a build stream automatically. This feature is applicable only with the .cob, .c, and .for element extensions.

To generate a build stream automatically, do the following:

  1. Right-click an OS 2200 project.

The context menu is displayed.

  1. Click Properties.

The Properties dialog box is displayed.

  1. Select OS 2200 Project Properties.

The OS 2200 Project Properties page is loaded in the right pane with Build Stream as active tab.

  1. Click the Generate Build-Stream button in the right corner.

A basic build stream with the UCS compile-statements and static-links appear in the text-box in Build Stream tab.

  1. Click OK.

The OS 2200 Project Properties page is closed and the build streams are committed to the properties for the project.

  1. The generated breakpoint file is set in the BreakPoint Files tab in the build stream of your OS 2200 project.

Note:

Notifying the User for Held Resources

While performing a normal or debug build on the OS 2200 project, if any required resource is held by another session, the build and the progress monitor do not proceed. The build keeps on waiting for the resource to be released from the other session  in order to continue. In such cases, the progress monitor displays the ECL (indicative of the held resource) and the corresponding error message. After the resource is released, the build continues automatically.