tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From becke...@apache.org
Subject svn commit: r742589 - in /tuscany/java/sca/samples: README implementation-java-calculator/README
Date Mon, 09 Feb 2009 16:03:06 GMT
Author: beckerdo
Date: Mon Feb  9 16:03:06 2009
New Revision: 742589

URL: http://svn.apache.org/viewvc?rev=742589&view=rev
Log:
TUSCANY-2826 Sample READMEs have mistakes

Modified:
    tuscany/java/sca/samples/README
    tuscany/java/sca/samples/implementation-java-calculator/README

Modified: tuscany/java/sca/samples/README
URL: http://svn.apache.org/viewvc/tuscany/java/sca/samples/README?rev=742589&r1=742588&r2=742589&view=diff
==============================================================================
--- tuscany/java/sca/samples/README (original)
+++ tuscany/java/sca/samples/README Mon Feb  9 16:03:06 2009
@@ -118,15 +118,15 @@
 
 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 @@
 
 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 @@
         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

Modified: tuscany/java/sca/samples/implementation-java-calculator/README
URL: http://svn.apache.org/viewvc/tuscany/java/sca/samples/implementation-java-calculator/README?rev=742589&r1=742588&r2=742589&view=diff
==============================================================================
--- tuscany/java/sca/samples/implementation-java-calculator/README (original)
+++ tuscany/java/sca/samples/implementation-java-calculator/README Mon Feb  9 16:03:06 2009
@@ -13,10 +13,10 @@
 
 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
 ---------------



Mime
View raw message