掲示板

Liferay Plugin JSON file question

thumbnail
6年前 に William Gosse によって更新されました。

Liferay Plugin JSON file question

Liferay Master 投稿: 533 参加年月日: 10/07/04 最新の投稿
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
6年前 に David H Nebinger によって更新されました。

RE: Liferay Plugin JSON file question

Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
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!