WebObjects/Project WONDER/Installing

From Wikibooks, open books for an open world
Jump to navigation Jump to search

There are two ways to install Project WOnder -- binary distribution or building from source.

Nightly Build Server[edit | edit source]

The easiest way is to install the binary distribution. m Dimension Technology runs a nightly build server for Project WOnder that preserves historical builds at http://webobjects.mdimension.com/wonder . Simply grab the Wonder-VERSIONNUMBER-Frameworks.tar.gz archive and uncompress it into your /Library/Frameworks folder, and you have successfully installed Project WOnder.

Build from Source[edit | edit source]

The second, slightly more annoying, way to install WOnder is to build it yourself from the SourceForge CVS tree.

  1. cvs -d:pserver:anonymous@wonder.cvs.sourceforge.net:/cvsroot/wonder login
  2. There is no password
  3. cvs -z3 -d:pserver:anonymous@wonder.cvs.sourceforge.net:/cvsroot/wonder co -P Wonder
  4. cd Wonder
  5. You will need to make sure you have a wobuild.properties file in ~/Library/. The contents should be similar to this:
 wo.dir.root=/
 wo.woroot=/
 wo.dir.user.home.library.frameworks=/Users/username/Library/Frameworks
 wo.dir.local=/
 wo.wosystemroot=/System
 wo.dir.library=/System/Library
 wo.dir.user.home.library=/Users/username/Library
 wo.dir.local.library=/Library
 wo.dir.library.frameworks=/System/Library/Frameworks
 wo.dir.local.library.frameworks=/Library/Frameworks
 wo.wolocalroot=/
 wo.dir.system=/System
 eclipse.home=/Developer/Applications/Java\ Tools/Eclipse/

Lastly, run "ant dist", "ant frameworks", or "ant examples".

This will build all the frameworks and applications into ~/Roots.