You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by sl...@apache.org on 2007/05/22 12:28:25 UTC

svn commit: r540522 - in /incubator/tuscany/branches/sca-java-0.90/samples: calculator-rmi-reference/ calculator-rmi-service/

Author: slaws
Date: Tue May 22 03:28:23 2007
New Revision: 540522

URL: http://svn.apache.org/viewvc?view=rev&rev=540522
Log:
Update readmes and ant scripts to match the sample code changes

Added:
    incubator/tuscany/branches/sca-java-0.90/samples/calculator-rmi-reference/build.xml
      - copied unchanged from r540460, incubator/tuscany/branches/sca-java-0.90/samples/calculator-rmi-reference/build-client.xml
    incubator/tuscany/branches/sca-java-0.90/samples/calculator-rmi-service/build.xml
      - copied unchanged from r540460, incubator/tuscany/branches/sca-java-0.90/samples/calculator-rmi-service/build-server.xml
Removed:
    incubator/tuscany/branches/sca-java-0.90/samples/calculator-rmi-reference/build-client.xml
    incubator/tuscany/branches/sca-java-0.90/samples/calculator-rmi-reference/build-server.xml
    incubator/tuscany/branches/sca-java-0.90/samples/calculator-rmi-service/build-client.xml
    incubator/tuscany/branches/sca-java-0.90/samples/calculator-rmi-service/build-server.xml
Modified:
    incubator/tuscany/branches/sca-java-0.90/samples/calculator-rmi-reference/README
    incubator/tuscany/branches/sca-java-0.90/samples/calculator-rmi-service/README

Modified: incubator/tuscany/branches/sca-java-0.90/samples/calculator-rmi-reference/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-0.90/samples/calculator-rmi-reference/README?view=diff&rev=540522&r1=540521&r2=540522
==============================================================================
--- incubator/tuscany/branches/sca-java-0.90/samples/calculator-rmi-reference/README (original)
+++ incubator/tuscany/branches/sca-java-0.90/samples/calculator-rmi-reference/README Tue May 22 03:28:23 2007
@@ -8,23 +8,23 @@
 general instructions about building and running samples. Take a look there 
 first. 
 
-If you just want to run it to see what happens open a command prompt, navigate
-to this sample directory and do:
+If you just want to run it to see what happens open a command prompt, first 
+navigate to the calculator-rmi-service sample and do:
 
-ant -f build-server.xml run
+ant run
 
 OR if you don't have ant, on Windows do
 
-java -cp ..\..\lib\tuscany-sca-manifest.jar;target\sample-calculator-rmi-reference.jar calculator.CalculatorServer
+java -cp ..\..\lib\tuscany-sca-manifest.jar;target\sample-calculator-rmi-service.jar calculator.CalculatorServer
 
 and on *nix do
 
-java -cp ../../lib/tuscany-sca-manifest.jar:target/sample-calculator-rmi-reference.jar calculator.CalculatorServer
+java -cp ../../lib/tuscany-sca-manifest.jar:target/sample-calculator-rmi-service.jar calculator.CalculatorServer
 
 Now you have the server running you need to open another command prompt, navigate
 to this sample directory and do:
 
-ant -f build-client.xml run
+ant run
 
 OR if you don't have ant, on Windows do
 
@@ -68,8 +68,7 @@
         CalculatorRMIReference.composite - the SCA assembly for this sample
   calculator-rmi-reference.png    - a pictorial representation of the 
                                     .composite file
-  build-server.xml                - the Ant build file for the server
-  build-client.xml                - the Ant build file for the client
+  build.xml                       - the Ant build file for the client
   pom.xml                         - the Maven build file   
   
 Note. As this test creates and uses local network connections you may need to 
@@ -84,9 +83,9 @@
 The server provides an RMI server that the acts as a target for the SCA RMI 
 bindings. Start a new console and use the following commands.
 
-cd calculator-rmi-reference
-ant -f build-server.xml compile
-ant -f build-server.xml run
+cd calculator-rmi-service
+ant compile
+ant run
 
 This will run up the server and display the following.
 
@@ -100,8 +99,8 @@
 a new console and use the following commands. 
 
 cd calculator-rmi-reference
-ant -f build-client.xml compile
-ant -f build-client.xml run
+ant compile
+ant run
 
 You should see the following output from the run target.
 

Modified: incubator/tuscany/branches/sca-java-0.90/samples/calculator-rmi-service/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-0.90/samples/calculator-rmi-service/README?view=diff&rev=540522&r1=540521&r2=540522
==============================================================================
--- incubator/tuscany/branches/sca-java-0.90/samples/calculator-rmi-service/README (original)
+++ incubator/tuscany/branches/sca-java-0.90/samples/calculator-rmi-service/README Tue May 22 03:28:23 2007
@@ -13,7 +13,7 @@
 If you just want to run it to see what happens open a command prompt, navigate
 to this sample directory and do:
 
-ant -f build-server.xml run
+ant run
 
 OR if you don't have ant, on Windows do
 
@@ -24,9 +24,9 @@
 java -cp ../../lib/tuscany-sca-manifest.jar:target/sample-calculator-rmi-service.jar calculator.CalculatorServer
 
 Now you have the server running you need to open another command prompt, navigate
-to this sample directory and do:
+to the calculator-rmi-reference sample directory and do:
 
-ant -f build-client.xml run
+ant run
 
 OR if you don't have ant, on Windows do
 
@@ -68,8 +68,7 @@
         CalculatorRMIServer.composite - the SCA assembly for this sample
   calculator-rmi-service.png     - a pictorial representation of the 
                                     .composite file
-  build-server.xml                - the Ant build file for the server
-  build-client.xml                - the Ant build file for the client
+  build.xml                       - the Ant build file for the server
   pom.xml                         - the Maven build file   
   
 Note. As this test creates and uses local network connections you may need to 
@@ -86,8 +85,8 @@
 commands.
 
 cd calculator-rmi-service
-ant -f build-server.xml compile
-ant -f build-server.xml run
+ant compile
+ant run
 
 This will run up the server and display the following.
 
@@ -100,9 +99,9 @@
 It locates the RMI service that the SCA runtime is exposing and calls each of 
 the calculator operations. Start a new console and use the following commands. 
 
-cd calculator-rmi-service
-ant -f build-client.xml compile
-ant -f build-client.xml
+cd calculator-rmi-reference
+ant compile
+ant run
 
 You should see the following output from the run target.
 



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org