Specifying resources to ignore

In the Eclipse environment, you can specify name patterns that, if matched, prevent the named resource from being considered for addition to source control.

Before you begin

This option is available only when using the ClearTeam® Explorer for Eclipse.

Procedure

  1. From the main Eclipse menu bar, select Window > Preferences.
  2. In the left pane of the Preferences window, expand the Team category and select Ignored Resources. A list of name patterns is displayed against which resources will be compared before they are considered as candidates for version control.
  3. Optional: To remove a name pattern from the list of patterns to be ignored, clear the check box to the left of the pattern.
  4. Optional: To include a name pattern on the list of patterns to be ignored, select the check box to the left of the pattern.
  5. Optional: To add a new pattern, click Add.

Example

The following global ignore patterns are added by the ClearTeam Explorer for Eclipse.
Pattern Description
*.compare* Temporary file created by the ClearCase® diff/merge tool
*.contrib* Temporary file created by the ClearCase diff/merge tool
*.keep* Checked-out version that was preserved after the checkout was cancelled
*.merge* Temporary file created by the ClearCase diff/merge tool
*.mkelem* Temporary file created when adding a resource to source control