It's all about the answers!

Ask a question

How can I deploy RTC SDK on Jazz CLM server?

ankur sharma (66212228) | asked Nov 25 '12, 2:26 p.m.
I am trying to write some server extensions. For this I am depending on some plug-ins from the RTC SDK. How should I ensure even they are available when server starts?

Why I want it this way?
I am writing multiple server extension which I intend to deploy using individual sites. Since these sites accepts features and the plug-in dependency is common across different extensions, I am looking for  away to create a deployable site for RTC SDK. Let me know if one exists already.

Context: RTC 4.0 and

Accepted answer

permanent link
sam detweiler (12.5k6195201) | answered Nov 26 '12, 8:55 a.m.
you cannot use 'CLIENT' jars from a SERVER plugin.  client are client only

you must use the SERVICE functions instead..

IRepositoryService= getService(IRepositoryService.class);
IWorkItemService = getService(IWorkItemService.class);
ankur sharma selected this answer as the correct answer

ankur sharma commented Nov 26 '12, 9:36 a.m.

thanks Sam.

One other answer

permanent link
sam detweiler (12.5k6195201) | answered Nov 25 '12, 5:37 p.m.
the SDK does not deploy TO the server, those apis are already present in the server runtime.. you need them (sdk files) to make your code compile.  the plugin.xml of your extension will reference the sdk jar files as dependencies, which will be resolved when your plugin loads..

here is the from one of my advisor plugins

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Example Plug-in
Bundle-SymbolicName: advisor.example;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-RequiredExecutionEnvironment: J2SE-1.5

Import-Package: org.eclipse.core.runtime,

ankur sharma commented Nov 26 '12, 2:59 a.m.

I thought so too. But I can not find the plug-ins in the server that I am depending on

are two such examples.

Your answer

Register or to post your answer.