Last modified by Pascal Robert on 2012/02/11 08:06

Show last authors
1 == Introduction ==
2
3 The most recent binary build of Wonder frameworks for both WO 5.3.3 and WO 5.4.3 are available from [[jenkins.wocommunity.org>>url:http://jenkins.wocommunity.org||shape="rect"]]. This installation method gets you the latest version.
4
5 However, if you are not afraid of source (and you shouldn't be!), then try the Source installation and upgrade article instead. Really, working with Wonder source is the recommended way, and you will learn more and be a better WebObjects developer as a result
6
7 == Overview ==
8
9 The objective is to simply download the compressed archive of the Wonder frameeworks, expand the archive and copy the frameworks to the default frameworks location.
10
11 == New Installation Procedure ==
12
13 Open a terminal session and type the following easy commands. Choose the one for your WebObjects version.
14
15 {{code language="bash" title="Procedure for WebObjects 5.4.X" linenumbers="true"}}
16 # Make a directory for the binaries
17 mkdir ~/WonderBinaries54
18
19 # Go into the directory
20 cd ~/WonderBinaries54
21
22 # Download the binaries archive
23 curl -L -O http://jenkins.wocommunity.org/job/Wonder/lastSuccessfulBuild/artifact/Root/Roots/Wonder-Frameworks.tar.gz
24
25 # Decompress the archive
26 tar -xzvf Wonder-Frameworks.tar.gz
27
28 # Copy the frameworks to the default runtime path
29 sudo cp -Rvf *.framework /Library/Frameworks
30 {{/code}}
31
32 {{code language="bash" title="Procedure for WebObjects 5.3.X" linenumbers="true"}}
33 # Make a directory for the binaries
34 mkdir ~/WonderBinaries53
35
36 # Go into the directory
37 cd ~/WonderBinaries53
38
39 # Download the binaries archive
40 curl -L -O http://jenkins.wocommunity.org/job/WonderLegacy/lastSuccessfulBuild/artifact/Root/Roots/Wonder-Frameworks.tar.gz
41
42 # Decompress the archive
43 tar -xzvf Wonder-Frameworks.tar.gz
44
45 # Copy the frameworks to the default runtime path
46 sudo cp -Rvf *.framework /Library/Frameworks
47 {{/code}}
48
49 {{info title="If you have a custom environment layout"}}
50 If you want to install the frameworks somewhere other than the default location, replace "/Library/Frameworks" on the last line above with the desired destination
51 {{/info}}
52
53 == Upgrade Existing Installation Procedure ==
54
55 You can just download and copy using the finder, or use the command line as follows to cleanly remove the old installation and install a fresh latest binaries upgrade.
56
57 Assuming you have the same working directory as above whn you did a new installation
58
59 {{code language="bash" title="Procedure for WebObjects 5.4.X" linenumbers="true"}}
60 # Navigate to the directory where you previously expanded the original binaries
61 cd ~/WonderBinaries54
62
63 # Delete the installed binary frameworks whose names match the nams of the frameworks in this working directory
64 for FRAMEWORK in `echo *.framework`; do sudo rm -r /Library/Frameworks/${FRAMEWORK}; done
65
66 # Delete the contents of this working directory
67 rm -r *
68
69 # Download latest binaries archive
70 curl -L -O http://jenkins.wocommunity.org/job/Wonder/lastSuccessfulBuild/artifact/Root/Roots/Wonder-Frameworks.tar.gz
71
72 # Expand the archive
73 tar -xzvf Wonder-Frameworks.tar.gz
74
75 # Install the frameworks
76 sudo cp -Rvf *.framework /Library/Frameworks
77 {{/code}}
78
79 {{code language="bash" title="Procedure for WebObjects 5.3.X" linenumbers="true"}}
80 # Navigate to the directory where you previously expanded the original binaries
81 cd ~/WonderBinaries53
82
83 # Delete the installed binary frameworks whose names match the nams of the frameworks in this working directory
84 for FRAMEWORK in `echo *.framework`; do sudo rm -r /Library/Frameworks/${FRAMEWORK}; done
85
86 # Delete the contents of this working directory
87 rm -r *
88
89 # Download latest binaries archive
90 curl -L -O http://jenkins.wocommunity.org/job/WonderLegacy/lastSuccessfulBuild/artifact/Root/Roots/Wonder-Frameworks.tar.gz
91
92 # Expand the archive
93 tar -xzvf Wonder-Frameworks.tar.gz
94
95 # Install the frameworks
96 sudo cp -Rvf *.framework /Library/Frameworks
97 {{/code}}
98
99 {{info title="If you have a custom environment layout"}}
100 If you installed the frameworks somewhere other than the default location, replace "/Library/Frameworks" on the second and last lines above with the directory containing the installed frameworks.
101 {{/info}}