diff options
author | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-09-24 15:15:03 +0000 |
---|---|---|
committer | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-09-24 15:15:03 +0000 |
commit | 4f0fc00fb758218397d57ca1251bbf51870d2ca6 (patch) | |
tree | 2392e0efeb3211288779681cf4a827188491181c /sca-java-1.x/branches | |
parent | 030cf42ad1502a5e010dfacbb244e96843411988 (diff) |
Fix problems with the README file
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1000902 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-java-1.x/branches/sca-java-1.6.1/samples/store-webapp/README | 41 |
1 files changed, 27 insertions, 14 deletions
diff --git a/sca-java-1.x/branches/sca-java-1.6.1/samples/store-webapp/README b/sca-java-1.x/branches/sca-java-1.6.1/samples/store-webapp/README index 46e71bf51e..d8f253efa0 100644 --- a/sca-java-1.x/branches/sca-java-1.6.1/samples/store-webapp/README +++ b/sca-java-1.x/branches/sca-java-1.6.1/samples/store-webapp/README @@ -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 |