tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r1087684 - in /tuscany/sca-java-2.x/trunk/unreleased/samples/getting-started/helloworld-webapp: README pom.xml
Date Fri, 01 Apr 2011 12:34:41 GMT
Author: antelder
Date: Fri Apr  1 12:34:41 2011
New Revision: 1087684

URL: http://svn.apache.org/viewvc?rev=1087684&view=rev
Update the webapp sample to use the tuscany plugin to run the webapp


Modified: tuscany/sca-java-2.x/trunk/unreleased/samples/getting-started/helloworld-webapp/README
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/unreleased/samples/getting-started/helloworld-webapp/README?rev=1087684&r1=1087683&r2=1087684&view=diff
--- tuscany/sca-java-2.x/trunk/unreleased/samples/getting-started/helloworld-webapp/README
+++ tuscany/sca-java-2.x/trunk/unreleased/samples/getting-started/helloworld-webapp/README
Fri Apr  1 12:34:41 2011
@@ -11,13 +11,11 @@ and there is a JSP page which shows how 
 As this sample creates a web application .war archive there is a manual step to deploy the
WAR file
 to your web application server. The archive is the helloworld-webapp-<version>.war
in the target folder.
-Alternatively, you can run it by using the Maven Tomcat plugin by using the following command:
+Alternatively, you can run it by using the Tuscany Maven plugin by using the following command:
-   mvn tomcat:run
+   mvn tuscany:run
-or if you prefer Jetty then:
-   mvn jetty:run
+(or if you prefer using Jetty then mvn jetty:run, or with the Tomcat plugin mvn tomcat:run)
 Once the web app is running use your browser to visit the following URL;

Modified: tuscany/sca-java-2.x/trunk/unreleased/samples/getting-started/helloworld-webapp/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/unreleased/samples/getting-started/helloworld-webapp/pom.xml?rev=1087684&r1=1087683&r2=1087684&view=diff
--- tuscany/sca-java-2.x/trunk/unreleased/samples/getting-started/helloworld-webapp/pom.xml
+++ tuscany/sca-java-2.x/trunk/unreleased/samples/getting-started/helloworld-webapp/pom.xml
Fri Apr  1 12:34:41 2011
@@ -80,7 +80,7 @@
-                       <artifactId>helloworld-contribution</artifactId>
+                       <artifactId>helloworld</artifactId>
                        <!-- should really go in the target folder but i can't get jetty:run
or tomcat:run to work using that -->
@@ -91,6 +91,13 @@
+          <!-- to support running thw webapp with mvn tuscany:run -->
+         <plugin>
+            <groupId>org.apache.tuscany.maven.plugins</groupId>
+            <artifactId>maven-tuscany-plugin</artifactId>
+            <version>${tuscany.version}</version>
+         </plugin>
           <!-- to support using mvn jetty:run and also to run the webapp for the integration
test -->

View raw message