beautypg.com

Building a project, Deploying a project, Building a project deploying a project – HP Integrity NonStop J-Series User Manual

Page 37

background image

Building a project

To build a project, perform the following steps from the NonStop Development perspective:

1.

In the NonStop Project Explorer, select the project you want to build.

2.

Check which build configuration (typically Release or Debug) is active. From the context menu
of the NonStop Project Explorer, select Build Configurations

→Set Active. The Set Active

sub-menu displays a list of build configurations, with a check mark next to the active build
configuration. Either dismiss the context menu (click elsewhere) or select a different build
configuration to make it active.

3.

Initiate the build using one of the following methods:

Select Build Project from the context menu of the NonStop Project Explorer.

Select Build Project from the Project menu of the main menu bar.

Select the Build icon

in the main tool bar.

This build uses your active build configuration.

TIP:

Hover your mouse over the build icon

in the tool bar to see what will build. For example, if you

selected a project named Hello World and the active build configuration for that project is Debug,
then the tool tip reads: "Build 'Debug' for project 'Hello World'".

TIP:

The pull-down menu next to the build icon changes the current build configuration and

initiates a build in a single step.

TIP:

If the build icon is disabled, NSDEE cannot determine which project to build. NSDEE

determines which project to build by querying the currently active view. For example, if the currently
active view is an editor, NSDEE builds the project associated with the source file in that editor. If
the NonStop Project Explorer view is active, NSDEE builds the selected project.

All build output is displayed in the Console view. Use the Problems view to see errors and warnings.
In the Problems, double click on any error or warning to open a source editor to the code location
responsible for the error or warning.

Deploying a project

To transfer the final build object of a project to a NonStop system, from the NonStop Development
perspective:

1.

In the NonStop Project Explorer, select the project containing the final build object to transfer
to a NonStop system.

2.

To change build configurations (deploy transfers the final build object of the active build
configuration), select Build Configurations

→Set Active from the context menu and select the

active build configuration from the Set Active sub-menu.

3.

To initiate the transfer, use one of the following methods:

Select Deploy Project from the context menu of the NonStop Project Explorer.

Select Deploy Project from the Project menu of the main menu bar.

Select the Deploy icon

on the main tool bar.

NSDEE transfers the final build object of the active build configuration to the NonStop system.

Building, deploying, and launching a project

37

This manual is related to the following products: