Wiki source code of wolips.properties

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

Hide last authors
Kieran Kelleher 9.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
5 **OS X**: ##/Users/<user>/Library/Application Support/WOLips/wolips.properties##
6 **Linux**: ##/home/<user>/Library/Application Support/WOLips/wolips.properties##
7 **Windows**: ##C:ocuments and Settingsuser>ibrarypplication SupportOLipsolips.properties##
8 **Windows 7**: ##C:sersuser>ppDataoamingOLipsolips.properties##
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
Kieran Kelleher 9.1 14 # Directory path that contains Library/Frameworks/[Apple WebObjects frameworks]
juch80 6.1 15 wo.system.root=/System
Kieran Kelleher 9.1 16
17 # Directory that contains [user WebObjects frameworks]
juch80 6.1 18 wo.user.frameworks=/Users/chuck/Library/Frameworks
Kieran Kelleher 9.1 19
20 # Directory that contains [Apple WebObjects frameworks]
juch80 6.1 21 wo.system.frameworks=/System/Library/Frameworks
Kieran Kelleher 9.1 22
juch80 6.1 23 wo.bootstrapjar=/System/Library/WebObjects/JavaApplications/wotaskd.woa/WOBootstrap.jar
Kieran Kelleher 9.1 24
25 # Directory that contains network shared [WebObjects frameworks]
juch80 6.1 26 wo.network.frameworks=/Network/Library/Frameworks
Kieran Kelleher 9.1 27
28 # Directory for javadoc lookup by Eclipse
juch80 6.1 29 wo.api.root=/Developer/ADC%20Reference%20Library/documentation/WebObjects/Reference/API/
Kieran Kelleher 9.1 30
31 # Directory path that contains Library/Frameworks/[network shared WebObjects frameworks]
juch80 6.1 32 wo.network.root=/Network
Kieran Kelleher 9.1 33
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 9.1 36
37 # User home directory
juch80 6.1 38 wo.user.root=/Users/chuck
Kieran Kelleher 9.1 39
40 # A directory containing [non-Apple WebObjects frameworks]
juch80 6.1 41 wo.local.frameworks=/Library/Frameworks
Kieran Kelleher 9.1 42
43 # A directory where WebObjects applications are installed
juch80 6.1 44 wo.apps.root=/Library/WebObjects/Applications
Kieran Kelleher 9.1 45
46 # Directory path that contains Library/Frameworks/[non-Apple WebObjects frameworks]
juch80 6.1 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 [[Using WOLips With Multiple Versions of WebObjects]] for how to use different wolips.properties files with different WO version.