tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r1087673 - in /tuscany/sca-java-2.x/trunk/unreleased/samples/getting-started/helloworld-scaclient: README pom.xml
Date Fri, 01 Apr 2011 12:08:48 GMT
Author: antelder
Date: Fri Apr  1 12:08:48 2011
New Revision: 1087673

URL: http://svn.apache.org/viewvc?rev=1087673&view=rev
Log:
Update the scaclient sample to use the tuscany plugin to invoke the sample main method

Modified:
    tuscany/sca-java-2.x/trunk/unreleased/samples/getting-started/helloworld-scaclient/README
    tuscany/sca-java-2.x/trunk/unreleased/samples/getting-started/helloworld-scaclient/pom.xml

Modified: tuscany/sca-java-2.x/trunk/unreleased/samples/getting-started/helloworld-scaclient/README
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/unreleased/samples/getting-started/helloworld-scaclient/README?rev=1087673&r1=1087672&r2=1087673&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/unreleased/samples/getting-started/helloworld-scaclient/README
(original)
+++ tuscany/sca-java-2.x/trunk/unreleased/samples/getting-started/helloworld-scaclient/README
Fri Apr  1 12:08:48 2011
@@ -9,12 +9,16 @@ This project has a Java class with a mai
 service in a remote SCA domain.
 
 Before running this sample you must have a helloworld service running in a SCA domain somewhere,
-for example, you may do using a separate command prompt and running the Tuscany 
-"Getting Started - Helloworld Sample" with the command "mvn tuscany:run -DdomainURI=uri:default".
+for example, you can do that by using a separate command prompt to run the Tuscany 
+"Getting Started - Helloworld Sample" with the command 
 
+   mvn tuscany:run -DdomainURI=uri:default
+
+(including that domainURI parameter activates the Tuscany distributed domain) 
+ 
 You can then run this SCAClient sample with the Maven command: 
 
-   mvn exec:java
+   mvn tuscany:run
 
 You should see the following oputput:
 

Modified: tuscany/sca-java-2.x/trunk/unreleased/samples/getting-started/helloworld-scaclient/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/unreleased/samples/getting-started/helloworld-scaclient/pom.xml?rev=1087673&r1=1087672&r2=1087673&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/unreleased/samples/getting-started/helloworld-scaclient/pom.xml
(original)
+++ tuscany/sca-java-2.x/trunk/unreleased/samples/getting-started/helloworld-scaclient/pom.xml
Fri Apr  1 12:08:48 2011
@@ -57,12 +57,14 @@
          <groupId>org.apache.tuscany.sca</groupId>
          <artifactId>tuscany-base-runtime</artifactId>
          <version>${tuscany.version}</version>
+         <scope>test</scope>
       </dependency>
       
       <dependency>
          <groupId>org.apache.tuscany.sca</groupId>
          <artifactId>tuscany-domain-hazelcast</artifactId>
          <version>${tuscany.version}</version>
+         <scope>test</scope>
       </dependency>
 
    </dependencies>
@@ -70,21 +72,16 @@
    <build>
 
       <plugins>
+
          <plugin>
-            <groupId>org.codehaus.mojo</groupId>
-            <artifactId>exec-maven-plugin</artifactId>
-            <version>1.1.1</version>
-            <executions>
-              <execution>
-                <goals>
-                  <goal>java</goal>
-                </goals>
-              </execution>
-            </executions>
+            <groupId>org.apache.tuscany.maven.plugins</groupId>
+            <artifactId>maven-tuscany-plugin</artifactId>
+            <version>${tuscany.version}</version>
             <configuration>
               <mainClass>sample.HelloworldSCAClient</mainClass>
             </configuration>
-          </plugin>
+         </plugin>
+
       </plugins>
     </build>
 </project>



Mime
View raw message