tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From svkr...@apache.org
Subject svn commit: r569308 - in /incubator/tuscany/java/sca/samples/calculator-distributed: README build.xml
Date Fri, 24 Aug 2007 09:16:53 GMT
Author: svkrish
Date: Fri Aug 24 02:16:52 2007
New Revision: 569308

URL: http://svn.apache.org/viewvc?rev=569308&view=rev
Log:
fixed README and build.xml to resolve https://issues.apache.org/jira/browse/TUSCANY-1585

Modified:
    incubator/tuscany/java/sca/samples/calculator-distributed/README
    incubator/tuscany/java/sca/samples/calculator-distributed/build.xml

Modified: incubator/tuscany/java/sca/samples/calculator-distributed/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator-distributed/README?rev=569308&r1=569307&r2=569308&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/calculator-distributed/README (original)
+++ incubator/tuscany/java/sca/samples/calculator-distributed/README Fri Aug 24 02:16:52 2007
@@ -18,23 +18,24 @@
 ant runDomainNode
 ant runNodeB
 ant runNodeC
-ant runNodeD
+ant runNodeA
 
 Please run the commands in this order. 
 
 OR if you don't have ant, on Windows use
 
-java -cp ..\..\lib\tuscany-sca-manifest.jar;target\sample-calculator.jar node.DomainNode
-java -cp ..\..\lib\tuscany-sca-manifest.jar;target\sample-calculator.jar node.CalculatorNode
mydomain nodeB
-java -cp ..\..\lib\tuscany-sca-manifest.jar;target\sample-calculator.jar node.CalcukatorNode
mydomain nodeC
-java -cp ..\..\lib\tuscany-sca-manifest.jar;target\sample-calculator.jar node.CalculatorNode
mydomain nodeA
+java -cp src\main\resources;..\..\lib\tuscany-sca-manifest.jar;target\sample-calculator-distributed.jar
node.DomainNode
+java -cp src\main\resources;..\..\lib\tuscany-sca-manifest.jar;target\sample-calculator-distributed.jar
node.CalculatorNode mydomain nodeB
+java -cp src\main\resources;..\..\lib\tuscany-sca-manifest.jar;target\sample-calculator-distributed.jar
node.CalculatorNode mydomain nodeC
+java -cp src\main\resources;..\..\lib\tuscany-sca-manifest.jar;target\sample-calculator-distributed.jar
node.CalculatorNode mydomain nodeA
 
 and on *nix do
 
-java -cp ../../lib/tuscany-sca-manifest.jar:target/sample-calculator.jar node.DomainNode
-java -cp ../../lib/tuscany-sca-manifest.jar:target/sample-calculator.jar node.CalculatorNode
mydomain nodeB
-java -cp ../../lib/tuscany-sca-manifest.jar:target/sample-calculator.jar node.CalculatorNode
mydomain nodeC
-java -cp ../../lib/tuscany-sca-manifest.jar:target/sample-calculator.jar node.CalculatorNode
mydomain nodeD
+java -cp src/main/resources:../../lib/tuscany-sca-manifest.jar:target/sample-calculator-distributed.jar
node.DomainNode
+java -cp src/main/resources:../../lib/tuscany-sca-manifest.jar:target/sample-calculator-distributed.jar
node.CalculatorNode mydomain nodeB
+java -cp src/main/resources:../../lib/tuscany-sca-manifest.jar:target/sample-calculator-distributed.jar
node.CalculatorNode mydomain nodeC
+java -cp src/main/resources:../../lib/tuscany-sca-manifest.jar:target/sample-calculator-distributed.jar
node.CalculatorNode mydomain nodeA
+
 
 Sample Overview
 ---------------
@@ -47,8 +48,13 @@
 version of the default SCA binding contacts the add service running in NodeB 
 and the subtract service running in NodeC. 
 
+On the command prompt where you started NodeA, you would see output of invoking the 
+calculator functions distributed over NodeB and and NodeC.  On the command prompts 
+where you have started NodeB and NodeC, you would see log messages that indicate that
+the add and substract services where called on these nodes respectively.
+
 The sample demonstrates that the calculator application can be distributed
-across multiple nodes with no change to the application or it SCA description
+across multiple nodes with no change to the application or to the SCA description
 files. 
 
 
@@ -107,6 +113,7 @@
   build.xml                       - the Ant build file
   pom.xml                         - the Maven build file        
 
+
 Building And Running The Sample Using Ant
 -----------------------------------------
 With the binary distribution the sample can be built and run using Ant as 
@@ -117,7 +124,7 @@
 ant runDomainNode
 ant runNodeB
 ant runNodeC
-ant runNodeD
+ant runNodeA
 
 You should see the following output from the four separate command prompt:
 

Modified: incubator/tuscany/java/sca/samples/calculator-distributed/build.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator-distributed/build.xml?rev=569308&r1=569307&r2=569308&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/calculator-distributed/build.xml (original)
+++ incubator/tuscany/java/sca/samples/calculator-distributed/build.xml Fri Aug 24 02:16:52
2007
@@ -19,7 +19,8 @@
 <project name="calculator" default="runDomainNode">
     <property name="node.class" value="node.CalculatorNode" />
 	<property name="domain.class" value="node.DomainNode" />
-	<property name="test.jar"   value="sample-calculator.jar" />
+	<property name="test.jar"   value="sample-calculator-distributed.jar" 
+/>
 	
     <target name="init">
         <mkdir dir="target/classes"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message