Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to filter files in RTC to only show files following a specific path/name pattern

The objective is to locate and show only a subset of specific files in a component within a repository . The files have specific extension(s) and  they follow a certain path pattern.
A pattern such as  **/dir_n/**/*.properties or **/dir_x/*.xml
where ** = one or more sub-directories in the path. 

Some thoughts :
The issue could be divided or approached at two levels ( either or both at once)
1. Finding or filtering the files through a query to the repository.
2. Filtering at the navigator view level . 

Any help with the implementation of these thoughts or any other thoughts will be useful and is much appreciated ! 
Thank you.

0 votes

Comments

Do you want to search in the current state of a particular stream or workspace, in a particular snapshot/baseline, across the current state of all streams/workspaces, or against all historical states of all streams/workspaces?

 Hello Geoffrey,

Thank you for your answer.
I want to search / filter according to the path patterns within the current stream or workspace. 

On a second level of filtering, I might refer to previous versions in specific baseline/snapshot for other criteria and for the comaprison of files
P.S. I posted this second issue on the forum as a separate question

Thank you



One answer

Permanent link
I'm not aware of any built-in UI mechanisms to perform this kind of general path expression searching, but it is something you could implement using the RTC SCM Java API (but I'll need to defer to the RTC SCM Java API experts to give you guidance on how to do so).

1 vote

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,934
× 1,202

Question asked: Feb 24 '14, 6:17 a.m.

Question was seen: 5,734 times

Last updated: May 29 '14, 8:30 a.m.

Confirmation Cancel Confirm