You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »


Instead of downloading the Wonder binaries, working from the latest source code directly can have some advantages such as:

  • Ability to conveniently browse and search 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
  • Work with specific versions of Wonder in a project - good practice for quality control, especially for teams

Downloading Wonder Source from Subversion

  • 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
  • Perform initial checkout of Wonder source tree from Subversion head using the following command. This checks out the source into the directory WonderSource, automatically creating WonderSource if it does not exist.
    svn co WonderSource
  • As often as you prefer you can keep this up to date as follows:
    cd /path/to/WonderSource
    svn up

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


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 ...
  • No labels