Is It Possible To Change Deployed War Location?

Issue

  • The default location of the deployed war is ${liferay.home}/osgi/war folder. Is it possible to change the location?

 

Environment

  • Liferay DXP 7.0+

 

Resolution

  • You can use the following property to change the directory. 
    #
    # Set the directory where the module framework WAR applications will be
    # placed.
    #
    # Env: LIFERAY_MODULE_PERIOD_FRAMEWORK_PERIOD_WAR_PERIOD_DIR
    #
    module.framework.war.dir=${module.framework.base.dir}/war
  • Note: The bottom-most folder must be named war.
この記事は役に立ちましたか?
0人中0人がこの記事が役に立ったと言っています