You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by na...@apache.org on 2010/10/14 20:47:47 UTC

svn commit: r1022644 - in /tuscany/sca-java-1.x/branches/sca-java-1.6.1/samples/store-dojo: README pom.xml

Author: nash
Date: Thu Oct 14 18:47:46 2010
New Revision: 1022644

URL: http://svn.apache.org/viewvc?rev=1022644&view=rev
Log:
TUSCANY-3726: Include store-dojo and its runtime dependencies in the binary distribution

Modified:
    tuscany/sca-java-1.x/branches/sca-java-1.6.1/samples/store-dojo/README
    tuscany/sca-java-1.x/branches/sca-java-1.6.1/samples/store-dojo/pom.xml

Modified: tuscany/sca-java-1.x/branches/sca-java-1.6.1/samples/store-dojo/README
URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/branches/sca-java-1.6.1/samples/store-dojo/README?rev=1022644&r1=1022643&r2=1022644&view=diff
==============================================================================
--- tuscany/sca-java-1.x/branches/sca-java-1.6.1/samples/store-dojo/README (original)
+++ tuscany/sca-java-1.x/branches/sca-java-1.6.1/samples/store-dojo/README Thu Oct 14 18:47:46 2010
@@ -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

Modified: tuscany/sca-java-1.x/branches/sca-java-1.6.1/samples/store-dojo/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/branches/sca-java-1.6.1/samples/store-dojo/pom.xml?rev=1022644&r1=1022643&r2=1022644&view=diff
==============================================================================
--- tuscany/sca-java-1.x/branches/sca-java-1.6.1/samples/store-dojo/pom.xml (original)
+++ tuscany/sca-java-1.x/branches/sca-java-1.6.1/samples/store-dojo/pom.xml Thu Oct 14 18:47:46 2010
@@ -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>