Project Wonder Properties Files
Version 42.1 by David Avendasora on 2012/11/17 00:19
This Page will serve as a base location for talking about what can be done with the Properties files using Project Wonder and what properties are available etc.
Precedence
When the application launches, Properties files will be loaded in the following order. If there is a conflicting parameter between the files and arguments, the latter one overrides the earlier one.
- Resources/Properties in any frameworks that the application links to
- Resources/Properties.username in any frameworks that the application links to
- Resources/Properties in the application itself
- WebObjects.properties under the home directory (not sure on this file's precedence)
- Resources/Properties.dev (when app is launched in Development Mode)
- Properties in /etc/WebObjects/YourAppName/
- Resources/Properties.username in the application itself
- Command line arguments
Getting Started:
- Variable substitution
- Per user property files
Available Properties:
- DB Properties
- ERExtensions Properties
- Ajax Properties
Note: To set development mode
Add the following property:
er.extensions.ERXApplication.developmentMode = true (true by default when running Wolips)
To turn off development mode:
er.extensions.ERXApplication.developmentMode = false