Download Wonder Source, Build and Install

Version 87.1 by Kieran Kelleher on 2010/01/11 12:30
Warning: For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.

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

Unknown macro: noformat. Click on this message for details.

  • Next perform initial checkout of Wonder source tree from Subversion head using the following command. This creates a folder named Wonder

Unknown macro: noformat. Click on this message for details.

  • As often as you prefer you can keep this up to date as follows:

Unknown macro: noformat. Click on this message for details.

Build and Install Wonder

  • Follow the "Building with Ant" instructions in the BUILD.txt document in the Wonder directory
Warning
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

h2. 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 ..