Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Installing and Building Your SourcePro C++ Products
Rogue Wave web site:  Home Page  |  Main Documentation Page

2.5 Creating Buildspecs

Buildspecs are the heart of the build process. A buildspec contains details regarding desired components, the compiler environment, and the location where built components should be placed.

To complete a buildspec, you must

2.5.1 Select a Buildspec

This screen allows you to choose whether to create or edit a buildspec file.

Three options are available:

If you have never created a buildspec, you must choose Create a new buildspec from scratch. If previously created buildspecs are available to RCB, you can choose to edit those buildspecs or jump directly to the build queue screen.

2.5.2 Specify a Buildspace

This screen allows you to indicate the location of the installed SourcePro C++ components that you want the buildspec to use. It also allows you to specify where you want built components to be placed after a buildspec is executed.

The options on this screen are:­

For a detailed explanation of this screen, see Section 3.4.2, "Select Buildspace."

2.5.3 Select Components

This screen allows you to select components. Components are products, modules, and examples made available with the installation of each SourcePro C++ product. Placing a check mark beside a component indicates a selection.

To select components, you have two choices:

RCB enforces component dependencies. In other words, RCB ensures that the buildspec you create has all the components it requires to function properly. If a required component is missing, RCB displays a warning that lists the component and offers two choices: Yes and Cancel.

Selecting Yes causes RCB to automatically select the required products and then continue with the buildspec creation process. Selecting Cancel returns you to the Component Selection screen.

For a detailed explanation, see Section 3.4.3, "Select Components."

2.5.4 Specify Build Options

After selecting components, the build options screen launches where you must answer a sequence of questions regarding your buildspec. The question sequence varies depending on the components selected and answers provided.

The screen is divided into three panes. In this example, they are called: Left Pane, Right Pane, and Navigation Pane.

2.5.5 Submit Buildspec to the Build Queue

Once you answer all the questions necessary for the creation of a buildspec, you must submit the buildspec to a build queue. Submitting a buildspec to the build queue saves the buildspec to a file. It also causes RCB to append the file to a queue in the GUI. Once the file is appended to the queue, you can execute the buildspec from within the GUI, or quit the GUI and execute it via the command line.

This screen summarizes the buildspec and allows you to review your work before submitting it to the build queue. The summary screen will look slightly different, depending on whether you have created a new buildspec or edited an existing one. If you modified an existing buildspec, a list of changes is included with the summary.

Once you are satisfied with your buildspec, select the Done editing buildspec button. This action

2.5.5.1 Module Readme Viewer

The summary window allows you to view readme files associated with each module contained in the buildspec. To do so, select Click Here to View Module Readmes. A Module Readme Viewer window launches where you may select the readme that you want to view.

2.5.6 Answer Platform Information Exchange Request (optional)

If the Platform Information Exchange is installed and your consent setting is set to Maybe, ask me to decide that for each build, RCB asks if it can forward information about your buildspec to Rogue Wave.

The Configuration Parameter and Value sections display the information to be sent. Click Tell me more... for more information about each parameter.

Click Continue to proceed to the Build Queue screen. You must provide an answer to the question before you can continue. The available options are:

This request occurs every time a buildspec is created until you change your consent setting to something other than Maybe, ask me to decide that for each build.

2.5.7 Consider Build Queue Options

This screen displays buildspecs waiting in the queue. You can continue to manipulate buildspecs on this screen. The screen is divided into two sections: buildspecs that are already part of the Build Queue (top), and Existing buildspec files that are not part of the build queue (bottom).

2.5.7.1 Buildspecs in the Build Queue

The box at the top of the screen lists all the buildspecs that are waiting in the build queue. Many options are available when dealing with a buildspec selected in the build queue:

2.5.7.2 Buildspecs Outside the Build Queue

This section of the screen allows you to manipulate buildspecs that are not currently visible in the build queue.

The options are:

2.5.7.3 Navigation Buttons

The navigation buttons allow you to complete the buildspec creation process. Available options are

2.5.8 Build Output Screen

If you choose to execute a buildspec via the GUI, the Build Output screen appears. The Build Output screen displays the execution of a buildspec. At the beginning of a build, the RCB build manager runs a series of characterization tests to determine the capabilities of your compiler environment. It uses the resulting data to further fine-tune the buildspec to your system's requirements.

For more information on executing buildspecs, see Section 2.6.

As RCB builds components, it uses one of three codes to indicate the result of each attempt. The code used appears on both the left and right of the component name.

Information regarding build attempts appears in two places; the first time RCB attempts to compile the component, and the Results section.

The Results section summarizes how each build attempt fared. If a build failed, scroll up the Build Output screen to find the line where RCB attempted to compile the component. The explanation for the failure is located on that line.

RCB uses three codes to help you differentiate the components that you build:

Click Browse Output to view the Build Report generated during the execution of the buildspec. For more information, see Section 2.7.2.

Deselect Auto-scrolling enabled to prevent RCB from continually displaying the latest action taken while executing the build.

2.5.8.1 Platform Information Exchange Submission

If you allow the Platform Information Exchange to submit buildspec information to Rogue Wave, one of two messages appears at the bottom of the Build Output screen:



Previous fileTop of DocumentContentsIndex pageNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and SourcePro, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.