Wiki source code of Download Wonder Source, Build and Install
Version 212.1 by Kieran Kelleher on 2010/08/14 19:52
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
136.1 | 1 | == Introduction == |
![]() |
128.1 | 2 | |
![]() |
136.1 | 3 | Instead of downloading the Wonder binaries, working from the latest source code directly can have some advantages such as: |
![]() |
77.1 | 4 | |
![]() |
210.1 | 5 | * Ability to browse the source code and learn from the wisdom and experience of the WO committers |
6 | * Put breakpoints in and step through Wonder source when debugging your projects | ||
7 | * Provide opportunities to submit patches to bugs you might find in Wonder | ||
![]() |
112.1 | 8 | * Add logging statements in Wonder source so you can better understand what is going when tracking down hard to find bugs |
9 | |||
![]() |
210.1 | 10 | == Downloading Wonder Source from Subversion == |
![]() |
112.1 | 11 | |
![]() |
212.1 | 12 | * Open a terminal shell and navigate to the directory where you want to maintain the WonderSource directory and decide on a name of the folder that will contain the Wonder source. For this example, we will use the name //WonderSource// |
13 | * Perform initial checkout of Wonder source tree from Subversion head using the following command. This checks out the source into the directory WonderLatest | ||
![]() |
186.1 | 14 | |
![]() |
210.1 | 15 | {{noformat}} |
![]() |
186.1 | 16 | |
![]() |
212.1 | 17 | svn co http://wonder.svn.sourceforge.net/svnroot/wonder/trunk/Wonder WonderSource |
![]() |
128.1 | 18 | |
![]() |
210.1 | 19 | {{/noformat}} |
![]() |
170.1 | 20 | |
![]() |
210.1 | 21 | * As often as you prefer you can keep this up to date as follows: |
![]() |
196.1 | 22 | |
![]() |
210.1 | 23 | {{noformat}} |
![]() |
170.1 | 24 | |
![]() |
212.1 | 25 | cd /path/to/WonderSource |
![]() |
210.1 | 26 | svn up |
![]() |
194.1 | 27 | |
![]() |
210.1 | 28 | {{/noformat}} |
![]() |
194.1 | 29 | |
![]() |
210.1 | 30 | == Build and Install Wonder == |
![]() |
194.1 | 31 | |
![]() |
210.1 | 32 | * Follow the "Building with Ant" instructions in the BUILD.txt document in the Wonder directory |
![]() |
194.1 | 33 | |
![]() |
210.1 | 34 | {{warning title="WebObjects 5.4.X Compatability"}} |
![]() |
194.1 | 35 | |
![]() |
210.1 | 36 | The default instructions in Wonder's BUILD.txt produce binaries that are compatable with WO 5.3.3. If you are using WO 5.4.X, then you need to add the "-Dwonder.patch=54" option to the ant commands. For example: |
![]() |
194.1 | 37 | |
![]() |
212.1 | 38 | ant \-Dwonder.patch=54 frameworks; sudo ant \-Dwonder.patch=54 frameworks.install |
![]() |
194.1 | 39 | |
![]() |
210.1 | 40 | {{/warning}} |
![]() |
194.1 | 41 | |
![]() |
210.1 | 42 | == Concepts == |
![]() |
170.1 | 43 | |
![]() |
212.1 | 44 | This complete procedure results in you having |
![]() |
170.1 | 45 | |
![]() |
210.1 | 46 | * a Wonder directory with the whole Wonder source tree (directories, projects, frameworks, example apps, miscellaneous, etc.) inside. |
47 | * The binary Wonder frameworks ("ant frameworks") will be installed in /Library/Frameworks. | ||
48 | * If you ran "ant applications", they will be installed in ... | ||
49 | * If you ran "ant examples", they will be installed in ... |