Last modified by David Holt on 2022/06/25 01:40

From version 55.1
edited by Lachlan Deck
on 2023/11/13 11:56
Change comment: Renamed back-links.
To version 51.1
edited by Lachlan Deck
on 2009/04/04 12:25
Change comment: Removing obsolete warnings

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,0 @@
1 -WOLips Tutorials
Tags
... ... @@ -1,1 +1,0 @@
1 -wikireview
Content
... ... @@ -1,40 +1,38 @@
1 1  = Creating Wonder Applications using Maven + m2eclicpse =
2 2  
3 3  {{note}}
4 -Under Construction - but still a good starting point
4 + Under Construction - but still a good starting point
5 5  {{/note}}
6 6  
7 7  If you want to use Wonder in your applications (and why woundn't one) you must be correctly setup with:
8 8  
9 9  * eclipse + wolips > see tutorial about installation and operation.
10 -* Maven > see the Maven [[doc:WOL.Quick Start]] tutorial.
11 -* plugins like [[m2eclipse>>url:http://m2eclipse.codehaus.org/||shape="rect"]] which supports Maven-eclipse integration.
10 +* Maven > see the Maven [[WOL:Quick Start]] tutorial.
11 +* plugins like [[m2eclipse>>http://m2eclipse.codehaus.org/]] which supports Maven-eclipse integration.
12 12  * Wonder sources which then are built and installed in your local repository.
13 13  
14 -One reasonable way to get and maintain the Wonder sources is have a directory which holds all the sources (see here: [[Download Wonder Source>>url:http://wiki.objectstyle.org/confluence/display/WONDER/Download+Wonder+Source%2C+Build+and+Install||shape="rect"]]), then use Maven to install and build Wonder (see here: [[doc:WOL.Home.WOProject-Maven.Building the wonder source code with maven.WebHome]]).
14 +One reasonable way to get and maintain the Wonder sources is have a directory which holds all the sources (see here: [[Download Wonder Source>>http://wiki.objectstyle.org/confluence/display/WONDER/Download+Wonder+Source%2C+Build+and+Install]]), then use Maven to install and build Wonder (see here: [[WOL:Building the wonder source code with maven]]).
15 15  
16 16  Several things you should know, currently:
17 17  
18 -* Wonder is built using a maven "build profile", e.g. "mvn clean install -P wo53" builds things for a WebObjects 5.3.x environment and "mvn clean install -P wo54" builds things for a WebObjects 5.4.x environment.
18 +* Wonder is built using a maven "build profile", e.g. "mvn clean install --P wo53" builds things for a WebObjects 5.3.x environment and "mvn clean install --P wo54" builds things for a WebObjects 5.4.x environment.
19 19  * The only frameworks which are different because of this are ERExtensions and WOOgnl.
20 20  * Because of this difference you must specify which version you want. For instance, you may want the ERExtensions-5.0.0-SNAPSHOT-wo53.jar, or the ERExtensions-5.0.0-SNAPSHOT-wo54.jar. You specify by adding a "classifier", which would have the value of wo53 or wo54. The other frameworks should not have this classifier.
21 21  
22 22  With all the tools ready, it's time to make a Wonder application.
23 23  
24 -~1. Make a new project File > New > Other project, choose a Maven project:[[image:attach:wolimmave2.gif]]
24 +~1. Make a new project File > New > Other project, choose a Maven project: [[image:wolimmave2.gif]]
25 25  
26 26  2. Hit Next
27 27  
28 -3. Hit Next again[[image:attach:wolimmavena.gif]]
28 +3. Hit Next again [[image:wolimmavena.gif]]
29 29  
30 -4. Select an archtype, use the local catalog, select the woapplication-archtype, hit Next:[[image:attach:wolimmavenb.gif]]
30 +4. Select an archtype, use the local catalog, select the woapplication-archtype, hit Next:!wolimmavenb.gif!
31 31  
32 -(What does one do if one selects the "Default Local" and one sees: "No archetypes available for this catalog."? What can one do to correct this? -rrk (ray at ganymede.org) 2022-06-24)
32 +5. Fill in appropriate parameters for the woapplication-archtype to set up your new application, hit Finish!
33 33  
34 -5. Fill in appropriate parameters for the woapplication-archtype to set up your new application, hit Finish!
34 +[[image:wolimmaven.gif]]
35 35  
36 -[[image:attach:wolimmaven.gif]]
36 +The eclipse plugins now create your application!
37 37  
38 -The eclipse plugins now create your application!
39 -
40 -You should create a WOApplication Run Configuration and add the projects build folder's Java to the classpath as detailed here: [[doc:Maven Running or Debugging as WO Application]], otherwise classes won't be found, etc.
38 +You should create a WOApplication Run Configuration and add the projects build folder's Java to the classpath as detailed here: [[Maven Running or Debugging as WO Application]], otherwise classes won't be found, etc.
wolimmave2.gif
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -37.7 KB
Content
wolimmaven.gif
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -56.7 KB
Content
wolimmavena.gif
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -37.6 KB
Content
wolimmavenb.gif
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -66.5 KB
Content