You can associate resource groups you created for the project with filters (see Adding Resource Groups to Projects) to enable granular control over how the data is presented in DTP.
- Choose Report Center Settings from the settings drop-down menu and click Filters in the Administration sidebar.
- Create a new filter or click on an existing filter.
- Click Add Resource Group in the Resource Group section.
- Click the add button (+) to associate a resource group with the filter and click Confirm. If resource groups have not been created for the project, the overlay will be empty. See Adding Resource Groups to Projects for information on how to create resource groups.
- Click the delete button (x) to remove the resource group from the filter.
You can click on the resource group name add, remove, or modify resource group patterns in an overlay (see Adding Resource Groups to Projects for additional information).
All Instances of the Resource Group Will Be Modified
If you make changes to a resource group, other filters that use the same resource group will be affected.
Changes are automatically saved.
A resource group is a collection of resources (i.e., files and/or folders) defined by a set of one or more Ant file patterns. The performance of DTP API when resource groups are used depends on the file patterns in the resource groups. Performance is most heavily influenced by how the database engine matches the pattern of the string specified. More complex file patterns are slower because they require more complex algorithms for matching strings. From fastest to slowest, the three string matching algorithms: We have observed that string equality and LIKE can be up to ten times faster than regular expressions. Fastest This pattern contains no wildcards (, *, or ?). com.parasoft.foo/src/main/com/parasoft/foo/Alpha1.java Bar.java Fast This pattern ends with a com.parasoft.foo/** com.parasoft.foo/ Slowest This pattern uses any other use of wildcards. com.parasoft.foo/*/.java com.parasoft.foo/**/Alpha1.java com.parasoft.foo/src/main/com/parasoft/foo/*.java com.parasoft.foo/src/*/com/parasoft/foo/Alpha1.java com.parasoft.foo/src/main/com/parasoft/foo/Alpha?.java */.javaAbout Resource Groups
LIKE
operatorExample File Patterns
Pattern Description Examples String equality ( =
operator in SQL)SQL LIKE
/**
or /
.SQL regular expressions