Building a project

After you create a software package, script package, pattern type, or plug-in project, build it and then import it for use it when you build patterns in Cloud Pak System Software for Power®.

Before you begin

If the project includes .po files in the i18n/locale directory, you must download the GNU gettext utilities. After you download these utilities, add msgen.exe (for Microsoft Windows systems) or msgen (for systems that are running other operating systems) to the system path before you build the project.

Procedure

  1. In the Project Explorer view, right-click the project node.
  2. Select one of the build options from the IBM Plug-in Toolkit menu:
    • Build, which builds the project without Java™ source code.
    • Build with source, which builds the project with Java source code.
      Note: This option is not available for script packages.
    • Build with binary, which builds the project with binary files. You are prompted to set the location of the files, either in a local directory or by using a remote URL. The files are put in the files directory in the resulting .tgz file.
      Note:
      • This option is not available for script packages.
      • If you are updating a project that includes a binary file, but you did not change the binary file with this update, you do not have to build the project with the binary file again. This option is only necessary for the first build, or any subsequent builds in which you modify the binary file.

Results

The build is started. Examine the Console view that is opened to check the progress of the build and view the resulting log messages.

After the build completes, a new export folder is created, including the compressed file for the project with the name format <ID>-<Version>.tgz and more source files. This file can later be imported back into your Eclipse environment and modified as needed.

What to do next

Import the project to Cloud Pak System Software for Power so that you can use it when you build patterns.