It's all about the answers!

Ask a question

Count items in a component programmatically


Angelo Corna (26148381) | asked Jan 12 '17, 3:54 a.m.

We need to calculate the number of the items stored in every component of our RTC environment programmatically. We have a lot of large components and, for this reason,  we are not able to load every component to filesystem.
Any suggestion?

Thanks in advance.
Bye.

Accepted answer


permanent link
Ralph Schoon (63.1k33646) | answered Jan 12 '17, 6:30 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

http://thescmlounge.blogspot.de/2013/08/getting-your-stuff-using-rtc-sdk-to-zip.html

Note, walking the tree in a component in the repository workspace allows counting and does not require loading the content to disc.

Angelo Corna selected this answer as the correct answer

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.