Changes for page Packaging WO Applications as true WAR with Maven
Last modified by Ulrich Köster on 2009/08/02 20:26
From version 13.1
edited by Henrique Prange
on 2008/05/15 19:27
on 2008/05/15 19:27
Change comment:
There is no comment for this version
To version 14.1
edited by Henrique Prange
on 2008/06/27 20:08
on 2008/06/27 20:08
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -4,7 +4,7 @@ 4 4 5 5 == Step 1: Create a web.xml file == 6 6 7 -You need to create a web.xml file. You can download a simple web.xml file [[here |]]. Don't forget to change the displayName and the WOMainBundle properties:7 +You need to create a web.xml file. You can download a simple web.xml file [[here>>^web.xml]]. Don't forget to change the displayName and the WOMainBundle properties: 8 8 9 9 {{noformat}} 10 10 ... ... @@ -23,7 +23,7 @@ 23 23 24 24 == Step 2: Create/generate an Info.plist file == 25 25 26 -You also need to create or generate a valid Info.plist file into your resources folder. [[Here |]] is a sample Info.plist. You have to change the $your-app-name and $package occurrences with the respective application name and Application class package.26 +You also need to create or generate a valid Info.plist file into your resources folder. [[Here>>^Info.plist]] is a sample Info.plist. You have to change the $your-app-name and $package occurrences with the respective application name and Application class package. 27 27 28 28 == Step 3: Package your classes, resources and webserver resources == 29 29 ... ... @@ -51,7 +51,7 @@ 51 51 {{noformat}} 52 52 53 53 <dependency> 54 - <groupId>com. apple.webobjects</groupId>54 + <groupId>com.webobjects</groupId> 55 55 <artifactId>JavaWOJSPServlet</artifactId> 56 56 <version>${woversion}</version> 57 57 </dependency> ... ... @@ -63,7 +63,7 @@ 63 63 {{noformat}} 64 64 65 65 <dependency> 66 - <groupId>com. apple.webobjects</groupId>66 + <groupId>com.webobjects</groupId> 67 67 <artifactId>JavaWOJSPServlet_client</artifactId> 68 68 <version>${woversion}</version> 69 69 </dependency> ... ... @@ -74,7 +74,7 @@ 74 74 75 75 == Step 5: Change the packaging type == 76 76 77 -The default maven-war-plugin can handle the war packaging correctly. You have to change the packaging of your POM to 'war' in order to use this plug-in: 77 +The default [[maven-war-plugin>>http://maven.apache.org/plugins/maven-war-plugin/]] can handle the war packaging correctly. You have to change the packaging of your POM to 'war' in order to use this plug-in: 78 78 79 79 {{noformat}} 80 80 ... ... @@ -86,7 +86,7 @@ 86 86 87 87 = Running your application as true WAR = 88 88 89 -You can use the maven-jetty-plugin to run and test your application. 89 +You can use the [[maven-jetty-plugin>>http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin]] to run and test your application. 90 90 91 91 == Step 1: Configure the maven-jetty-plugin == 92 92 ... ... @@ -117,4 +117,4 @@ 117 117 118 118 == Step 3: See the result == 119 119 120 -Open a browser and type the URL for your application like this: http: ~/~/locahost:8080/your-app-name/WebObjects/120 +Open a browser and type the URL for your application like this: [[http://locahost:8080/your-app-name/WebObjects/]]