Changes for page Maven Creating Wonder Applications
Last modified by David Holt on 2022/06/25 01:40
From version 30.1
edited by Greg.Brown
on 2009/02/19 11:01
on 2009/02/19 11:01
Change comment:
There is no comment for this version
To version 38.1
edited by Greg.Brown
on 2009/02/18 14:32
on 2009/02/18 14:32
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -13,7 +13,7 @@ 13 13 14 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: [[Building the wonder source code with maven]]). 15 15 16 -Several things you should know , currently:16 +Several things you should know: 17 17 18 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. ... ... @@ -21,15 +21,14 @@ 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:wolimmave2.gif]]24 +1. Make a new project File > New > Other project, choose a Maven project: 25 25 1. Hit Next 26 -1. Hit Next again 27 -1. Select an archtype, use the local catalog, select the woapplication-archtype, hit Next:!wolimmaven.gif! 26 +1. Select an archtype, use the local catalog, select the woapplication-archtype, hit Next: 28 28 1. Fill in appropriate parameters for the woapplication-archtype to set up your new application, hit Finish! 29 29 30 30 The eclipse plugins now create your application! 31 31 32 - You should createaWOApplication Run Configuration and add theprojectsbuild folder'sJavato the classpath as detailed here: [[MavenRunning or DebuggingasWO Application]], otherwise classeswon'tbe found,etc.31 +There are some things you should do next. 33 33 34 34 {{note title="Warning"}} 35 35 The woapplication-archtype is under construction, so you must fix a few things. ... ... @@ -103,12 +103,8 @@ 103 103 104 104 </dependencies> 105 105 106 -{code} Fix the versions and classifiers inthe pomtobe the correct values.105 +{code} Fix the versions and classifiers to be the correct values. 107 107 108 - 2.Fix the Application, Session, DirectAction jave files. They all should:{code}import er.extensions.appserver.ERX????{code} But the ".appserver." isleftutof the importstatements.107 +# Fix the Application, Session, DirectAction jave files. They all should "import er.extensions.appserver.ERXApplication" or similar 109 109 110 -3. Possibly change web components to extend er.extensions.components.ERXComponent instead of the standard WOComponent. 111 -4. Possible classpath issues; the eclipse component editor has multiple Component and Display Group tabs.? 112 -5. Main component is NSMacOSRomanStringEncoding, non-Maven Wonder apps use "UTF-8" in the woo. 113 - 114 114 {{/note}}