Project WebSynergy Milestone 4 Administration Guide

Properties Override

This property specifies where to get the overridden properties. By default, it is portal-ext.properties. Updates should not be made on the original file (portal.properties) but on the overridden version of this file. Furthermore, each portal instance can have its own overridden property file following the convention portal-companyid.properties.

For example, one read order may be: portal.properties, then portal-ext.properties, and then portal-test.properties.

Examples:

include-and-override=portal-ext.properties

include-and-override=portal-${easyconf:companyId}.properties

include-and-override=portal-test.properties

You can add additional property files that overwrite the default values by using the external-properties system property.

A common use case is to keep legacy property values when upgrading to newer versions of WebSynergy. For example:


java ... -Dexternal-properties=portal-legacy-4.4.properties
include-and-override=${external-properties}