在Jelastic上的Liferay中自动部署portlet

时间:2013-09-27 10:14:24

标签: liferay-6 portal jelastic autodeploy

我想更改autodeploy文件夹以在Liferay中部署我的自定义portlet。 我在Tomcat中使用Jelastic设置。我是否要更改portal-ext.propeties?

1 个答案:

答案 0 :(得分:0)

实际上有2个地方我认为你会更新属性

  1. portal-ext.properties 更新以下属性以获取您的自定义目录

    # Set the directory to scan for layout templates, portlets, and themes to
    # auto deploy.
    #
    
    auto.deploy.deploy.dir=${liferay.home}/deploy
    
  2. 对于您的插件-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
    
  3. 希望这有帮助!