diff options
Diffstat (limited to '')
-rw-r--r-- | java/sca/samples/README | 20 | ||||
-rw-r--r-- | java/sca/samples/implementation-java-calculator/README | 4 |
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 --------------- |