It's all about the answers!

Ask a question

How to support both RTC 2.0 and RTC 3.0


Yun Li (1154) | asked Jan 05 '12, 1:11 a.m.
I write a program to retrieve workitems from RTC, but I need to support both RTC2.0 and RTC3.0, if I use RTCSDK2, it can not connect to RTC3.0 system. If I use RTCSDK3, it can no connect to RTC2.x system.

Is there any method to support both of them?

Thanks a lot!

3 answers



permanent link
Ralph Schoon (63.5k33646) | answered Jul 25 '13, 4:40 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
RTC 2.x and RTC 3.x is a special case, because there was no N-1 compatibility (see http://rsjazz.wordpress.com/2013/07/09/new-version-and-now-experiences-with-sdk-and-plain-java-api-across-tool-versions/  for what that is) in RTC 3.x.

So you would run your Plain Java Client Library programs with a classpath to the 2.x version Plain Java Client Library if you want to talk to 2.x and with a classpath to the 3.x version if you want to talk to 3.x http://rsjazz.wordpress.com/2013/07/12/work-item-command-line-client-to-add-a-comment/ and http://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/ show how to call the code.

Unless you are in the unlucky situation where the API is gone in 3.x, this should in general work.

permanent link
Krzysztof Kaźmierczyk (7.5k480103) | answered Jul 25 '13, 3:48 a.m.
Hello Yun,
Unfortunately RTC SDK is not backward compatible yet. Anyway it should be more stable and do not change so much since version 3.0.

Best regards,
Krzysztof Kazmierczyk.

permanent link
Ralph Schoon (63.5k33646) | answered Jul 25 '13, 4:35 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Yun,

consider looking at http://rsjazz.wordpress.com/2013/07/09/new-version-and-now-experiences-with-sdk-and-plain-java-api-across-tool-versions/

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.