留言板

Liferay Plugin JSON file question

thumbnail
William Gosse,修改在6 年前。

Liferay Plugin JSON file question

Liferay Master 帖子: 533 加入日期: 10-7-4 最近的帖子
I've been using the new Liferay theme and layout generator for a while now and I really like it. One thing I was hoping to get some info on is theliferay-plugin.json file. The file contains pathing information for the local dev environement:
{
  "LiferayPlugin": {
    "appServerPath": "/Users/wg/app/liferay-dxp-digital-enterprise-7.0-sp4/wildfly-10.0.0",
    "deployPath": "/Users/wg/app/liferay-dxp-digital-enterprise-7.0-sp4/deploy",
    "url": "http://localhost:8080",
    "appServerPathPlugin": "/Users/wg/app/liferay-dxp-digital-enterprise-7.0-sp4/wildfly-10.0.0/webapps/otaas-2-column-3-9-layouttpl",
    "deployed": true,
    "pluginName": "otaas-2-column-3-9-layouttpl"
  }
}


I was curious in the example above if /Users/wg/app/liferay-dxp-digital-enterprise-7.0-sp4/ could be replaced with a variable containing the liferay home directory. This would make a little easier to share with others through a revision control system.
thumbnail
David H Nebinger,修改在6 年前。

RE: Liferay Plugin JSON file question

Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
That file is not meant to be shared as-is in revision control. It is up to each person you share it with to have the custom file which points to locations within their own environment.











Come meet me at 2017 LSNA!