Enabling the CVS resource decorations
When enabled, CVS will decorate resources in Workbench views with icon and
label decorations that indicate the CVS state of the resource.
To enable the CVS decorations:
- From the main menu bar, select Window > Preferences to open the
Workbench Preferences dialog.
- In the dialog, select the Workbench > Label Decorations preference
page. This page allows the enabling and disabling of all decorations defined
by different plug-ins in the Workbench.
- Click on the CVS box to enable the CVS decorations.
- Click OK.
Note: In some cases, the decorations may not appear immediately due
to the fact that they are expensive to compute. In those cases, they are calculated
in the background.
To configure the CVS decorations:
- From the main menu bar, select Window > Preferences to open the
Workbench Preferences dialog.
- In the dialog, select the Team > CVS > Label Decorations preference
page. This page allows the configuration of how decorations appear on CVS
projects, folders and files.
- To configure the text label decorations click the Text
tab and then:
- Pick the resource type (file, folder, project) for which you want to
change the decoration.
- Click in the decoration string for that resource type at the location
where the new decoration element should go.
- Click the Add Variables button for that resource type.
- Choose the CVS information variable to add. For instance, for files
you could select the added_flag which will be inserted in the decoration
where you placed the cursor. The string {added_flag} will be added
to the decoration string which will decorate newly added resources using
the added resource label (which can be set in the Label Decoration
for Added field).
- Repeat the above for any other decorations to be added.
- Decorations can be removed by deleting the decoration variable name (i.e.
{added_flag}) from the decoration string. In a similar manner, spacing
can be added.
- To configure icon decorations, click the Icon tab simply
enable/disable the icon checkboxes.
- Click OK or Apply for the new decorations to take effect.
Note: Under the General tab is an option to disable
the deep dirty decoration of folders. This will make decorator determination
more efficient but will make it harder to find dirty resources in the Navigator
and other views. Under the Synchronize View tab, the Synchronize
view can be configured to show the synchronization state of a resource as part
of the text label displayed in the Structure Compare pane.
Team programming with CVS
Synchronizing with a CVS repository
Checking out a project from a CVS repository
Sharing a new project using CVS
CVS
CVS Label Decorations