summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2008-08-25 05:38:54 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2008-08-25 05:38:54 +0000
commit08288aa14dcda71549a0ad981a95beba01df1847 (patch)
tree9403c2e6322381559f96254f1d94a0f280a19e80 /java
parenta00b85195f048fd20159f9c0b3785afdd89ec056 (diff)
Updated the sample README.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@688622 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r--java/sca/samples/calculator-lean/README16
1 files changed, 3 insertions, 13 deletions
diff --git a/java/sca/samples/calculator-lean/README b/java/sca/samples/calculator-lean/README
index ceb532faed..a8aff232c6 100644
--- a/java/sca/samples/calculator-lean/README
+++ b/java/sca/samples/calculator-lean/README
@@ -9,15 +9,7 @@ first.
If you just want to run it to see what happens open a command prompt, navigate
to this sample directory and do:
-ant run
-
-OR if you don't have ant, on Windows do
-
-java -cp ..\..\lib\tuscany-sca-manifest.jar;target\sample-calculator.jar calculator.CalculatorClient
-
-and on *nix do
-
-java -cp ../../lib/tuscany-sca-manifest.jar:target/sample-calculator.jar calculator.CalculatorClient
+java -jar <tuscany-install>/modules/tuscany-node-launcher.jar Calculator.composite target/sample-calculator-lean.jar
Sample Overview
---------------
@@ -42,10 +34,8 @@ calculator/
MultiplyServiceImpl.java
DivideService.java - divides one number by another
DivideServiceImpl.java
- CalculatorClient.java - starts the SCA Runtime and
- deploys the Calculator.composite.
- It then calls the deployed Calculator
- Components services
+ CalculatorClient.java - a client component that calls the
+ Calculator services
resources/
Calculator.composite - the SCA assembly for this sample
test/