我想更改autodeploy文件夹以在Liferay中部署我的自定义portlet。 我在Tomcat中使用Jelastic设置。我是否要更改portal-ext.propeties?
答案 0 :(得分:0)
实际上有2个地方我认为你会更新属性
portal-ext.properties 更新以下属性以获取您的自定义目录
# Set the directory to scan for layout templates, portlets, and themes to
# auto deploy.
#
auto.deploy.deploy.dir=${liferay.home}/deploy
对于您的插件-sdk,您必须将以下属性添加到构建。{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
希望这有帮助!