summaryrefslogtreecommitdiffstats
path: root/java/sca/samples
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-02-08 09:37:08 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-02-08 09:37:08 +0000
commita1000cfafed375d9e87d9f97a0d9347be806b977 (patch)
treeaf948a34f6bee8117e45858dddc263bc9ab1a935 /java/sca/samples
parent762dfdf5152756366441c9e518683d055da4dbe4 (diff)
Updating implementation-java-calculator pom to remove artifact version from generated jar and small updates to README
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@742033 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/samples')
-rw-r--r--java/sca/samples/implementation-java-calculator/README5
-rw-r--r--java/sca/samples/implementation-java-calculator/pom.xml5
2 files changed, 6 insertions, 4 deletions
diff --git a/java/sca/samples/implementation-java-calculator/README b/java/sca/samples/implementation-java-calculator/README
index ce96468f1a..01e319798e 100644
--- a/java/sca/samples/implementation-java-calculator/README
+++ b/java/sca/samples/implementation-java-calculator/README
@@ -13,11 +13,10 @@ ant run
OR if you don't have ant, on Windows do
-java -cp ..\..\features\tuscany-sca-manifest.jar;target\implementation-java-calculator.jar calculator.CalculatorClient
-
+java -jar ..\..\features\tuscany-sca-equinox-manifest.jar -composite Calculator.composite -config ..\..\features\configuration\ -ttl 0 target\implementation-java-calculator.jar
and on *nix do
-java -cp ../../features/tuscany-sca-manifest.jar:target/implementation-java-calculator.jar calculator.CalculatorClient
+java -jar ../../features/tuscany-sca-equinox-manifest.jar -composite Calculator.composite -config ../../features/configuration/ -ttl 0 target/implementation-java-calculator.jar
Sample Overview
---------------
diff --git a/java/sca/samples/implementation-java-calculator/pom.xml b/java/sca/samples/implementation-java-calculator/pom.xml
index ca07106d1a..cb81f80399 100644
--- a/java/sca/samples/implementation-java-calculator/pom.xml
+++ b/java/sca/samples/implementation-java-calculator/pom.xml
@@ -56,7 +56,10 @@
<version>4.5</version>
<scope>test</scope>
</dependency>
-
</dependencies>
+
+ <build>
+ <finalName>${artifactId}</finalName>
+ </build>
</project>