【发布时间】:2013-09-27 10:14:24
【问题描述】:
我会更改自动部署文件夹以在 Liferay 中部署我的自定义 portlet。 我在 Tomcat 中使用 Jelastic 设置。我需要更改 portal-ext.propeties 吗?
【问题讨论】:
标签: liferay-6 portal jelastic autodeploy
我会更改自动部署文件夹以在 Liferay 中部署我的自定义 portlet。 我在 Tomcat 中使用 Jelastic 设置。我需要更改 portal-ext.propeties 吗?
【问题讨论】:
标签: liferay-6 portal jelastic autodeploy
实际上有两个地方我认为你会更新属性
portal-ext.properties 更新以下属性以获得您的自定义目录
# Set the directory to scan for layout templates, portlets, and themes to
# auto deploy.
#
auto.deploy.deploy.dir=${liferay.home}/deploy
对于您的 plugin-sdk,您必须将以下属性添加到您的 build.{username}.properties
# Auto Deploy
# Plugins will be deployed to this directory. Make sure that Liferay is
# also set to scan this directory.
#
auto.deploy.dir=${app.server.dir}/../deploy
希望这会有所帮助!
【讨论】: