It's all about the answers!

Ask a question

Use Compare With in a RTC Extension


Fran Burgos (12311250) | asked Jan 25 '15, 5:49 a.m.
edited Jan 26 '15, 6:16 a.m.
I would like using "Compare With" in a RTC Extension for comparing file changes between two Streams or a Repository Workspace and a Stream. What code, classes should I use? Any tips or examples about this issue?

Or maybe some service which returns information about a file? (What is the change sets where it is, current version of a file in a stream, etc... )

 

One answer



permanent link
Ralph Schoon (61.1k33643) | answered Jan 26 '15, 8:20 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Fran, I have used the client API here: https://rsjazz.wordpress.com/2013/10/15/extracting-an-archive-into-jazz-scm-using-the-plain-java-client-libraries/ and here: https://rsjazz.wordpress.com/2013/09/30/delivering-change-sets-and-baselines-to-a-stream-using-the-plain-java-client-libraries/

If you search for some of the key operations, you might find more code.

I am not sure what you want to achieve, but I think you should be able to get the information you need in the extension. Please note, you need a special superclass as described here: https://rsjazz.wordpress.com/2012/11/01/restrict-delivery-of-changesets-to-workitem-types-advisordelivery-of-changesets-associated-to-wrong-work-item-types-advisor/

Your answer


Register or to post your answer.