Setting configuration parameters
For many tasks that are related to customizing Decision Center, you must set configuration parameters.
You can use Ant tasks or the Installation Settings Wizard in the Decision Center Enterprise console to set these parameters.
The properties file containing the configuration parameters is available in teamserver.war/WEB-INF/lib/teamserver-model-XXX.jar/ilog/rules/teamserver/preferences.properties.
When working directly in the preferences.properties file, the names of properties depend on the location of the preferences.properties file, for example with build.path:
- If you put the file in WEB-INF/lib/teamserver-model-XXX.jar/ilog/rules/teamserver/, the name of the property should be build.path.
- If you put the file in WEB-INF/lib/teamserver-model-XXX.jar/ilog/rules/, the name of the property should be teamserver.build.path.
- set-config-param
Sets a configuration parameter for a specified user. If the user is not specified, it sets a global parameter.
Parameters:- -Dserver.url=<server url>
- -DdatasourceName=<data source name>
- [-Duser=<username>]
- -Dkey=<parameter key>
- -Dvalue=<parameter value>
For example:ant set-config-param -Dkey=locale -Dvalue=en_US
- remove-config-param
Drops the configuration parameter for a specified user. If the user is not specified, it drops the global configuration parameter.
Parameters:- -Dserver.url=<server url>
- -DdatasourceName=<data source name>
- [-Duser=<username>]
- -Dkey=<parameter key>
- print-config-param
Prints the global parameters or specified user parameters if the
username
value is specified. If no key is specified, all keys are printed.Parameters:- -Dserver.url=<server url>
- -DdatasourceName=<data source name>
- [-Duser=<username>]
- -Dkey=<parameter key>