Update the readme with some running instructions

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@824696 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
antelder 2009-10-13 11:18:10 +00:00
parent 5178080e97
commit 3be74fda00

View file

@ -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)