Dashboard > WebObjects > Home > Apple Maven Support and Nightly Builds
  WebObjects Log In View a printable version of the current page.  
  Apple Maven Support and Nightly Builds
Added by Mark Ritchie, last edited by Mark Ritchie on Jun 10, 2008  (view change)
Labels: 
(None)

Warning, these instructions are preliminary!

Contents
  1. Introduction
  2. Update WOLips plugins in Eclipse
  3. Nightly builds download and install
  4. Creating a new project
  5. Changing selected WebObjects runtime

Introduction

In June 2008, Apple began releasing nightly binary builds of the WebObjects frameworks. At the time, these builds included WebObjects versions 5.4.2, 5.5 and 6.0. The builds are in Maven 2 format and when used with the Apple Maven Support plugin they can be used to build self contained WebObjects applications and frameworks. Note that these project types use Maven and are different from a usual WOLips project.

Update WOLips plugins in Eclipse

Launch Eclipse 3.3.2
Choose menu Help -> Software Updates -> Find and Install
Choose "Search for new features to install"

Ensure that you have these 2 feature sites in the list

and

Then select only those feature sites

Click Finish and let the Update Manager determine which packages are available.
The list of features should be something like the picture below and you should select the features which are checked below:

Note: The Optional Components for Maven are not required for the Apple Maven Support.

Review and agree to the licenses for each of the bits which you're about to install.
Install all the features by following the on screen instructions from Eclipse.
Restart Eclipse

Nightly builds download and install

Download "WebObjects Nightly Builds" from the ADC Member Site.

Unarchive and install the nightly build into the local webserver's doc root.
For OS X this is /Library/WebServer/Documents/WebObjects

The first time you build a Apple Maven project, the files will be cached in your account . The default location for this cache on OS X is ~/.m2/repository.

Naturally this can be configured to be somewhere else however this is the default behaviour.

Creating a new project

Launch Eclipse
Choose menu File -> New -> Other
Under WOLips, select WebObjects Maven Application
Click Next and fill in the details as you normally would to create your project.

Note: These is a configuration page called Maven Artifact Configuration
On this page, you can select a bunch of things, among them, the version of WebObjects you want to build against.

Changing selected WebObjects runtime

Once the project has been setup, the properties can be accessed by:
select the file pom.xml
Control click on the file and select Properties
Select the Apple Maven pane
Here you can select which version of WebObjects to build against.

Site running on a free Atlassian Confluence Open Source Project License granted to ObjectStyle. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators