Top
NetCOBOL V11.0 NetCOBOL Studio User's Guide
FUJITSU Software

6.5.1 Manual build

If "Project" > "Build Automatically" on the menu bar is checked, build is automatically executed when a resource is saved. If the developer needs to control execution of build, the checkmark can be cleared from "Build Automatically", and build can be executed manually.

Build Project

To execute a build for one or more selected projects, select the projects in the "Dependency" or "Structure" view, and then select "Project" > "Build Project" from the menu bar or "Build Project" from the context menu.

A Build is executed only for the resources that have been updated since the last build.

Build All

To build all of the projects in a workspace, select "Project" > "Build All" from the menu bar.

A Build is executed only for the resources that have been updated since the last build.

Rebuild Project

To execute a build for all project resources including those not updated since the last build, select each target project for the build in the "Dependency" or "Structure" view, and then select either "Project" > " Clean..." from the menu bar or "Rebuild Project" from the context menu.

Build Working set

The working set is a grouping of the project and the resource. Create the working set, and divide the build targets into groups. A Build is executed only for the projects that have been updated since the last build.

Creating Working set
  1. Select "Project" > "Build Working Set" > "Select Working Set" from the menu bar. The "Select Working Set" dialog box appears.

  2. Click the "New..." button. The "New Working Set" wizard appears.

  3. Select the "Resource" in the "Working set type", and click the "Next" button.

  4. Input an arbitrary name to the "Working set name", and select the project of working set target. Click the "Finish" button.

Build
  1. Select "Project" > "Build Working Set" > "Select Working Set" from the menu bar. The "Select Working Set" dialog box appears.

  2. Select the working set, and click the "OK" button. The build of the project selected in the working set is executed.

After the build, the selected working set name is added to the submenu of "Project" > "Build Working Set". A build of the working set can be executed by the selection of this menu.

Note

When the file not included in the project is referred by the compiler option, even if the reference files that are not included in the project are changed, changing the resource for the project will not be recognized. For this reason, even if "Build project" is executed or "Build Automatically" is checked, the target file is not updated.

When the files that are not included in the project are changed, execute the "Rebuild project" for the project that is using the files.

Point

Follow the procedure below to automatically save modified resources before manual build execution.

  1. Select "Window" > "Preferences" from the menu bar. The "Preferences" dialog box appears.

  2. Select "General" > "Workspace" in the left pane. The "Workspace" page is displayed.

  3. Select "Save automatically before build" on the "Workspace" page.

  4. Click the "OK" button to close the "Preferences" page.