From 3be74fda00179b7f2f2550b19150e560e0ce6252 Mon Sep 17 00:00:00 2001 From: antelder Date: Tue, 13 Oct 2009 11:18:10 +0000 Subject: Update the readme with some running instructions git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@824696 13f79535-47bb-0310-9956-ffa450edef68 --- sandbox/eightball-demo/README.txt | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'sandbox/eightball-demo') diff --git a/sandbox/eightball-demo/README.txt b/sandbox/eightball-demo/README.txt index 606c467e6a..c77473d525 100644 --- a/sandbox/eightball-demo/README.txt +++ b/sandbox/eightball-demo/README.txt @@ -13,6 +13,40 @@ And finally there's an eightball-webapp which has a simple webapp to invoke all +When the SCAClient API is updated to work with the distributed domain it would be good to simplify all the *-test.jar contributions to show using the SCAClient APIs. + +If you've a recent 2.x full build you can run the contributions using the tuscany.bat script in the 2.x distribution (which you can find in distribution\all\target\apache-tuscany-sca-all-2.0-SNAPSHOT-dir\tuscany-sca-2.0-SNAPSHOT). Its easiest if you add that to your environment path, eg: + + set PATH=\Tuscany\SVN\2.x-trunk\distribution\all\target\apache-tuscany-sca-all-2.0-SNAPSHOT-dir\tuscany-sca-2.0-SNAPSHOT\bin;%PATH% + +then at a command prompt: + + tuscany tribes:eightballDomain eightball.jar + +and at another command prompt: + + tuscany tribes:eightballDomain eightball-test.jar + +That uses multicast, running on separate machines you need point one node at another, so + + tuscany tribes:eightballDomain eightball.jar + +then in the console log look for the IP in the line: + + INFO: Receiver Server Socket bound to:/9.164.186.49:4000 + +and start the test node using that ip:port, eg: + + tuscany "tribes:eightballDomain?routes=9.164.186.49:4000" eightball-test.jar + +(Note that you must have quotes around the config uri) + + + + + + + -- cgit v1.2.3