Wiki source code of wolips.properties

Last modified by D Tim Cummings on 2012/08/06 15:27

Show last authors
1 The wolips.properties file tells WOLips (and the Ant based build) where to find the various parts of WebObjects and friends. This replaces the wobuild.properties files used by earlier version (pre-New Hotness) of WOLips, though the wobuild.properties file still gets used by ant builds of the Wonder frameworks and applications.
2
3 The location of this file differs by operating system:
4
5 **OS X**: {{code language="none"}}/Users/<user>/Library/Application Support/WOLips/wolips.properties{{/code}}
6 **Linux**: {{code language="none"}}/home/<user>/Library/Application Support/WOLips/wolips.properties{{/code}}
7 **Windows**: {{code language="none"}}C:\Documents and Settings\<user>\Library\Application Support\WOLips\wolips.properties{{/code}}
8 **Windows 7**: {{code language="none"}}C:\Users\<user>\AppData\Roaming\WOLips\wolips.properties{{/code}}
9
10 The wolips.properties file should be created automatically, but if this does not happen, it can be created manually (e.g. with a text editor). Example contents of this file (modify to match the locations on your machine):
11
12 {{code}}
13
14 # Directory path that contains Library/Frameworks/[Apple WebObjects frameworks]
15 wo.system.root=/System
16
17 # Directory that contains [user WebObjects frameworks]
18 wo.user.frameworks=/Users/chuck/Library/Frameworks
19
20 # Directory that contains [Apple WebObjects frameworks]
21 wo.system.frameworks=/System/Library/Frameworks
22
23 wo.bootstrapjar=/System/Library/WebObjects/JavaApplications/wotaskd.woa/WOBootstrap.jar
24
25 # Directory that contains network shared [WebObjects frameworks]
26 wo.network.frameworks=/Network/Library/Frameworks
27
28 # Directory for javadoc lookup by Eclipse
29 wo.api.root=/Developer/ADC%20Reference%20Library/documentation/WebObjects/Reference/API/
30
31 # Directory path that contains Library/Frameworks/[network shared WebObjects frameworks]
32 wo.network.root=/Network
33
34 # Directory that contains unmanaged unversioned global jars available to WebObjects runtime (generally a bad idea)
35 wo.extensions=/Library/WebObjects/Extensions
36
37 # User home directory
38 wo.user.root=/Users/chuck
39
40 # A directory containing [non-Apple WebObjects frameworks]
41 wo.local.frameworks=/Library/Frameworks
42
43 # A directory where WebObjects applications are installed
44 wo.apps.root=/Library/WebObjects/Applications
45
46 # Directory path that contains Library/Frameworks/[non-Apple WebObjects frameworks]
47 wo.local.root=/
48
49 {{/code}}
50
51 Example on Windows:
52
53 {{code}}
54
55 wo.system.root=C:/Apple
56 wo.system.frameworks=C:/Apple/Library/Frameworks
57 wo.bootstrapjar=C:/Apple/Library/WebObjects/JavaApplications/wotaskd.woa/WOBootstrap.jar
58 wo.extensions=C:/Apple/Local/Library/WebObjects/Extensions
59 wo.user.root=C:/username
60 wo.local.frameworks=C:/Apple/Local/Library/Frameworks
61 wo.apps.root=C:/Apple/Library/WebObjects/JavaApplications
62 wo.local.root=C:/Apple/Local
63
64 {{/code}}
65
66 See [[doc:WOL.Home.Using WOLips With Multiple Versions of WebObjects.WebHome]] for how to use different wolips.properties files with different WO version.