Wiki source code of Download Wonder Source, Build and Install
Version 87.1 by Kieran Kelleher on 2010/01/11 12:30
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
80.1 | 1 | == Introduction == |
![]() |
77.1 | 2 | |
![]() |
80.1 | 3 | Instead of downloading the Wonder binaries, working from the latest source code directly can have some advantages such as: |
![]() |
77.1 | 4 | |
![]() |
80.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 | ||
8 | * Add logging statements in Wonder source so you can better understand what is going when tracking down hard to find bugs | ||
![]() |
77.1 | 9 | |
![]() |
86.1 | 10 | == Downloading Wonder Source from Subversion == |
![]() |
77.1 | 11 | |
![]() |
80.1 | 12 | * Decide on a directory where you will maintain the latest Wonder source tree on your hard drive. I have a directory ',,/WonderLatest' in my home folder.,, |
13 | * Open a terminal shell and navigate to the directory | ||
![]() |
77.1 | 14 | |
![]() |
80.1 | 15 | {{noformat}} |
![]() |
77.1 | 16 | |
![]() |
86.1 | 17 | mkdir ~/WonderLatest |
![]() |
77.1 | 18 | |
![]() |
80.1 | 19 | {{/noformat}} |
![]() |
77.1 | 20 | |
![]() |
86.1 | 21 | * Next perform initial checkout of Wonder source tree from Subversion head using the following command. This creates a folder named Wonder |
![]() |
79.1 | 22 | |
![]() |
77.1 | 23 | {{noformat}} |
24 | |||
![]() |
86.1 | 25 | svn co https://wonder.svn.sourceforge.net/svnroot/wonder/trunk/Wonder ~/WonderLatest |
![]() |
77.1 | 26 | |
27 | {{/noformat}} | ||
28 | |||
![]() |
86.1 | 29 | * As often as you prefer you can keep this up to date as follows: |
30 | |||
31 | {{noformat}} | ||
32 | |||
33 | cd ~/WonderLatest | ||
34 | svn up | ||
35 | |||
36 | {{/noformat}} | ||
37 | |||
![]() |
80.1 | 38 | == Build and Install Wonder == |
![]() |
77.1 | 39 | |
![]() |
86.1 | 40 | * Follow the "Building with Ant" instructions in the BUILD.txt document in the Wonder directory |
41 | |||
42 | {{warning title="WebObjects 5.4.X Compatability"}} | ||
43 | |||
44 | 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: | ||
45 | |||
46 | ant -Dwonder.patch=54 frameworks; sudo ant -Dwonder.patch=54 frameworks.install | ||
47 | |||
48 | |||
49 | h2. Concepts | ||
50 | This complete procedure results in you having | ||
51 | * a Wonder directory with the whole Wonder source tree (directories, projects, frameworks, example apps, miscellaneous, etc.) inside. | ||
52 | * The binary Wonder frameworks ("ant frameworks") will be installed in /Library/Frameworks. | ||
53 | * If you ran "ant applications", they will be installed in ... | ||
54 | * If you ran "ant examples", they will be installed in .. | ||
55 | {{/warning}} |