summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/branches/sca-java-1.6.1/samples/store-dojo
diff options
context:
space:
mode:
Diffstat (limited to 'sca-java-1.x/branches/sca-java-1.6.1/samples/store-dojo')
-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>