Last modified by Bastian Triller on 2013/10/05 10:40

From version 155.1
edited by Kieran Kelleher
on 2010/09/27 17:51
Change comment: There is no comment for this version
To version 173.1
edited by Kieran Kelleher
on 2010/10/04 21:09
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -11,7 +11,7 @@
11 11  
12 12  == Source Frameworks Initial Installation ==
13 13  
14 -Open a terminal and navigate to a directory where you want to maintain a source "working copy" and just use the following easy-peasy commands to download the Wonder source. Note that the build and installation commands are slighly different for WebObjects 5.4.X. So procedures for both WebObjects 5.4.X and 5.3.X are shown below. Pick you poison:
14 +Open a terminal and navigate to a directory where you want to maintain a source "working copy" and just use the following easy-peasy commands to download the Wonder source. Note that as of repository version 11387 (Sep 27, 2010) the Wonder repository URL is the only difference between the Wonder source procedure for WebObjects 5.3.3 and WebObjects 5.4.3 installation. For your copy/paste convenience, the full procedures for both WebObjects 5.4.X and 5.3.X are shown below. WebObjects 5.4.3 and the Wonder branch for same is recommended and is where the most features are expected to be found.
15 15  
16 16  {{code title="Procedure for WebObjects 5.4.X"}}
17 17  
... ... @@ -51,9 +51,9 @@
51 51  
52 52  == Source Frameworks Upgrade Installation ==
53 53  
54 -Assuming you already installed Wonder from source using the method outlined above, you can use the following procedure to upgrade to a newer, or just different version. Note that the procedure for both WebObjects 5.4.X and 5.3.X are outlined below. They are the same except for the last 3 ant commands.
54 +Assuming you already installed Wonder from source using the method outlined above, and you are using the branch of Wonder appropriate to your WebObjects version, you can use the following procedure to upgrade to a newer, or just different version, as long as that version is greater than repository version 11387 (Sep 27, 2010, which was when the WO 5.4 branch was first introduced).
55 55  
56 -{{code title="Procedure for WebObjects 5.4.X"}}
56 +{{code title="Procedure for WebObjects 5.3.X or 5.4.X"}}
57 57  
58 58  # Navigate to the Roots directory that was automatically created by the initial Source installation procedure above
59 59  cd ~/Roots/
... ... @@ -73,27 +73,6 @@
73 73  
74 74  {{/code}}
75 75  
76 -{{code title="Procedure for WebObjects 5.3.X"}}
77 -
78 -# Navigate to the Roots directory that was automatically created by the initial Source installation procedure above
79 -cd ~/Roots/
80 -
81 -# Delete all installed frameworks whose names match the built frameworks in this Roots build folder
82 -for FRAMEWORK in `echo *.framework`; do sudo rm -r /Library/Frameworks/${FRAMEWORK}; done
83 -
84 -# Navigate to the original Wonder source directory that you created above during initial source installation
85 -cd /path/to/WonderSource
86 -
87 -# Update the source to the HEAD revision (aka latest). You can also use a specific svn
88 -# repository version instead of the term 'HEAD', for example 11272
89 -svn update --force --accept theirs-full --revision HEAD
90 -
91 -# Clean, build and install the frameworks
92 -ant clean; ant frameworks; sudo ant frameworks.install
93 -
94 -
95 -{{/code}}
96 -
97 97  {{info}}
98 98  
99 99  If you have any trouble or errors due to your working copy getting hosed, then simply delete the entire working copy directory, the \~/Roots directory and just start over using the initial source installation procedure outlined above.