diff options
Diffstat (limited to 'java/sca/samples')
3 files changed, 3 insertions, 5 deletions
diff --git a/java/sca/samples/implementation-java-calculator/README b/java/sca/samples/implementation-java-calculator/README index ceb532faed..ce96468f1a 100644 --- a/java/sca/samples/implementation-java-calculator/README +++ b/java/sca/samples/implementation-java-calculator/README @@ -13,11 +13,11 @@ 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 +java -cp ..\..\features\tuscany-sca-manifest.jar;target\implementation-java-calculator.jar calculator.CalculatorClient and on *nix do -java -cp ../../lib/tuscany-sca-manifest.jar:target/sample-calculator.jar calculator.CalculatorClient +java -cp ../../features/tuscany-sca-manifest.jar:target/implementation-java-calculator.jar calculator.CalculatorClient Sample Overview --------------- diff --git a/java/sca/samples/implementation-java-calculator/build.xml b/java/sca/samples/implementation-java-calculator/build.xml index 8dde36a60c..6776433f8b 100644 --- a/java/sca/samples/implementation-java-calculator/build.xml +++ b/java/sca/samples/implementation-java-calculator/build.xml @@ -19,7 +19,7 @@ <project name="implementation-java-calculator" default="run"> <!-- could dertmine the same name autmatically --> - <property name="jar.name" value="implementation-java-calculator" /> + <property name="jar.name" value="implementation-java-calculator.jar" /> <target name="init"> <delete quiet="true" includeemptydirs="true"> @@ -56,5 +56,4 @@ <arg value="target/${jar.name}"/> </java> </target> - </project> diff --git a/java/sca/samples/implementation-java-calculator/src/main/java/calculator/CalculatorClient.java b/java/sca/samples/implementation-java-calculator/src/main/java/calculator/CalculatorClient.java index fe173a1ab1..84c98d7f70 100644 --- a/java/sca/samples/implementation-java-calculator/src/main/java/calculator/CalculatorClient.java +++ b/java/sca/samples/implementation-java-calculator/src/main/java/calculator/CalculatorClient.java @@ -19,7 +19,6 @@ package calculator; -import org.oasisopen.sca.ServiceRuntimeException; import org.oasisopen.sca.annotation.EagerInit; import org.oasisopen.sca.annotation.Init; import org.oasisopen.sca.annotation.Reference; |