Versions Compared

Key

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

...

http://wonder.cvs.sourceforge.net/*checkout*/wonder/Wonder/BUILD.txt?revision=HEAD

Currently (February 2009) the wonder frameworks, applications, etc, can be built for WebObjects 5.3.x or 5.4.x; the choice is made by using a "profile" which has the value of wo53 or wo54, e.g.:

Code Block

 mvn clean install -P wo53

This installs frameworks for WebObjects 5.3.x, some of which appear in your local repository with the wo53 qualifier:

Code Block

./repository/wonder/core/ERExtensions/5.0.0-SNAPSHOT/ERExtensions-5.0.0-SNAPSHOT-wo53.jar

and most frameworks are the same for either version of WebObjects, and have nor need any qualifier.

To utilize these frameworks in a wonder supported project, one must add the correct dependency, and this will depend on which profile you want to link to. This is done by a maven "classifier", which is used to select the correct qualifier. A qualifier is part of the basic artifact coordinate system:

<major version>.<minor version>.<incremental version>-<qualifier>

For ERExtensions, this is: 5 . 0 . 0-SNAPSHOT - wo53; which selects the correct dependency for WebObjects 5.3.x. In the pom dependencies section this would be

Code Block
xml
xml
 	
 <dependency>
 <groupId>wonder.core</groupId>
 <artifactId>ERExtensions</artifactId>
 <version>5.0.0-SNAPSHOT</version>
 <classifier>wo53</classifier>
</dependency>

See also the woapplication-archetype ( http://wiki.objectstyle.org/confluence/display/WOL/woapplication-archetype ) which can create wonder supported applications or frameworks which utilize the maven standard project layout.