Wiki source code of Project Wonder Properties Files
Version 42.1 by David Avendasora on 2012/11/17 00:19
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | === 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. === | ||
2 | |||
3 | === Precedence === | ||
4 | |||
5 | 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. | ||
6 | |||
7 | 1. Resources/Properties in any frameworks that the application links to | ||
8 | 1. Resources/Properties.username in any frameworks that the application links to | ||
9 | 1. Resources/Properties in the application itself | ||
10 | 1. WebObjects.properties under the home directory (not sure on this file's precedence) | ||
11 | 1. Resources/Properties.dev (when app is launched in Development Mode) | ||
12 | 1. Properties in /etc/WebObjects/YourAppName/ | ||
13 | 1. Resources/Properties.username in the application itself | ||
14 | 1. Command line arguments | ||
15 | |||
16 | === Getting Started: === | ||
17 | |||
18 | [[About the Properties File>>documentation:About the Properties file]] | ||
19 | |||
20 | * Variable substitution | ||
21 | * Per user property files | ||
22 | |||
23 | === Available Properties: === | ||
24 | |||
25 | * DB Properties | ||
26 | * ERExtensions Properties | ||
27 | * Ajax Properties | ||
28 | |||
29 | === Note: To set development mode === | ||
30 | |||
31 | Add the following property: | ||
32 | er.extensions.ERXApplication.developmentMode = true (true by default when running Wolips) | ||
33 | To turn off development mode: | ||
34 | er.extensions.ERXApplication.developmentMode = false |