Compare a snapshot and a repository workspace - check for change sets
Hello community,
My use case: I've created a repository workspace from a snapshot.
After a while I would like to check programmatically (RTC java api) if there are differences between the created workspace and the snapshot: Like if the snapshot is still valid or if I have to create a new one.
RTC plugin in eclipse has a great support.
But how do I do it with the RTC api?
Any help would be highly appreciated
Any help would be highly appreciated
Comments
Alex K.
Oct 28 '21, 5:16 a.m.So sad I can't upload images because of missing reputation (facepalm). I think it would be helpful
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Oct 28 '21, 7:30 a.m.Sorry, but with the level of spamming we receive sometimes, that is the only way... You can upload someplace else e.g. dropbox and add a link here.
compare workspace site:jazz.net and have a look at the results.
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Oct 28 '21, 7:36 a.m.Also please tag this with a product name.
Alex K.
Oct 28 '21, 7:42 a.m.Hi Ralph,
The best I've found is to access the component list and compare each single of them individually... what has a pretty bad performance. Maybe is there a better way?
Best Regards
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Oct 28 '21, 7:49 a.m.Alex, I am weak at best in this part of the API. The Repository workspace is a I believe is a IWorkspaceConnection and you might want to look into https://github.com/jazz-community/ewm-scm-utils which is pretty much all I have done with that SCM Libraries far.
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Oct 28 '21, 7:49 a.m.If you really want to develop with the RTC Java Client Libraries, I would suggest to perform the whole Rational Team Concert Extensions Workshop Lab1 and start from there. The explained way of using the RTC SDK will serve you greatly.