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

3.3.1 The role of the Navigator view

The "Navigator" view displays files in existing subfolders and folders of a project. The following operations can be performed from the "Navigator" view:

3.3.1.1 Applying a filter to the view

Follow the procedure below to apply a filter to the view.

  1. Click in the "Navigator" view.

  2. Select "Filters..." from the option list. The "Navigator Filters" dialog box appears.

  3. Select one or more filters to be applied from the option list.

  4. To select all filters, click the "Select All" button. To clear the filter, click the "Deselect All" button.

  5. To apply all selected filters to the "Navigator" view, click the "OK" button. The dialog box closes. To close the dialog box without applying the filters to the "Navigator" view, click the "Cancel" button.

3.3.1.2 Sharing files in the Concurrent Versions System (CVS)

In the team programming environment of the Concurrent Versions System (CVS), each team member performs work independently from the other members. A CVS repository can be shared with other team members. Only a project or the files in a project can be shared. If a project is shared, only the files in the project are displayed in the repository. Other team members can access only the files that are explicitly shared.

Sharing an existing CVS repository location and project

To share an existing CVS repository location and project:

  1. Select the project from the "Navigator" view, and select "Team" > "Share Project" from the context menu.

  2. The "Share Project" dialog box appears.

  3. Select "Use existing repository location" to use an existing repository.

  4. Select the location from the displayed list.

  5. Click the "Finish" button. The project is shared at the selected CVS repository location.

Sharing a new CVS repository location and project

To share a new CVS repository location and project:

  1. Select the project from the "Navigator" view, and select "Team" > "Share Project" from the context menu.

  2. The "Share Project" dialog box appears.

  3. Select "Create a new repository location" to create a repository.

  4. Click the "Next" button.

  5. Specify the following on the "Enter Repository Location Information" page.

    Field

    Description

    Host

    Select or enter the host address.

    Repository path

    Select or enter the repository path to the host.

    User

    Enter the user name for a connection to the host.

    Password

    Enter the password for host access.

    Connection type

    Select the type of CVS connection to the repository.

    Use Default Port

    Select a port for the connection.

    Use Port

    Select a port from the list box.

    Save password

    When checked, the password is saved to the computer.

  6. Click the "Next" button.

  7. Specify the options on the Enter Module Name page as follows:

    Field

    Description

    Use project name as module name

    Specify this option to use the project name as a module name.

    Use specified module name

    Check this item to not use the project name as a module name, and enter a module name in the text box.

  8. Click the "Finish" button. The project is shared at the new CVS repository location.

Sharing a file

To share a file:

  1. Select the file from a project folder.

  2. Select "Team" > "Add to Version Control" from the context menu.

  3. Select "Commit" from the context menu of the file or project.

  4. The file is shared at the CVS repository location, and other users can access the file.

Accessing a project or file in a CVS repository

To access a project or file in a CVS repository:

  1. Select "Windows" > "Open Perspective" > "Other..." > "CVS Repository Exploring" from the menu bar. The CVS Repository perspective opens.

  2. Expand the host that has shared projects and files.

  3. Select the project for checkout processing.

  4. Select "Check Out As" from the context menu. The Check Out As dialog box appears. Select "Check out as a project in the workspace" and enter a project name in the Project Name field.

  5. Click the "Finish" button. The display returns to the COBOL perspective, where the "Navigator" view displays the project and the files under the project.

Comparing versions of a source file

To compare the latest version of a COBOL source file with an older version:

  1. In the "Navigator" view, select the version of the COBOL source file whose contents are to be compared with the current version.

  2. Select "Compare With" > "Local History" from the context menu. The "Compare with Local History" dialog box appears.

  3. Select a version from the Local History list.

  4. The latest version of the COBOL source file is displayed in the Workspace File area of the Text Compare editor, and the selected version is displayed in the Local History area. Modifications in the text in each file are highlighted.

  5. To move to the previous or next modification, select the appropriate button.

  6. To close the dialog box, click the "OK" button.

Replacing a current file with a previous version

To replace the current COBOL source file with a previous version:

  1. In the "Navigator" view, select the COBOL source file to be replaced.

  2. Select "Replace With" > "Local History" from the context menu. The Replace from Local History dialog box appears.

  3. Select a version from the Local History list.

  4. The current version of the COBOL source file is displayed in the right pane of the Text Compare editor, and the selected version is displayed in the Local History area in the left pane. Modifications in each file are highlighted.

  5. To replace the file of the current version with that of the selected version, click the "Replace" button. The dialog box closes. To close the dialog box without replacing the file, click the "Cancel" button.

Note

"Replace With" > "Previous from Local History" is selected; the current version of the file is replaced with that of the last stored version.

To perform a Replace With operation for an open file, first save the replacement file.

3.3.1.3 Property options

The properties of the selected resource are displayed when File is used, or when Properties in the context menu is used. The items displayed in the Properties page depend on the selected resource. For example, if a file is selected, only specific properties are displayed; if a project is selected, all setting options are displayed.
Property options are displayed by selecting "File" > "Properties" from the menu bar. Options can be displayed, or their settings can be changed using the Properties dialog box.

Displaying and setting file properties

To change the read-only status of a file:

  1. Select "Info" in the Properties dialog box.

  2. The details of Path, Type, Location, and Last modified are displayed on the Info page.

  3. The file properties can be changed by selecting Read Only or canceling the selection.

Displaying and setting project reference properties

To enable a resource to reference another project in a workspace:

  1. Select "Project References" in the Properties dialog box.

  2. The Project References page is displayed.

  3. To enable the resource to reference another project in the workspace, select the other project from the list.