Introduction
Instead of downloading the Wonder binaries, working from the latest source code directly can have some advantages such as:
- Ability to browse the source code and learn from the wisdom and experience of the WO committers
- Put breakpoints in and step through Wonder source when debugging your projects
- Provide opportunities to submit patches to bugs you might find in Wonder
- Add logging statements in Wonder source so you can better understand what is going when tracking down hard to find bugs
Downloading Wonder Source from Subversion
- 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.
- Open a terminal shell and navigate to the directory
- Next perform initial checkout of Wonder source tree from Subversion head using the following command. This creates a folder named Wonder
- As often as you prefer you can keep this up to date as follows:
Build and Install Wonder
- Follow the "Building with Ant" instructions in the BUILD.txt document in the Wonder directory
 | WebObjects 5.4.X Compatability
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:
ant -Dwonder.patch=54 frameworks; sudo ant -Dwonder.patch=54 frameworks.install |
Concepts
This complete procedure results in you having
- a Wonder directory with the whole Wonder source tree (directories, projects, frameworks, example apps, miscellaneous, etc.) inside.
- The binary Wonder frameworks ("ant frameworks") will be installed in /Library/Frameworks.
- If you ran "ant applications", they will be installed in ...
- If you ran "ant examples", they will be installed in ...