掲示板

Multiple properties file

thumbnail
9年前 に Aravinth Kumar によって更新されました。

Multiple properties file

Regular Member 投稿: 152 参加年月日: 13/06/26 最新の投稿
Hi,
How to configure different properties file based on environment(Dev,Production,UAT).
Thanks in advance
thumbnail
9年前 に David H Nebinger によって更新されました。

RE: Multiple properties file

Liferay Legend 投稿: 14916 参加年月日: 06/09/02 最新の投稿
You mean for portal-ext.properties kind of thing?

There's a command line parameter, -Dexternal-properties=blah-blah-blah.properties that will be loaded. So you can use -Dexternal-properties=my-dev.properties or -Dexternal-properties=my-uat.properties or -Dexternal-properties=my-prod.properties.