Wiki source code of wolips.properties

Version 25.1 by Kieran Kelleher on 2012/08/06 15:27

Hide last authors
Kieran Kelleher 24.1 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.
juch80 6.1 2
3 The location of this file differs by operating system:
4
Kieran Kelleher 24.1 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}}
juch80 6.1 9
Kieran Kelleher 24.1 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):
juch80 6.1 11
12 {{code}}
13
Kieran Kelleher 22.1 14 # Directory path that contains Library/Frameworks/[Apple WebObjects frameworks]
juch80 6.1 15 wo.system.root=/System
Kieran Kelleher 24.1 16
Kieran Kelleher 22.1 17 # Directory that contains [user WebObjects frameworks]
juch80 6.1 18 wo.user.frameworks=/Users/chuck/Library/Frameworks
Kieran Kelleher 24.1 19
Kieran Kelleher 22.1 20 # Directory that contains [Apple WebObjects frameworks]
juch80 6.1 21 wo.system.frameworks=/System/Library/Frameworks
Kieran Kelleher 24.1 22
juch80 6.1 23 wo.bootstrapjar=/System/Library/WebObjects/JavaApplications/wotaskd.woa/WOBootstrap.jar
Kieran Kelleher 24.1 24
Kieran Kelleher 22.1 25 # Directory that contains network shared [WebObjects frameworks]
juch80 6.1 26 wo.network.frameworks=/Network/Library/Frameworks
Kieran Kelleher 24.1 27
Kieran Kelleher 22.1 28 # Directory for javadoc lookup by Eclipse
juch80 6.1 29 wo.api.root=/Developer/ADC%20Reference%20Library/documentation/WebObjects/Reference/API/
Kieran Kelleher 24.1 30
Kieran Kelleher 22.1 31 # Directory path that contains Library/Frameworks/[network shared WebObjects frameworks]
juch80 6.1 32 wo.network.root=/Network
Kieran Kelleher 24.1 33
Kieran Kelleher 22.1 34 # Directory that contains unmanaged unversioned global jars available to WebObjects runtime (generally a bad idea)
juch80 6.1 35 wo.extensions=/Library/WebObjects/Extensions
Kieran Kelleher 24.1 36
Kieran Kelleher 22.1 37 # User home directory
juch80 6.1 38 wo.user.root=/Users/chuck
Kieran Kelleher 24.1 39
Kieran Kelleher 22.1 40 # A directory containing [non-Apple WebObjects frameworks]
juch80 6.1 41 wo.local.frameworks=/Library/Frameworks
Kieran Kelleher 24.1 42
Kieran Kelleher 22.1 43 # A directory where WebObjects applications are installed
juch80 6.1 44 wo.apps.root=/Library/WebObjects/Applications
Kieran Kelleher 24.1 45
Kieran Kelleher 22.1 46 # Directory path that contains Library/Frameworks/[non-Apple WebObjects frameworks]
juch80 6.1 47 wo.local.root=/
48
49 {{/code}}
Kieran Kelleher 15.1 50
Ray Kiddy 21.1 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
Kieran Kelleher 24.1 66 See [[doc:Using WOLips With Multiple Versions of WebObjects]] for how to use different wolips.properties files with different WO version.