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:
- Push Changes -- Pushes any new or changed resources found
in the selected project. An item is changed if it has been updated
locally since the last time it was pushed, either by Push Selected or Push
Changes. The first time it is done, all resources are uploaded to the
associated library. Each subsequent upload is incremental.
- Push Selected -- This action uploads all selected
resources and their children to their corresponding iSeries source files and
members in the associated library. It creates any resources that do not
exist. It will overwrite any changes that have been made on the server
only if confirmed by the user. Use this action to force the contents of
the associated library to match the workspace.
- Submit Build Command -- Submits the command found in this
build style configuration to the server.
- 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:
- Push Changes -- Pushes any new or changed items found in
the selected project. An item is changed if it has been updated locally
since the last time it was pushed, either by Push Selected or Push
Changes. The first time it is done, all resources are uploaded to the
associated library. Each subsequent upload is incremental.
- Push Selected -- This action uploads all selected
resources and their children to their corresponding iSeries source files and
members in the associated library. It creates any resources that do not
exist. It will overwrite any changes that have been made on the server
only if confirmed by the user. Use this action to force the contents of
the associated library to match the workspace.
- Submit Build -- Submits a job to compile and run the
iSeries Project on the server using the COMPILE and BIND programs from the
source file you specify.
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.
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.