summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/branches
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-10-14 18:47:46 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-10-14 18:47:46 +0000
commit849cbe32e0ff2bfa7e24eea13862ea49682fa261 (patch)
tree41300400d62bf2d88e1af33aae411a0afe015d29 /sca-java-1.x/branches
parent6efd31afd0077e8712e3b74c0250d5da4777356b (diff)
TUSCANY-3726: Include store-dojo and its runtime dependencies in the binary distribution
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1022644 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/branches')
-rw-r--r--sca-java-1.x/branches/sca-java-1.6.1/samples/store-dojo/README32
-rw-r--r--sca-java-1.x/branches/sca-java-1.6.1/samples/store-dojo/pom.xml19
2 files changed, 39 insertions, 12 deletions
diff --git a/sca-java-1.x/branches/sca-java-1.6.1/samples/store-dojo/README b/sca-java-1.x/branches/sca-java-1.6.1/samples/store-dojo/README
index 46e71bf51e..8e9bbb9165 100644
--- a/sca-java-1.x/branches/sca-java-1.6.1/samples/store-dojo/README
+++ b/sca-java-1.x/branches/sca-java-1.6.1/samples/store-dojo/README
@@ -1,8 +1,8 @@
-Store Sample
+Store Dojo 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 Dojo Toolkit can be used to implement the user interface of 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,28 @@ 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-dojo
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/
+
+If you want to build it before running it, you can do:
+
+cd store-dojo
+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-dojo
+mvn
diff --git a/sca-java-1.x/branches/sca-java-1.6.1/samples/store-dojo/pom.xml b/sca-java-1.x/branches/sca-java-1.6.1/samples/store-dojo/pom.xml
index 7de682b172..cc86056d74 100644
--- a/sca-java-1.x/branches/sca-java-1.6.1/samples/store-dojo/pom.xml
+++ b/sca-java-1.x/branches/sca-java-1.6.1/samples/store-dojo/pom.xml
@@ -121,7 +121,24 @@
</dependencies>
<build>
- <finalName>${artifactId}</finalName>
+ <finalName>${artifactId}</finalName>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-maven-ant-generator</artifactId>
+ <version>1.6.1-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ <configuration>
+ <mainClass>launch.Launch</mainClass>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
</build>
</project>