Exercise 3.5: Selecting the build style

Before you begin, you must complete Exercise 3.4: Importing members into your project.

So now that you know how to populate your iSeries Project, you could next disconnect and edit and verify the files on your workstation. Let's assume that you did just that but in this case you changed multiple members and that you want to build (compile) the full iSeries project.

Associated with each iSeries project is a Build Style which determines how source members in that project will be pushed and compiled on the host. A build style is a set of actions that provide push and build operations for a given iSeries Project.

There are three IBM-supplied build styles:

*NONE
This build style contributes no actions and is useful if you want to disable the menu items associated with a build style. This style will always be available.

Command
The command build style contributes the following actions to the Remote Actions menu:

CL Program
This style uploads the COMPILE.CLLE and BIND.CLLE members from the source file that you designated in the style configuration for this project. It then compiles and runs them to build this project on the server. This build style contributes the following actions to the Remote Actions menu:

Each iSeries Project can have only one active build style. This can be configured through the properties page for that project (right-click on the iSeries project and select Properties).

By default, when a new iSeries project is created it has the CL Program build style associated with it. This can be changed by going to Window > Preferences > iSeries Projects > Build and Compile.

Once submitted, a build can be monitored through the iSeries Build Status View. This view can be set to update at regular intervals and monitors all iSeries Project build jobs that you have submitted. Also compile errors can be retrieved from that view by right-clicking on the submitted build and selecting the Retrieve Errors action.

You have selected a build style for your iSeries Project and now you are ready to begin Exercise 3.6: Submitting a build.