Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Clone the source repository from github into a new directory named "WonderSource".
    Note
    titleRead Only

    Note the URL shown here is the public read-only URL. Committers should use the SSH form of the URL for read-write

    Code Block
    none
    none
    git clone git://github.com/projectwonder/wonder.git WonderSource
    You should see output something like this:
    No Format
    
    Cloning into WonderSource...
    remote: Counting objects: 174269, done.
    remote: Compressing objects: 100% (57304/57304), done.
    remote: Total 174269 (delta 107374), reused 173934 (delta 107067)
    Receiving objects: 100% (174269/174269), 137.94 MiB | 8.29 MiB/s, done.
    Resolving deltas: 100% (107374/107374), done.
    
  2. Navigate into the working copy root
    Code Block
    none
    none
    cd WonderSource
    Note
    titleWebObjects 5.3.3 Compatability

    If you are still using old WebObjects 5.3.3, then you need to execute this git command to switch to the branch for WebObjects 5.3.3:

    Code Block
    git checkout --track origin/Wonder_5_0_0_Legacy

...

  1. Build the frameworks from the "cloned" source.
    Code Block
    none
    none
    ant frameworks
  2. Install the frameworks (this just copies the built frameworks from ~/Roots to the runtime Frameworks directory, usually at /Library/Frameworks)
    Code Block
    none
    none
    sudo ant frameworks.install

...

  1. Navigate to the Roots directory that was automatically created by the initial Source installation procedure above
    Code Block
    none
    none
    cd ~/Roots/
  2. Delete all installed frameworks whose names match the built frameworks in this Roots build folder
    Code Block
    none
    none
    for FRAMEWORK in `echo *.framework`; do sudo rm -r /Library/Frameworks/${FRAMEWORK}; done
  3. Navigate to the original Wonder source directory that you created above during initial source installation
    Code Block
    none
    none
    cd /path/to/WonderSource
  4. Pull the changes you do not have and merge them with your local repository
    Code Block
    none
    none
    git pull
  5. Clean, build and install the frameworks
    Code Block
    none
    none
    ant clean
    ant frameworks
    sudo ant frameworks.install
    

...

Info
Custom Development Enviroment File layout using Custom wolips.properties
Custom Development Enviroment File layout using Custom wolips.properties

If you have a custom wolips properties file for a specific workspace and you want to have a specific Wonder clone for that workspace, you can simply link your custom wolips properties file to a soft link named build.properties in the working copy root directory. The Wonder build script will supersede all other filesystem layout poperties with the properties in that file.

For example:

Code Block
none
none
$ cd my/special/purpose/clone/of/Wonder
$ ln -s ~/Library/Application\ Support/WOLips/wolips.custom.properties build.properties

An example of where this approach might be used would be when you have different projects (perhaps in a specially designated workspace) that use a specific version of WebObjects and a specific version or branch of Wonder.

Tip: Specify a custom build directory for Wonder by adding the property 'wo.external.root' to the custom wolips properties file, for example

Code Block
none
none
wo.external.root=/Users/mike/Developer/special/directory/Roots

Tip: A custom WebServer install directory can be specified to Wonder by adding the property 'wo.server.root' to the custom wolips properties file also.