diff options
author | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-09-23 20:52:59 +0000 |
---|---|---|
committer | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-09-23 20:52:59 +0000 |
commit | b512bfcd6d7159731030b8bc094eb490131f1c2f (patch) | |
tree | 66a901f4a49069d2f8059cb0c64f6826327ce3c4 | |
parent | ad198b0d083edb9158688cfb71ad3f516e21c986 (diff) |
Tidy up the README instructions to cover all options for building and running
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1000619 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | sca-java-1.x/branches/sca-java-1.6.1/samples/photo-gallery/README | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/sca-java-1.x/branches/sca-java-1.6.1/samples/photo-gallery/README b/sca-java-1.x/branches/sca-java-1.6.1/samples/photo-gallery/README index d32f1d3bd1..8c8abb8881 100644 --- a/sca-java-1.x/branches/sca-java-1.6.1/samples/photo-gallery/README +++ b/sca-java-1.x/branches/sca-java-1.6.1/samples/photo-gallery/README @@ -3,18 +3,28 @@ Photo-Gallery Sample This is a sample picture gallery application using Tuscany SCA. -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: +With the binary distribution the sample can be run using Ant as follows: cd photo-gallery -ant compile - -and then, to run: - 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/gallery/ + +If you want to build it before running it, you can do: + +cd photo-gallery +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 photo-gallery +mvn |