To build a project, do the following:
Right-click an OS 2200 project.
Click Properties > OS 2200 Project Properties.
Under the Build Stream tab, type the ECL commands. You can enter any number of commands in this space.
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.
Click Apply > OK.
Right-click the OS 2200 project.
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:
|
| Clear | Clears the contents in the editable field. |
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.
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:
Right-click an OS 2200 project.
The context menu is displayed.
Click Properties.
The Properties dialog box is displayed.
Select OS 2200 Project Properties.
The OS 2200 Project Properties page is loaded in the right pane with Build Stream as active tab.
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.
Click OK.
The OS 2200 Project Properties page is closed and the build streams are committed to the properties for the project.
The generated breakpoint file is set in the BreakPoint Files tab in the build stream of your OS 2200 project.
Note:
The Generate Build-Stream button generates the build stream in both Build Stream tab and the OS 2200 Debug Setup tab simultaneously.
Right-clicking in the OS 2200 Breakpoint Console view allows you to copy all or a part of the content in the view.
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.