留言板

Create .lpkg or Bundle Wars for tomcat

thumbnail
Lokhande Vishnudas D.,修改在10 年前。

Create .lpkg or Bundle Wars for tomcat

Regular Member 帖子: 152 加入日期: 13-5-27 最近的帖子
HI,
i want to bundle my plugin wars into one file to reduce deployment efforts.
i can make one EAR file of all the plugns but it works for only jboss and other application servers. i want it for LR tomcat bundle.

i saw apps downloaded from liferay marketplace are coming with .lpkg file..inside that wars are there..
how can i create LPKG file of my plugin wars.
OR
is there any other solution to bundle plugin wars into one file to deploy on LR TOMCAT.
Thanks in advance.
thumbnail
David H Nebinger,修改在10 年前。

RE: Create .lpkg or Bundle Wars for tomcat

Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
I don't believe there is any way to automatically merge wars (takes too much tweaking on, for example, web.xml for an automatic process to work).

The easiest path is going to be to manually merge your plugins together, taking care on portlet.xml, liferay-portlet.xml, liferay-display.xml, etc.

Note that you should not try to push themes or layouts into portlet wars. Hooks may work, but I'd avoid them also.
thumbnail
Lokhande Vishnudas D.,修改在10 年前。

RE: Create .lpkg or Bundle Wars for tomcat

Regular Member 帖子: 152 加入日期: 13-5-27 最近的帖子
simply i merged wars using winrar with .lpkg extension...
put .lpkg in deploy folder and it's working.
how is this?
thumbnail
David H Nebinger,修改在10 年前。

RE: Create .lpkg or Bundle Wars for tomcat

Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
did that merge your web.xml file? did it merge portlet.xml, liferay-portlet.xml, liferay-display.xml, ...?

If not all you got was an overlay of files; the files are all there, but the necessary definitions to make them all available are not.