Ignoring files by pattern

Patterns are useful for keeping the many temporary files created by some IDEs from being controlled in the Rational Synergy database. When set, the filters will keep uncontrolled files with the specified patterns from appearing as conflicts after you perform a Sync Work Area operation.

Procedure

  1. Start the Options dialog box by clicking Tools in the main menu and choosing Options.
  2. Click the Actions tab, then click Sync Work Area in the left pane.
  3. Modify the filter list.

    The Database defaults list shows the files that are ignored. The list is set by the CM Administrator and shared by all users. You cannot add to or delete from the defaults list.

    You can add to the My additional patterns list by typing patterns directly in the scroll box, one pattern per line only. To remove a pattern, highlight it and delete it.

    Additionally, you can use pattern syntax values to further customize filters. The syntax is like standard wildcard strings. Thus, * matches 0 or more characters of any value, ? matches one character of any value, and \ (Windows®) and / (UNIX®) separates directories.

    For example, a directory name followed by \* matches all contents of the directory and its subdirectories. (The wildcard applies at the end of the string.)

    The following examples show ways to customize filters by using patterns:

    • Filter the tempfiles subdirectory in the myproj-me project:

      C:\ccm_wa\mydb\myproj-me\myproj\tempfiles\*

    • Filter the tempfiles subdirectory in any project:

      tempfiles\*

    • Filter all HTML files:

      *.html

    • Filter all Java files from the test directory:

      test\*.java

      To share filters with team members, have the CM administrator add them to the database defaults.

  4. To return to the default settings, click Use Defaults.
  5. Click Apply to save the changes.

Feedback