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

Server Side Plugin, how to add one plugin dependencies into another plugin ?

Hi Team,


We are implementing a Sever side Advisor, where in there is a common plugin dependency which needs to be added to the Server side and client side plugin dependencies.

Am adding the common plugin in the server side plugin, but when generating the feature and site plugins, it is generating the logs.zip which when checked has an error that the server side plugin is not able to import the common related classes.

How to add the dependencies here ?

I am following the lab code from the pdf. Thanks.

0 votes



One answer

Permanent link

It is unclear what you try to do.

It depends. Look at the EWM Extensions Workshop. The follow up action consists of a common and a server portion. 
This common plugin is deployed with the extension feature. The server plugin has a required plugin dependency in the plugin.xml. The deploy code is generated from the feature that references both plugins in the update site. Look at the final structure of the Extensions Workshop and the deployment steps.

If you have a common plugin, that is supposed to be used by multiple extensions, the best approach I am aware of, would be to create a feature for the common plugin and generate deploy code for it. Then add a dependency to the feature/plugin in the code that is supposed to use it. You would either have to deploy it in the debug server, for this to work, or you import the plugin and feature code into your workspace.

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
× 7,498
× 1,328
× 1,221

Question asked: Jul 10 '24, 2:26 a.m.

Question was seen: 463 times

Last updated: Jul 10 '24, 3:40 a.m.

Related questions
Confirmation Cancel Confirm