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

How can we get all repository files under a component from RTC stream using Client plain java libraries?

 Hi Techleads,


My requirement is to get all repository  files under a Component and to check their date modifed.Can any one Guide me the way to get as the same.I didn't find any api to get the all repository files.

Thank you.

0 votes



2 answers

Permanent link

Here is an example for a repository workspace: http://thescmlounge.blogspot.de/2013/08/getting-your-stuff-using-rtc-sdk-to-zip.html A stream is pretty much the same.

https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/ has some more pointers to how to approach the API. There are also code examples in that blog.

0 votes


Permanent link

 I have download the RTC-Client-plainJavaLib-6.0.2,there is a folder snippets in it.The folder is the example code.

Maybe it can give you a hint.
1.IWorkspaceHandle
2.repo -> workspaceManager -> workspaceConnection -> componentHandle
3.IVersionableHandle
4.IVersionable
5.fileItem
6.IFileContent

And it is by bytestream to download a file from RTC.

0 votes

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
× 11,043

Question asked: Feb 15 '18, 5:04 a.m.

Question was seen: 5,277 times

Last updated: Jun 04 '18, 5:54 a.m.

Confirmation Cancel Confirm