Excluding Pages_ Components or paths from being tracked

You can exclude Pages or Components by ID in the Exclude element. You can specify ranges using hyphens (-) and semi-colons (;). You can exclude one or more paths from the tracking framework using patterns.

These patterns can be a combination of strings and special wildcard indicators, such as '**', '*' and "?". Use a semicolon to separate the paths. The name to be matched is split up in path segments. A path segment is the name of a directory or file, bounded by /. For example, abc/def/xyz.java is made up of the segments abc, def and xyz.java.

The segments of both the actual path name and the specified exclusion pattern are compared. If the pattern matches the existing path, the path, or files contained there, depending on what exclusion is specified, is excluded from tracking.

The following are some exclusion rules:

  • When ** is used for a path segment in the pattern, then it matches zero or more path segments of the name.
  • If an exclusion pattern starts with a /, the string to compare against must also start with a /.
  • If an exclusion pattern does not start with a /, the string to compare against must not start with a /.
  • When a name path segment is matched against a pattern path segment, the following special characters can be used:

    • * matches zero or more characters
    • ? matches one character.

The following table lists some exclusion patterns.

PatternMatches
**/*.jspAll .jsp files in a directory tree.
test/a??.jspAll files which start with an a, two more characters and then .jsp, in a directory called test.
**Everything in a directory tree.
**/test/**/XYZ*All files, or directories, that start with XYZ and reside in a parent directory called test.