diff options
author | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-25 12:39:48 +0000 |
---|---|---|
committer | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-25 12:39:48 +0000 |
commit | bec0b5228fbca6fd85da585aef62116417325430 (patch) | |
tree | e58bf915920d3174b9f8a9a12cf6962ce2b85e25 /sca-java-1.x/trunk/samples | |
parent | 57d4f3be5b7f63f6316a1c5a3de74736360f3404 (diff) |
Merge r1000787 Improvements to the README instructions
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1027096 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/trunk/samples')
-rw-r--r-- | sca-java-1.x/trunk/samples/store-secure/README | 34 |
1 files changed, 23 insertions, 11 deletions
diff --git a/sca-java-1.x/trunk/samples/store-secure/README b/sca-java-1.x/trunk/samples/store-secure/README index 46e71bf51e..c4eaa64d21 100644 --- a/sca-java-1.x/trunk/samples/store-secure/README +++ b/sca-java-1.x/trunk/samples/store-secure/README @@ -1,8 +1,8 @@ -Store Sample +Secure Store 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 HTTP basic authentication can be added to the sample store scenario that is used +as a getting started guide for Tuscany SCA. For detailed information on this scenario, please see: http://tuscany.apache.org/getting-started-with-tuscany.html @@ -11,18 +11,30 @@ or http://tuscany.apache.org/getting-started-with-tuscany-using-tuscany-eclipse-plugin.html -Building And Running The Sample Using Ant +Running And Building The Sample Using Ant ----------------------------------------- -With the binary distribution the sample can be built using Ant as follows: - -cd store -ant compile - -and then, to run: +With the binary distribution the sample can be run using Ant as follows: +cd store-secure ant run -Once the store application is running use your browser to visit the following +Once the application is running use your browser to visit the following URL: http://localhost:8080/store/ + +You will be prompted for a username and password. It doesn't matter what values you enter. + +If you want to build it before running it, you can do: + +cd store-secure +ant compile +ant run + +Building The Sample Using Maven +------------------------------- +With the source and binary distributions the sample can be built using Maven +as follows: + +cd store-secure +mvn |