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

[closed] Search for a file in source code repository

I am looking for a way to search for a particular file in RTC source code which can exist in any of the multiple projects in our repository. I want to search it without downloading source code on my local. We have multiple projects and each projects have multiple components. 

0 votes

Comments

 Hi,

These request is pretty old, but I still have the same need.
Does anyone know if there is since then a new way to find a file based on its name ? (which project area / stream / component)
Regards,
Nicolas

Nicolas, please don't post your own questions as answers to someone else's question, especially one that was posted almost 9 years ago. I have converted your post to a comment. But if you want to [re]ask a question, please post your own question.


The question has been closed for the following reason: "Problem is not reproducible or outdated" by davidhoney Jun 20 '23, 9:44 a.m.


2 answers

Permanent link
I don't think there is a 'file' search feature, and certainly not across multiple projects concurrently.

you could take the stream dump code I wrote for that permissions problem we had on the conversion and turn it into a search tool..  the code was on the shared drive

get all streams, loop thru stream looking for file
this will not be 'fast'

0 votes

Comments

 Thanks Sam and Geoffrey for your replies. 


Sam, I will check the stream dump and will try to get a search tool. 

Geoffrey, yes this feature works but not with the regular expression pattern. 

It shows list of change sets which have a file name begins with entered text. And then you have to open each folder in change set to look for a particular file. I could not find a way to search by other criteria like contain the string etc.




Permanent link
From the Eclipse client, you can use the "Search -> Jazz_Source_Control -> Change_Sets" command.
That lets you search the entire repository or just a particular component, and lets you specify various properties of the file (such as filename prefix, when it was created, who created it).   It does not provide "content-based search" (e.g., find all files that contain the string "abc").

0 votes

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
× 12,023

Question asked: Oct 24 '14, 10:01 a.m.

Question was seen: 5,145 times

Last updated: Jun 20 '23, 9:44 a.m.

Confirmation Cancel Confirm