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

How can I deploy RTC SDK on Jazz CLM server?

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

0 votes


Accepted answer

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

1 vote

Comments

thanks Sam.


One other answer

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


1 vote

Comments

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 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,940

Question asked: Nov 25 '12, 2:26 p.m.

Question was seen: 3,993 times

Last updated: Nov 26 '12, 9:36 a.m.

Confirmation Cancel Confirm