It's all about the answers!

Ask a question

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


Shwetha G (1122) | asked Jul 10, 2:26 a.m.

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.

One answer



permanent link
Ralph Schoon (63.3k33646) | answered Jul 10, 3:40 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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.

Your answer


Register or 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.