OpenMake Meister

Generating Build Scripts

A new build script, called a Build Control File, can be generated just prior to executing the build.  By updating your build script, you are guaranteed that changes to Targets and Projects are captured in the build.  Something as simple as refactoring within the Eclipse IDE may change the underlying directory structures of packages and names of source.  Regenerating your build script will catch these changes without you having to address them in a manual way each time a build error occurs.

 

A program called bldmake performs the generation of the build script.  It uses the Knowledge Base metadata to perform the script generation.  Target information is combined with the Build Service information to create the script. The Build Method provides the build script formatting. 

 

Before executing a Build, you must define a Build Project and create a Target.  Refer to the Configuring Your Build Project and Creating and Managing Targets section of this guide to prepare you for executing your Builds.

 

Note:  This guide will review the process that is used to manage builds.  It will cover the automatic generation of your build scripts based on pre-defined or custom Build Services and Targets  and the execution of the build itself.  Following is a list of all options that can be passed to the bldmake program.  Options can be passed at the command line

or through the Public and Private Workflows.  To pass options from a Workflow follow the steps in Table BD-1.

 

Table BD-1 Using the Workflow to set options

Step

Action

1

Open the Workflow Explorer from the OM Workflow perspective

2

Right Mouse Click on Private Workflow and Select New

3

Enter the name Sample Workflow in the New Workflow pop-up window.

4

Select the Activities tab located on the lower left portion of the Overview Tab screen.

5

Highlight My Computer from the Workflow Hierarchy field, which is located within the Workflow Editor screen.

6

Click the Add Activity button. A window appears with two fields: one for plug-ins (Activity Plug-in) and the other for activities (Activity Type).

7

Select the Meister from the Activity Adapter field and Meister Build Control File for the Activity Type.

8

In the Command field enter the desired options.