OpenMake Meister

Reviewing Existing Build Service Configuration

 

You can review details of the Build Services to see all default settings.  It is recommended that you review the Build Services and the default flags and options to determine if the default settings are appropriate for you environment.  Table B-3 and Table B-4 will walk you through the review of an existing Build Service and Build Task, Build Rules and Option Group.  

 

Table B-3  Review of the Java War Service and Set Classpath Build Task

Step

Action

1

From the Main Menu, select Windows > Perspective > OM Meister.

2

Choose the Build Services Explorer tab near the top of your screen.

3

You will see a list of Operating Systems, Build Services are organized by the Operating System for which they are used.

4

Expand the Java Operating System tree node. You will be displayed a list of all of the pre-defined Java Build Services.

5

Click on  Java War

6

On the right side of your screen, you will be presented an Overview panel.  This provides the Overview information for the Java War Build Service.

7

Notice the Final Target Extension. This attribute indicates what type of file will be built when the Build Service is used.  There is also a description of the Build Service.

8

Select the Detail tab at the bottom of your screen.

9

You will see an outline of the Build Service, showing Build Tasks with their corresponding Build Rules.

10

Select and expand the Set Classpath Build Task.

11

Notice this Build Task has no Option Groups. Expand the Rules node and select the Rule. Below the Build Service Hierarchy box, you will see the Rules detail.  You will see the Target Extension for this Rule is .classpath.  The Dependency Extensions for this Rule are .zip,  .jar and .properties. This means that to create the .classpath, files with extensions of .zip, .jar and .properties will be used as the Build Rule Dependency.

 

12

The Build Method assigned to performing the process of the Build Rule is Set Classpath.

13

Notice the attribute Results Based On is set to Final Target. This attribute indicates how to name the results produced by the Build Rule.   Final Target indicates that you want the Build Rule results to be named by deriving the file name based on the name defined in the Target.

14

Notice the attribute Results Created In is set to Final Target. This attribute indicates what file system directory should be used to write the results of the Build Rule.  When Final Target is selected the file directory will be derived from the Final Target

 

 

Table B-4 Review of the Java War Service -  Ant War Build Task

Step

Action

1

Perform the steps 1-9 as outlined in Table BS-2 above.

2

Select and expand the Ant War Build Task.

3

Notice this Build Task has four (4) Option Groups defined.  Each of these Option Groups contains a collection of parameters that will be used when the Target is created.   These specific Options provide locations within the .war file where objects should be managed.  When the Target is defined, Dependencies are assigned to each Option Group, indicating how the results of the build should be written to the .war file.