Changes for page Building the wonder source code with maven
Last modified by Lachlan Deck on 2009/03/24 19:05
From version 33.1
edited by Greg.Brown
on 2009/02/16 09:49
on 2009/02/16 09:49
Change comment:
There is no comment for this version
To version 36.1
edited by Ulrich Köster
on 2007/02/03 06:08
on 2007/02/03 06:08
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. gbrown1 +XWiki.uli - Content
-
... ... @@ -1,42 +1,30 @@ 1 - Building instructions arein thefileBUILD.txt at the toplevelof the CVScheckout.1 +Steps 1-4 are required only once. 2 2 3 -http:~/~/wonder.cvs.sourceforge.net/*checkout*/wonder/Wonder/BUILD.txt?revision=HEAD 3 +~1. Install maven http:~/~/maven.apache.org 4 + 5 +2. Open a terminal and cd into the wonder root directory. 4 4 5 -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.: 7 +3. Import the webobjects frameworks as jars into the local repository: 8 +mvn ---non--recursive wobootstrap:bootstrap 6 6 7 -{{code}} 10 +4. Import some jars into the local maven repository: 11 +mvn install:install-file --DgroupId=icu4j --DartifactId=icu4j - 12 +Dversion=2.8 --Dpackaging=jar --Dfile=Common/Frameworks/ERJars/ 13 +Libraries/icu4j//2//8.jar 14 +mvn install:install-file --DgroupId=javax --DartifactId=mail - 15 +Dversion=1.3 --Dpackaging=jar --Dfile=Common/Frameworks/ERJavaMail/ 16 +Libraries/mail-1.3.jar 17 +mvn install:install-file --DgroupId=javax --DartifactId=activation - 18 +Dversion=1.0.2 --Dpackaging=jar --Dfile=Common/Frameworks/ERJavaMail/ 19 +Libraries/activation-1.0.2.jar 20 +mvn install:install-file --DgroupId=jndi --DartifactId=jndi - 21 +Dversion=1.2.1 --Dpackaging=jar --Dfile=Common/Frameworks/ 22 +ERChangeNotificationJMS/Libraries/jndi//1.2.1.jar 23 +mvn install:install-file --DgroupId=jms --DartifactId=jms - 24 +Dversion=1.0.2 --Dpackaging=jar --Dfile=Common/Frameworks/ 25 +ERChangeNotificationJMS/Libraries/jms//1.0.2a.jar 26 +mvn install:install-file --DgroupId=metaparadigm --DartifactId=jsonrpc 27 +--Dversion=1.0 --Dpackaging=jar --Dfile=Ajax/Ajax/Libraries/jsonrpc.jar-- 8 8 9 - mvn clean install -P wo53 10 - 11 -{{/code}} 12 - 13 -This installs frameworks for WebObjects 5.3.x, some of which appear in your local repository with the wo53 qualifier: 14 - 15 -{{code}} 16 - 17 -./repository/wonder/core/ERExtensions/5.0.0-SNAPSHOT/ERExtensions-5.0.0-SNAPSHOT-wo53.jar 18 - 19 -{{/code}} 20 - 21 -and most frameworks are the same for either version of WebObjects, and have nor need any qualifier. 22 - 23 -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: 24 - 25 -<major version>.<minor version>.<incremental version>-<qualifier> 26 - 27 -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 28 - 29 -{{code value="xml"}} 30 - 31 - <dependency> 32 - <groupId>wonder.core</groupId> 33 - <artifactId>ERExtensions</artifactId> 34 - <version>5.0.0-SNAPSHOT</version> 35 - <classifier>wo53</classifier> 36 -</dependency> 37 - 38 -{{/code}} 39 - 40 - 41 - 42 -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. 29 +5. Build wonder 30 +mvn install