It's all about the answers!

Ask a question

Count items in a component programmatically


Angelo Corna (25938068) | 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 (58.0k23642) | 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.