Changes for page Using WOLips With Multiple Versions of WebObjects
Last modified by Yana Oksner on 2026/01/08 12:28
From version 74.2
edited by D Tim Cummings
on 2023/11/13 11:55
on 2023/11/13 11:55
Change comment:
Update document after refactoring.
To version 75.1
edited by Yana Oksner
on 2026/01/08 12:28
on 2026/01/08 12:28
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. timcu1 +XWiki.yanasd - Content
-
... ... @@ -20,11 +20,11 @@ 20 20 21 21 Open Terminal.app and run one of the following commands: 22 22 23 -{{ noformat}}23 +{{code}} 24 24 java -jar /Developer/WebObjects/Versions/WOInstaller.jar 5.3.3 /Developer/WebObjects/Versions/WebObjects533 25 25 java -jar /Developer/WebObjects/Versions/WOInstaller.jar 5.4.3 /Developer/WebObjects/Versions/WebObjects543 26 26 27 -{{/ noformat}}27 +{{/code}} 28 28 29 29 (depending upon which version of WebObjects you would like to download.) 30 30 ... ... @@ -53,7 +53,7 @@ 53 53 54 54 As an example, if you downloaded WebObjects 5.3.3 into {{code language="none"}}/Developer/WebObjects/Versions/WebObjects533{{/code}}, then modify your new {{code language="none"}}wolips.533.properties{{/code}} file as follows (substituting your username for {{code language="none"}}bubba{{/code}}, of course): 55 55 56 -{{ noformat}}56 +{{code}} 57 57 wo.network.root=/Network 58 58 wo.system.root=/Developer/WebObjects/Versions/WebObjects533/System 59 59 wo.local.root=/Developer/WebObjects/Versions/WebObjects533 ... ... @@ -71,7 +71,7 @@ 71 71 wo.api.root=/Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.WebObjectsReference.docset/Contents/Resources/\ 72 72 Documents/documentation/InternetWeb/Reference/WO542Reference 73 73 74 -{{/ noformat}}74 +{{/code}} 75 75 76 76 ==== Configure Eclipse to use your newly installed version of WebObjects ==== 77 77 ... ... @@ -115,10 +115,10 @@ 115 115 116 116 Currently, the Eclipse Ant builder is not controlled by the "WOLips -> Build" setting in Eclipse's Preferences. In order to build with Ant, you first need to tell Ant where to find your WebObjects installation and other resources. Your project's default Ant buildfile, {{code language="none"}}build.xml{{/code}} (which is created by WOLips when you create a new WebObjects application project), reads and uses the properties found in your {{code language="none"}}$HOME/Library/Application Support/WOLips/wolips.properties{{/code}} file. But you can specify a different {{code language="none"}}wolips.properties{{/code}} file by adding a line like the following to your project's {{code language="none"}}build.properties{{/code}} file: 117 117 118 -{{ noformat}}118 +{{code}} 119 119 wolips.properties=/Users/bubba/Library/Application Support/WOLips/wolips.533.properties 120 120 121 -{{/ noformat}}121 +{{/code}} 122 122 123 123 (% class="auto-cursor-target" %) 124 124 \\ ... ... @@ -141,18 +141,18 @@ 141 141 142 142 You can do this either via the {{code language="none"}}-lib{{/code}} parameter to the {{code language="none"}}ant{{/code}} command, e.g. 143 143 144 -{{ noformat}}144 +{{code}} 145 145 ant -lib /path/to/woproject.jar 146 146 147 -{{/ noformat}}147 +{{/code}} 148 148 149 149 or by putting a copy of {{code language="none"}}woproject.jar{{/code}} someplace where Ant will find it. A convenient location for it is your {{code language="none"}}$HOME/.ant/lib{{/code}} folder: 150 150 151 -{{ noformat}}151 +{{code}} 152 152 mkdir -p ~/.ant/lib 153 153 cp -p /Applications/eclipse-3.4.2/plugins/org.objectstyle.wolips.woproject.ant_3.4.5830/lib/woproject.jar ~/.ant/lib 154 154 155 -{{/ noformat}}155 +{{/code}} 156 156 157 157 ===== (2) The location of your {{code language="none"}}wolips.properties{{/code}} file: ===== 158 158 ... ... @@ -160,8 +160,8 @@ 160 160 161 161 Example: 162 162 163 -{{ noformat}}163 +{{code}} 164 164 $ ant -Dwolips.properties=/Users/bubba/Library/Application\ Support/WOLips/wolips.533.properties clean build 165 -{{/ noformat}}165 +{{/code}} 166 166 167 167 As above, you cannot use a tilde character as an abbreviation for your home directory (but you in fact //could// use an environment variable such as {{code language="none"}}$HOME{{/code}} - the shell would expand it before passing it to ant).