Setting configuration parameters
For many tasks that are related to customizing Decision Center, you must set configuration parameters. You can set these parameters in Ant tasks and the Business console.
This topic shows you how to use Ant tasks to set configuration parameters. You can also use the Business console to define configuration parameters, or settings (see Custom settings).
When you use Ant tasks to set the configuration parameters, the property file containing the parameters is in decisioncenter.war/WEB-INF/lib/teamserver-model-XXX.jar/ilog/rules/teamserver/preferences.properties.
When you work directly in the preferences.properties file, the names of properties depend on the location of the file. For example, 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. However, If you put the file in WEB-INF/lib/teamserver-model-XXX.jar/ilog/rules/, the name of the property should be decisioncenter.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
usernamevalue 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>