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

How to support both RTC 2.0 and RTC 3.0

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!

0 votes



3 answers

Permanent link
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.

1 vote


Permanent link
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.

0 votes


Permanent link
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/

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
× 10,944

Question asked: Jan 05 '12, 1:11 a.m.

Question was seen: 4,631 times

Last updated: Jul 25 '13, 4:40 a.m.

Confirmation Cancel Confirm