Changes for page Maven Creating Wonder Applications
Last modified by David Holt on 2022/06/25 01:40
To version 27.1
edited by Greg.Brown
on 2009/02/20 07:26
on 2009/02/20 07:26
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. ldeck1 +XWiki.gbrown - Content
-
... ... @@ -43,36 +43,18 @@ 43 43 {code:xml} 44 44 45 45 <properties> 46 - <woclassifier>wo54</woclassifier> 47 - <woversion>5.4.3</woversion> 46 + <woversion>5.3.3</woversion> 48 48 <wonderversion>5.0.0-SNAPSHOT</wonderversion> 49 49 </properties> 50 50 51 - <!-- the dependency management section defines the characteristics of your dependencies to use when referenced elsewhere --> 52 - <!-- See http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html --> 53 53 <dependencyManagement> 54 - <!-- Only ERExtensions and WOOgnl need a wo53 or wo54 classifier but adding it for all WOnder dependencies safeguards it for any future changes to WOnder --> 55 55 <dependencies> 56 - <!-- in the order you'd like --> 57 57 <dependency> 58 - <groupId>wonder.core</groupId> 59 - <artifactId>ERExtensions</artifactId> 60 - <version>${wonderversion}</version> 61 - <classifier>${woclassifier}</classifier> 53 + <groupId>com.webobjects</groupId> 54 + <artifactId>JavaFoundation</artifactId> 55 + <version>${woversion}</version> 62 62 </dependency> 63 63 <dependency> 64 - <groupId>wonder.core</groupId> 65 - <artifactId>ERPrototypes</artifactId> 66 - <version>${wonderversion}</version> 67 - <classifier>${woclassifier}</classifier> 68 - </dependency> 69 - <dependency> 70 - <groupId>wonder.core</groupId> 71 - <artifactId>WOOgnl</artifactId> 72 - <version>${wonderversion}</version> 73 - <classifier>${woclassifier}</classifier> 74 - </dependency> 75 - <dependency> 76 76 <groupId>com.webobjects</groupId> 77 77 <artifactId>JavaWebObjects</artifactId> 78 78 <version>${woversion}</version> ... ... @@ -82,48 +82,54 @@ 82 82 <artifactId>JavaEOAccess</artifactId> 83 83 <version>${woversion}</version> 84 84 </dependency> 67 + <dependency> 68 + <groupId>wonder.core</groupId> 69 + <artifactId>ERExtensions</artifactId> 70 + <version>${wonderversion}</version> 71 + <classifier>wo53</classifier> 72 + </dependency> 85 85 <dependency> 86 - <groupId>com.webobjects</groupId> 87 - <artifactId>JavaFoundation</artifactId> 88 - <version>${woversion}</version> 74 + <groupId>wonder.core</groupId> 75 + <artifactId>ERPrototypes</artifactId> 76 + <version>${wonderversion}</version> 77 + 89 89 </dependency> 90 90 </dependencies> 91 91 </dependencyManagement> 92 - 93 - <!-- now you just reference the groupId and artifactId of each dependency required. This will work for any child pom also. --> 94 - <!-- See http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html --> 81 +<!-- Only ERExtensions and WOOgnl need a wo53 or wo54 classifier --> 95 95 <dependencies> 96 96 <dependency> 97 97 <groupId>wonder.core</groupId> 98 98 <artifactId>ERExtensions</artifactId> 99 - <classifier>${wonderclassifier}</classifier> 86 + <version>${wonderversion}</version> 87 + <classifier>wo53</classifier> 100 100 </dependency> 101 101 <dependency> 102 102 <groupId>wonder.core</groupId> 103 - <artifactId>WOOgnl</artifactId> 104 - <classifier>${wonderclassifier}</classifier> 105 - </dependency> 106 - <dependency> 107 - <groupId>wonder.core</groupId> 108 108 <artifactId>ERPrototypes</artifactId> 92 + <version>${wonderversion}</version> 109 109 </dependency> 110 110 <dependency> 111 111 <groupId>com.webobjects</groupId> 112 112 <artifactId>JavaFoundation</artifactId> 97 + <version>${woversion}</version> 113 113 </dependency> 114 114 <dependency> 115 115 <groupId>com.webobjects</groupId> 116 116 <artifactId>JavaWebObjects</artifactId> 102 + <version>${woversion}</version> 117 117 </dependency> 118 118 <dependency> 119 119 <groupId>com.webobjects</groupId> 120 120 <artifactId>JavaEOAccess</artifactId> 107 + <version>${woversion}</version> 121 121 </dependency> 109 + 122 122 </dependencies> 123 123 124 124 {code} Fix the versions and classifiers in the pom to be the correct values. 125 125 126 -2. Fix the Application, Session, DirectAction jave files import statements.As of this writing theimport statementsare incorrect for Wonder5.0 which refactoredall its classesintopackagesotherhan{code}er.extensions{code}.So justrightclick on Thesethreefilesand chooseSource > Organize Importswhich should, as of this writing, makethem {code}importer.extensions.appserver.ERX...{code}114 +2. Fix the Application, Session, DirectAction jave files. They all should: {code}import er.extensions.appserver.ERX????{code} But the ".appserver." is left out of the import statements. 127 127 128 128 3. Possibly change web components to extend er.extensions.components.ERXComponent instead of the standard WOComponent. 129 129 4. Possible classpath issues; the eclipse component editor has multiple Component and Display Group tabs.?