Last modified by D Tim Cummings on 2022/07/27 02:24

From version 70.1
edited by David Avendasora
on 2011/06/13 01:30
Change comment: Migrated to Confluence 4.0
To version 74.2
edited by D Tim Cummings
on 2022/07/27 02:24
Change comment: Changed document parent to [xwiki:WOL.Home.WebHome].

Summary

Details

Page properties
Parent
... ... @@ -1,0 +1,1 @@
1 +WOL.Home.WebHome
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.avendasora
1 +XWiki.timcu
Tags
... ... @@ -1,0 +1,1 @@
1 +54|53|woinstaller|versions|install|favourite|devtools
Content
... ... @@ -2,7 +2,7 @@
2 2  
3 3  ==== Create New Directory Structure ====
4 4  
5 -[[image:url:http://wiki.objectstyle.org/confluence/download/attachments/5275708/media_1245674441767.png?version=10]]
5 +[[image:attach:media_1245674441767.png]]
6 6  
7 7  The first thing we need to do is to create a new directory structure to allow for multiple versions of WebObjects to be installed in. This new directory structure basically creates a new root level that WOLips will look in for all frameworks used by a given project or workspace. This directory structure can be anything you wish. For demonstration purposes, I'm going to create it under the {{code language="none"}}/Developer{{/code}} directory.
8 8  
... ... @@ -10,18 +10,17 @@
10 10  
11 11  ==== Download WOInstaller.jar ====
12 12  
13 -[[image:url:http://wiki.objectstyle.org/confluence/download/attachments/5275708/media_1245677004032.png?version=10]]
13 +[[image:attach:media_1245677004032.png]]
14 14  
15 -We now need to download the {{code language="none"}}WOInstaller.jar{{/code}} file from [[http:~~/~~/webobjects.mdimension.com/wolips/>>url:http://webobjects.mdimension.com/wolips/||shape="rect"]]{{code language="none"}}{{/code}} and save it into the {{code language="none"}}Versions/{{/code}} directory we just created.
15 +We now need to download the {{code language="none"}}WOInstaller.jar{{/code}} file from [[https:~~/~~/jenkins.wocommunity.org/job/WOInstaller/lastSuccessfulBuild/artifact/Utilities/WOInstall/WOInstaller.jar>>url:https://jenkins.wocommunity.org/job/WOInstaller/lastSuccessfulBuild/artifact/Utilities/WOInstall/WOInstaller.jar||shape="rect"]]{{code language="none"}}{{/code}} and save it into the {{code language="none"}}Versions/{{/code}} directory we just created.
16 16  
17 17  ==== Use WOInstaller.jar to download WebObjects ====
18 18  
19 -[[image:url:http://wiki.objectstyle.org/confluence/download/attachments/5275708/media_1245678323686.png?version=10]]
19 +[[image:attach:media_1245678323686.png]]
20 20  
21 21  Open Terminal.app and run one of the following commands:
22 22  
23 23  {{noformat}}
24 -
25 25  java -jar /Developer/WebObjects/Versions/WOInstaller.jar 5.3.3 /Developer/WebObjects/Versions/WebObjects533
26 26  java -jar /Developer/WebObjects/Versions/WOInstaller.jar 5.4.3 /Developer/WebObjects/Versions/WebObjects543
27 27  
... ... @@ -31,13 +31,13 @@
31 31  
32 32  ==== Installed Versions ====
33 33  
34 -[[image:url:http://wiki.objectstyle.org/confluence/download/attachments/5275708/media_1245679408792.png?version=10]]
33 +[[image:attach:media_1245679408792.png]]
35 35  
36 36  When the script has finished downloading, your directory should look something like this. At this point you could rename the directory to something like MyCustomer or MyProject. For this demonstration we'll just leave it named as is.
37 37  
38 38  ==== Open Eclipse / WOLips ====
39 39  
40 -[[image:url:http://wiki.objectstyle.org/confluence/download/attachments/5275708/media_1245679819648.png?version=10]]
39 +[[image:attach:media_1245679819648.png]]
41 41  
42 42  You need to launch Eclipse and WOLips at least once so that it will create the default {{code language="none"}}wolips.properties{{/code}} file in {{code language="none"}}~/Library/Application Support/WOLips/{{/code}}. If you've already been using WOlips, you can skip this step.
43 43  
... ... @@ -47,7 +47,7 @@
47 47  
48 48  ==== Make a copy of the default {{code language="none"}}wolips.properties{{/code}} file ====
49 49  
50 -[[image:url:http://wiki.objectstyle.org/confluence/download/attachments/5275708/media_1245680007266.png?version=10]]
49 +[[image:attach:media_1245680007266.png]]
51 51  Select the {{code language="none"}}wolips.properties{{/code}} file and make a copy of it. Then rename the copy to be {{code language="none"}}wolips.yourversion.properties{{/code}}. In reality, you can rename it however you'd like (for example: {{code language="none"}}wolips.properties.533{{/code}} or {{code language="none"}}533.wolips.properties{{/code}}), but I find that putting the version number in the middle (e.g. {{code language="none"}}wolips.533.properties{{/code}}) will keep all the different versions together, and will not mess with the extension mapping.
52 52  
53 53  ==== Modify your new {{code language="none"}}wolips.533.properties{{/code}} file to point to your newly downloaded version of WebObjects ====
... ... @@ -55,7 +55,6 @@
55 55  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):
56 56  
57 57  {{noformat}}
58 -
59 59  wo.network.root=/Network
60 60  wo.system.root=/Developer/WebObjects/Versions/WebObjects533/System
61 61  wo.local.root=/Developer/WebObjects/Versions/WebObjects533
... ... @@ -88,7 +88,7 @@
88 88  
89 89  ===== Option 1 - Configure the Eclipse workspace to reference your new {{code language="none"}}wolips.properties{{/code}} file =====
90 90  
91 -[[image:url:http://wiki.objectstyle.org/confluence/download/attachments/5275708/media_1245680796194.png?version=10]]
89 +[[image:attach:media_1245680796194.png]]
92 92  
93 93  With this option, we're telling the Eclipse/WOLips internal incremental builder to reference a specific {{code language="none"}}wolips.properties{{/code}} file for the entire workspace (rather than using the default, which is {{code language="none"}}$HOME/Library/Application Support/WOLips/wolips.properties{{/code}}). And by doing this, we're implicitly telling Eclipse which installation of WebObjects we want it to use.
94 94  
... ... @@ -118,11 +118,13 @@
118 118  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:
119 119  
120 120  {{noformat}}
121 -
122 122  wolips.properties=/Users/bubba/Library/Application Support/WOLips/wolips.533.properties
123 123  
124 124  {{/noformat}}
125 125  
123 +(% class="auto-cursor-target" %)
124 +\\
125 +
126 126  {{note}}
127 127  Note that for now (as of WOLips version 3.4.5830), this really must be an absolute, fully-qualified filepath; if you were to specify a relative filename, Eclipse/WOLips would treat it as being relative to {{code language="none"}}$HOME/Library/Application Support/WOLips{{/code}}, but Ant (using the default {{code language="none"}}build.xml{{/code}}) would treat it as being relative to your project's base folder.
128 128  
... ... @@ -142,7 +142,6 @@
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 144  {{noformat}}
145 -
146 146  ant -lib /path/to/woproject.jar
147 147  
148 148  {{/noformat}}
... ... @@ -150,7 +150,6 @@
150 150  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:
151 151  
152 152  {{noformat}}
153 -
154 154  mkdir -p ~/.ant/lib
155 155  cp -p /Applications/eclipse-3.4.2/plugins/org.objectstyle.wolips.woproject.ant_3.4.5830/lib/woproject.jar ~/.ant/lib
156 156  
build.properties.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +57.1 KB
Content
media_1245674441767.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +70.2 KB
Content
media_1245677004032.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +156.0 KB
Content
media_1245678323686.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +21.4 KB
Content
media_1245679408792.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +69.1 KB
Content
media_1245679819648.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +18.4 KB
Content
media_1245680007266.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +55.0 KB
Content
media_1245680796194.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +94.2 KB
Content
media_1245681896724.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +43.7 KB
Content
media_1245682066002.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
Size
... ... @@ -1,0 +1,1 @@
1 +40.0 KB
Content
XWiki.XWikiComments[0]
Date
... ... @@ -1,0 +1,1 @@
1 +2009-12-21 10:20:53.0
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.flabrie
Comment
... ... @@ -1,0 +1,1 @@
1 +Do not use the ~~ prefix for the "wolips.properties" property in your "build.properties" file as shown in the picture above: //Java Properties// don't support this. You should write the full path.