Getting the Wonder Source Code

Version 135.1 by David Avendasora on 2011/04/26 13:22
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.

Error

There is no valid license for Pro Macros. Please visit the Licenses section.

Why?

Instead of constantly re-downloading and installing the latest Wonder binaries you should work directly with the latest source code. It has several advantages including:

  • You'll learn a lot about WebObjects, EOF and Object-Oriented Patterns
  • Easily search, browse and even modify and improve Wonder
  • Work with a specific revision, which is key for teams, quality control and development cycles
  • Add logging statements in Wonder source so you can better understand what is going when tracking down hard to find bugs
  • Discover the many Hidden Treasures of Wonder.

Downloading

Open a terminal and navigate to a directory where you want to maintain a source "working copy" and just use the following commands to clone Wonder source to your computer.

  1. h5. Clone the source repository from GitHub into a new directory named "WonderSource" or whatever you'd like.
Error

There is no valid license for Pro Macros. Please visit the Licenses section.

git clone git://github.com/projectwonder/wonder.git WonderSource

You should see output something like this:

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

  1. h5. Navigate into the working copy root
cd WonderSource
Error

There is no valid license for Pro Macros. Please visit the Licenses section.

  1. h5. Build and Install
    For building and installing the Wonder Frameworks, please see the standard Building and Installing WO Frameworks with Ant pages.
Information

If you have any trouble or errors due to your local repository getting corrupted, simply delete the entire local repository (the {{\/Roots}} directory) and start over using this source clone procedure.