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
One answer
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.
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.