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