summaryrefslogtreecommitdiffstats
path: root/java/sca
diff options
context:
space:
mode:
authorbeckerdo <beckerdo@13f79535-47bb-0310-9956-ffa450edef68>2009-02-09 16:03:06 +0000
committerbeckerdo <beckerdo@13f79535-47bb-0310-9956-ffa450edef68>2009-02-09 16:03:06 +0000
commit9cb79da1dfd71a85490bfc59dafb661bd101d9db (patch)
tree637de9506c37d05cd6b43b94e58f9aefcfac95b1 /java/sca
parentb85ea7d848485acfe2aa3d6cec49f4c7fd354df6 (diff)
TUSCANY-2826 Sample READMEs have mistakes
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@742589 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca')
-rw-r--r--java/sca/samples/README20
-rw-r--r--java/sca/samples/implementation-java-calculator/README4
2 files changed, 12 insertions, 12 deletions
diff --git a/java/sca/samples/README b/java/sca/samples/README
index a120bb3abf..4ccefa3695 100644
--- a/java/sca/samples/README
+++ b/java/sca/samples/README
@@ -118,15 +118,15 @@ this is:
on Windows
-java -cp ..\..\lib\tuscany-sca-manifest.jar;target\<sample jar file> <sample runnable class>
+java -cp ..\..\features\tuscany-sca-manifest.jar;target\<sample jar file> <sample runnable class>
-for example : java -cp ..\..\lib\tuscany-sca-manifest.jar;target\sample-calculator.jar calculator.CalculatorClient
+for example : java -cp ..\..\features\tuscany-sca-manifest.jar;target\sample-calculator.jar calculator.CalculatorClient
on *nix
-java -cp ../../lib/tuscany-sca-manifest.jar:target/<sample jar file> <sample runnable class>
+java -cp ../../features/tuscany-sca-manifest.jar:target/<sample jar file> <sample runnable class>
-for example : java -cp ../../lib/tuscany-sca-manifest.jar:target/sample-calculator.jar calculator.CalculatorClient
+for example : java -cp ../../features/tuscany-sca-manifest.jar:target/sample-calculator.jar calculator.CalculatorClient
You can use the compiled classes directly using
@@ -137,15 +137,15 @@ The command line version of this is:
on Windows
-java -cp ..\..\lib\tuscany-sca-manifest.jar;target\classes <sample runnable class>
+java -cp ..\..\features\tuscany-sca-manifest.jar;target\classes <sample runnable class>
-for example : java -cp ..\..\lib\tuscany-sca-manifest.jar;target\classes calculator.CalculatorClient
+for example : java -cp ..\..\features\tuscany-sca-manifest.jar;target\classes calculator.CalculatorClient
on *nix
-java -cp ../../lib/tuscany-sca-manifest.jar:target/classes <sample runnable class>
+java -cp ../../features/tuscany-sca-manifest.jar:target/classes <sample runnable class>
-for example : java -cp ../../lib/tuscany-sca-manifest.jar:target/classes calculator.CalculatorClient
+for example : java -cp ../../features/tuscany-sca-manifest.jar:target/classes calculator.CalculatorClient
The class specified on the command of course depends on which sample you want to
run. In the examples we have used we are running the CalculatorClient from the calculator sample.
@@ -218,8 +218,8 @@ In a new or existing workspace
src/main/resources
Configure the output folder to be
calculator/target
- Configure the build path to include all of the jars provided in
- lib
+ Configure the build path to include the manifest jar tuscany-sca-manifiest.jar provided in
+ features
If you select calculator.CalculatorClient.java and run as "Java Application" you should see
3 + 2=5.0
3 - 2=1.0
diff --git a/java/sca/samples/implementation-java-calculator/README b/java/sca/samples/implementation-java-calculator/README
index 01e319798e..28eccbdebb 100644
--- a/java/sca/samples/implementation-java-calculator/README
+++ b/java/sca/samples/implementation-java-calculator/README
@@ -13,10 +13,10 @@ ant run
OR if you don't have ant, on Windows do
-java -jar ..\..\features\tuscany-sca-equinox-manifest.jar -composite Calculator.composite -config ..\..\features\configuration\ -ttl 0 target\implementation-java-calculator.jar
+java -jar ..\..\features\tuscany-sca-equinox-manifest.jar -composite Calculator.composite -config ..\..\features\configuration\ -ttl 0 target\sample-implementation-java-calculator.jar
and on *nix do
-java -jar ../../features/tuscany-sca-equinox-manifest.jar -composite Calculator.composite -config ../../features/configuration/ -ttl 0 target/implementation-java-calculator.jar
+java -jar ../../features/tuscany-sca-equinox-manifest.jar -composite Calculator.composite -config ../../features/configuration/ -ttl 0 target/sample-implementation-java-calculator.jar
Sample Overview
---------------