我可以将多个 Liferay portlet 和一个主题打包到一个 WAR 文件中吗?

发布于 2025-01-06 21:16:12 字数 190 浏览 4 评论 0原文

我可以使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

拥抱我好吗 2025-01-13 21:16:12

我不认为主题和 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文