Specifying a build style

Rational® Developer for Power supplies three build styles, Command, CL Program, and None. If you have Rational Team Concert for Power Systems Software client installed, you can additionally select Build Specification. See the Rational Team Concert for Power documentation for more details.

About this task

A build style supplies operations that build an application from a project using the source files found in the associated library. It also supplies the operations that push files from the project on the workstation into the associated library on the server.

You specify a build style when you create an i Project. To modify the build style for an existing i Project:

Procedure

  1. Right-click your i Project and select Properties.
  2. Select i Project Build.
  3. Select Command or CL Program from the list and click Configure.
    • If you select Command, specify the command that you will use to build this project.
    • If you select CL Program, select the project's source file that contains the members that will be uploaded to build the project. Select Automatically generate COMPILE.CLLE prior to each build to automatically generate the COMPILE.CLLE file in the designated source file prior to submitting the build to the server. Select Automatically push all changed members prior to build to automatically create or update any changed members that will be in the remote library prior to the project build.
    Note: If you want to change the COMPILE.CLLE member manually, clear the Automatically generate COMPILE.CLLE prior to each build option so that the program does not overwrite the changes.
  4. Click OK.
  5. Click OK.

Specifying a default build style

About this task

To specify a default build style for new i Projects:

Procedure

  1. On the workbench menu, select Window > Preferences .
  2. Expand i Projects.
  3. Select Build and Compile and select the default build style to use for new projects. Depending on the build style, you can also specify the default for it at this time using the Configure Templates. All new i Projects will be created using this build style.
  4. Click Apply.
  5. Click OK.

Results

When you run a build job, the associated library becomes the current library for the job. You can retrieve the errors for compilations that create objects in this library. For details, see Build styles.


Feedback