It's all about the answers!

Ask a question

How to search for files in a Stream without loading it


Mehmet Ali Aydın (6133) | asked May 10 '10, 7:20 a.m.
Hi,

There is only options to search for 'Repository Workspace or Streams', 'Snapshots', 'Components', 'Change Sets' and 'Locks' on 'Search/Jazz Source Control' menu. Also 'Jazz Text Search' doesn't give result for files. We can only search with loading a complete stream.

Is there anyway on RTC to search for files or containing text in a Stream on Jazz Source Control?

Thanks.

5 answers



permanent link
Moti Nisenson (2124) | answered Jul 12 '12, 1:09 p.m.
JAZZ DEVELOPER
If you have a Developer for IBM Enterprise Platforms Client Access License then you can use the Context-Aware Search feature which allows you to remotely search Components without needing to load them first. You can search using natural language queries as well, and not just using wildcard patterns.

permanent link
Geoffrey Clemm (30.1k33035) | answered May 10 '10, 8:15 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The way to search for files is with the "Change Sets" option.
You can search for files with a given name, but you cannot currently
search for files containing given text.

For improvements requested to the file search mechanism, see work item
102507 "Improve ability to search for versioned files by file name".
For the ability to search by content, see work item 98963 "Provide the
ability to search for versioned files by content".

Please feel free to add comments to these work items, indicating your
interest/support.

Cheers,
Geoff

underprotect wrote:
Hi,

There is only options to search for 'Repository Workspace or Streams',
'Snapshots', 'Components', 'Change Sets' and 'Locks' on 'Search/Jazz
Source Control' menu. Also 'Jazz Text Search' doesn't give result for
files. We can only search with loading a complete stream.

Is there anyway on RTC to search for files or containing text in a
Stream on Jazz Source Control?

Thanks.

permanent link
Mehmet Ali Aydın (6133) | answered May 13 '10, 9:06 a.m.
Thanks Geoffrey but searching with "Change Sets" option doesn't return files, returns change sets that contains a change which's name begins with the typed word. This is not same with file search. Also it's not possible to find source's stream if you didn't load it. So "Change Sets" option doesn't meet our needs.

How can we suggest file search on source control feature from jazz team? We have already purchased Rational products, do we have to open a PMR?

Thanks

permanent link
Geoffrey Clemm (30.1k33035) | answered May 13 '10, 10:45 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
As indicated below, there are already work items 102507 and 98963
requesting enhancements to the file search on source control. If those
enhancements would meet your needs, then you could add a comment to
those work items indicating your interest/support. If they would not
meet your needs, then you could submit a separate enhancement request on
jazz.net. Or you could contact IBM Rational customer support, and ask
them to submit the enhancement request for you, whichever you prefer.

Cheers,
Geoff

On 5/13/2010 9:08 AM, underprotect wrote:
Thanks Geoffrey but searching with "Change Sets" option
doesn't return files, returns change sets that contains a change
which's name begins with the typed word. This is not same with file
search. Also it's not possible to find source's stream if you didn't
load it. So "Change Sets" option doesn't meet our needs.

How can we suggest file search on source control feature from jazz
team? We have already purchased Rational products, do we have to open
a PMR?

Thanks

On 5/10/2010 8:15 AM, Geoffrey Clemm wrote:
The way to search for files is with the "Change Sets" option.
You can search for files with a given name, but you cannot currently
search for files containing given text.

For improvements requested to the file search mechanism, see work item
102507 "Improve ability to search for versioned files by file name". For
the ability to search by content, see work item 98963 "Provide the
ability to search for versioned files by content".

Please feel free to add comments to these work items, indicating your
interest/support.

Cheers,
Geoff

underprotect wrote:
Hi,

There is only options to search for 'Repository Workspace or Streams',
'Snapshots', 'Components', 'Change Sets' and 'Locks' on 'Search/Jazz
Source Control' menu. Also 'Jazz Text Search' doesn't give result for
files. We can only search with loading a complete stream.
Is there anyway on RTC to search for files or containing text in a
Stream on Jazz Source Control?

Thanks.

permanent link
Frederick Crimins (11) | answered Jan 06 '16, 10:36 a.m.
Searching for "Change Sets" will get you most of the way there--even though it's not exactly designed for the purpose.  If you search for a file name, all of the change sets that mention that file will be returned.  Double click (in Eclipse) one of the change sets and you'll see a set of files that were changed.  More importantly, you'll see which components those files are in.  Even if the file you're looking for isn't there, the named components are a good place to start looking.

Your answer


Register or 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.