From e5b7380c874745c989d1816b8f552504f038e1bc Mon Sep 17 00:00:00 2001 From: lresende Date: Thu, 26 Sep 2013 20:33:20 +0000 Subject: 2.0 branch for possible maintenance release git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1526672 13f79535-47bb-0310-9956-ffa450edef68 --- .../running-tuscany/command-line/README.html | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 sca-java-2.x/branches/2.0/samples/running-tuscany/command-line/README.html (limited to 'sca-java-2.x/branches/2.0/samples/running-tuscany/command-line/README.html') diff --git a/sca-java-2.x/branches/2.0/samples/running-tuscany/command-line/README.html b/sca-java-2.x/branches/2.0/samples/running-tuscany/command-line/README.html new file mode 100644 index 0000000000..6343cf5f85 --- /dev/null +++ b/sca-java-2.x/branches/2.0/samples/running-tuscany/command-line/README.html @@ -0,0 +1,41 @@ + + + +- no title specified

Running contributions using the Tuscany Shell

 

To execute a sample contribution from the command line without needing to write any runtime launcher code you can use the Tuscany shell. The Shell provides a simple tool for loading and running SCA contributions.

 

The shell can be started using the tuscany.bat (windows) or tuscany.sh (linux) scripts provided in the /bin directory of the binary distribution. You can provide the name of a contribution as an argument in the following way

 

  bin/tuscany.bat location_of_contribution

 

The getting-started\helloworld contribution is a good contribution to start with if you want to give this a go. First change directory to the root of the Tuscany binary distribution. Then;

 

on Windows:

 

  bin\tuscany.bat samples\getting-started\helloworld

 

on Linux:

 

  bin/tuscany.sh samples/getting-started/helloworld

 

Once the Shell has started with one of those methods you can use Shell commands to explore

the SCA domain, for example, use the "installed" command to get the status of installed contributions, "services" to see the available component services, and you may test calling the helloworld service by using the "invoke" command:

 

   invoke HelloworldComponent sayHello yourName

 

TODO – add more instructions on how to use the shell

\ No newline at end of file -- cgit v1.2.3