Project Wonder Properties Files

Version 37.1 by Greg.Brown on 2009/09/30 08:52

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.

  1. Resources/Properties in any frameworks that the application links to
  2. Resources/Properties.username in any frameworks that the application links to
  3. Resources/Properties in the application itself
  4. WebObjects.properties under the home directory (not sure on this file's precedence)
  5. Resources/Properties.dev (when app is launched in Development Mode
  6. Properties in /etc/WebObjects/YourAppName/
  7. Resources/Properties.username in the application itself
  8. Command line arguments

Property File tricks and tips:

  • Variable  substitution
  • Per user property files

Available Properties:

  • DB Properties
  • ERExtenstions Properties
  • Ajax Properties

Note: To set development mode

Add the following property:
er.extensions.ERXApplication.developmentMode = true (true by default?)
To turn off development mode:
er.extensions.ERXApplication.developmentMode = false