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.
JAZZ DEVELOPER
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 https://jazz.net/library/content/articles/rtc/4.0/extensions-workshop/downloads/RTC40ExtPoT.pdf

Accepted answer


permanent link
sam detweiler (12.4k6182201) | 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

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

thanks Sam.

One other answer



permanent link
sam detweiler (12.4k6182201) | 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  manifest.mf 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
Require-Bundle: com.ibm.team.process.common,
 com.ibm.team.workitem.common,
 com.ibm.team.repository.common,
 com.ibm.team.repository.service;bundle-version="1.1.1"

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



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

I thought so too. But I can not find the plug-ins in the server that I am depending on
- com.ibm.team.repository.client
- com.ibm.team.workitem.client

are two such examples.

Your answer


Register or to post your answer.