summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/trunk
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-10-26 13:45:06 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-10-26 13:45:06 +0000
commit73875ecd4e478199f3da6f4ae8e16cff4106b3f7 (patch)
treeab86c091e250cab03a9b28850d955d50ac47278a /sca-java-1.x/trunk
parent5fd34fcd49c6a9f45c2bb9909e01415988f2b244 (diff)
Merge r1022644 TUSCANY-3726: Include store-dojo and its runtime dependencies in the binary distribution
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1027555 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/trunk')
-rw-r--r--sca-java-1.x/trunk/samples/store-dojo/README32
-rw-r--r--sca-java-1.x/trunk/samples/store-dojo/pom.xml19
2 files changed, 39 insertions, 12 deletions
diff --git a/sca-java-1.x/trunk/samples/store-dojo/README b/sca-java-1.x/trunk/samples/store-dojo/README
index 46e71bf51e..8e9bbb9165 100644
--- a/sca-java-1.x/trunk/samples/store-dojo/README
+++ b/sca-java-1.x/trunk/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/trunk/samples/store-dojo/pom.xml b/sca-java-1.x/trunk/samples/store-dojo/pom.xml
index 80620b9ae4..bd7562a10e 100644
--- a/sca-java-1.x/trunk/samples/store-dojo/pom.xml
+++ b/sca-java-1.x/trunk/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>