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

need to find file...

 Hi All, 

We have one requirnment...

we have around 100+ components...

components contain one file end with .serviceagent..

now requirement is we have to find list of service agent for each and every components. 

can we have optimize way so that it can take less time to process....

Thanks,
Sumit


0 votes



One answer

Permanent link
Sumit,

From Eclipse, if you select 'Search' -> 'Jazz Source Control' -> 'Change Sets' you can fill out a query to search all components, by date if you want, that modifies a particular file resource (or by name), and what the change-set did to it (added it, deleted it, modified it, etc..)

The way to do it via command-line (CLI) would be to use 'scm.exe list remotefiles' to generate a listing of all the repository files within a component within the context of a stream or workspace: http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m5/topic/com.ibm.team.scm.doc/topics/list_remotefiles.html

However, that CLI call is very expensive, especially if you have 100+ components. I'm not sure why your requirement is written so, but it may be faster to just have a Jenkins job maintain a loaded workspace of the latest of all the 100+ components and do a filesystem search, then return the results.

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
× 383

Question asked: Aug 07 '14, 5:56 a.m.

Question was seen: 3,434 times

Last updated: Aug 08 '14, 3:06 a.m.

Confirmation Cancel Confirm