You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by na...@apache.org on 2010/10/25 16:45:21 UTC

svn commit: r1027150 - /tuscany/sca-java-1.x/trunk/samples/store-webapp/README

Author: nash
Date: Mon Oct 25 14:45:21 2010
New Revision: 1027150

URL: http://svn.apache.org/viewvc?rev=1027150&view=rev
Log:
Merge r1000902 Fix problems with the README file

Modified:
    tuscany/sca-java-1.x/trunk/samples/store-webapp/README

Modified: tuscany/sca-java-1.x/trunk/samples/store-webapp/README
URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/trunk/samples/store-webapp/README?rev=1027150&r1=1027149&r2=1027150&view=diff
==============================================================================
--- tuscany/sca-java-1.x/trunk/samples/store-webapp/README (original)
+++ tuscany/sca-java-1.x/trunk/samples/store-webapp/README Mon Oct 25 14:45:21 2010
@@ -1,8 +1,8 @@
-Store Sample
-======================================
+Store Web Application Sample
+============================
 
-This is a sample store scenario that is used as a getting started guide
-for Tuscany SCA. For detailed information, please see:
+This sample demonstrates how the sample store scenario that is used as a getting started guide for Tuscany SCA
+can be packaged and deployed as a web application. For detailed information on this scenario, please see:
 
 http://tuscany.apache.org/getting-started-with-tuscany.html
 
@@ -11,18 +11,31 @@ or
 http://tuscany.apache.org/getting-started-with-tuscany-using-tuscany-eclipse-plugin.html
 
 
-Building And Running The Sample Using Ant
------------------------------------------
-With the binary distribution the sample can be built using Ant as follows:
+Running The Sample
+------------------
+As this sample provides a web application there is a manual step where the WAR file
+that contains the sample is is built and copied to your web application container. 
+See the sections below for instructions on building the WAR file.
+
+Once the web application is deployed use your browser to visit the following URL;
+
+   http://localhost:8080/sample-store-webapp
 
-cd store
-ant compile
+The port and hostname will of course vary depending on your local installation.
+
+
+Building The Sample Using Ant
+-----------------------------
+With the binary distribution the sample can be built using Ant as follows:
 
-and then, to run:
+cd store-webapp
+ant package
 
-ant run
 
-Once the store application is running use your browser to visit the following
-URL:
+Building The Sample Using Maven
+-------------------------------
+With the source and binary distributions the sample can be built using Maven
+as follows:
 
-http://localhost:8080/store/
+cd store-webapp
+mvn