我可以将多个 Liferay portlet 和一个主题打包到一个 WAR 文件中吗?
我可以使用 Liferay 插件 SDK 轻松地单独创建 Liferay portlet 和主题。我已经成功地将多个 portlet 合并到一个 WAR 文件中,这对于在客户端站点进行部署非常方便。
我还为我的 Liferay 安装创建了多个主题,我想知道是否可以将所有 portlet(5) 和主题(2)(也许是钩子等)合并到一个 WAR 文件中?
I can easily create Liferay portlets and themes individually using the Liferay plugin SDK. I have managed to combine multiple portlets into one WAR file which has been pretty convenient for deployment at client sites.
I have also created multiple themes for my Liferay installation and I was wondering if it's possible to combine all the portlets(5) and themes(2) ( perhaps hooks etc ) into one WAR file?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不认为主题和 portlet 可以打包在一起,也不应该为了更好的维护而打包在一起。
您始终可以将 portlet 打包并挂钩到一个插件项目中。如果 hook 中的功能与 portlet 绑定在一起,我通常会这样做,否则我会将其分开。
I dont think theme and portlets can be packaged together and it shouldnt be packaged together for better maintenance.
You can always package portlet and hook together in a single plugin project. I normally do it if the functionality in hook is tied with the portlet, otherwise I keep it separate.