Fórum

Shared plugin type dependency

thumbnail
Luca Forni, modificado 9 Anos atrás.

Shared plugin type dependency

Junior Member Postagens: 45 Data de Entrada: 25/09/08 Postagens Recentes
Hi,
I would like to ask about best practices on how to configure Liferay IDE to develop plugins, like portlet, that depends on one or more shared plugin.
Ok, i know that i can create jar and put it on WEB-INF/lib of porltet that depends on it, but i would like to know if there is a method like setting "required-deployment-contexts" so Liferay IDE knows how to configure classpath of that plugin.

Thank you
thumbnail
Jitendra Rajput, modificado 9 Anos atrás.

RE: Shared plugin type dependency

Liferay Master Postagens: 875 Data de Entrada: 07/01/11 Postagens Recentes
You can share service between plugins using required-deplyment-context attribute of liferay-plugin-package.properties file

Check this blog for more information.
thumbnail
Luca Forni, modificado 9 Anos atrás.

RE: Shared plugin type dependency

Junior Member Postagens: 45 Data de Entrada: 25/09/08 Postagens Recentes
Hi Jitendra,
i wrote that i know that method, but it doesn't work when a portlet depends on a shared plugin type.