How to deploy portlets to Liferay?

前端 未结 3 1726
借酒劲吻你
借酒劲吻你 2020-12-09 12:01

I have faced problems in trying to install new portlets to Liferay running on Glassfish domain. I figured out the flow very lately and want to share it with others also. So,

3条回答
  •  天命终不由人
    2020-12-09 12:12

    There is several methods to deploy plugins (portlets, hooks, filters...) into your Liferay Portal.

    If you're using Administration you can do it as Mico descripted. but if you're using Maven, Gradle, Ant, Ivi... you can configure their deployment descriptors and redirect their outputs (that are the wars) to the hotdeploy server folder (If you're using Tomcat, JBoss, Glassfish...).

    This approach is quite better because you can create backup webapp folder and restore it whenever you want easily.

提交回复
热议问题