Config.properties

From Kasai documentation

As described in Installation, Kasai is configured through a properties file. By default this file is obtained as a resource bundle from org.manentia.kasai.Config. So basically you should copy the sample file provided with Kasai to some folder in your classpath as org/manentia/kasai/Config.properties.

If you would like to change the location and/or name of the configuration file, or would like to use an existing properties file in your application (adding Kasais parameters to it), you can let the framework know your configuration location by setting the org.manentia.kasai.configPath system property to the resource bundle location.

For example if your configuration file is com/mycompany/accounting/Configuration.properties, you should run your application like this:

# java -Dorg.manentia.kasai.configPath=”com.mycompany.accounting.Configuration”
   com.mycompany.SomeMain

Note that all of Kasai properties must be present and have a valid value in the selected configuration file. See Configuring Kasai for details.

Personal tools
Navigation