From 8f5b122526f001ceb4f1178153e6749fc2e65af7 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Sun, 19 Sep 2010 06:30:25 +0000 Subject: Fix links broken by recent refactoring of the sameples, and use store contribution instead of calculator in shell sample. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@998597 13f79535-47bb-0310-9956-ffa450edef68 --- .../samples/running-tuscany/launcher-shell/README | 6 ++-- .../launcher-shell/scripts/test-remote.txt | 40 +++++++++++----------- .../launcher-shell/scripts/test-start.txt | 2 +- .../launcher-shell/scripts/test-stop.txt | 2 +- .../launcher-shell/scripts/test.txt | 40 +++++++++++----------- .../launcher-shell/src/main/webapp/index.html | 8 ++--- 6 files changed, 49 insertions(+), 49 deletions(-) diff --git a/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/README b/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/README index abdf824621..9745f57ad9 100644 --- a/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/README +++ b/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/README @@ -11,10 +11,10 @@ To run it: ./sca at the prompt: -start myNode mySampleContrib ../contribution-implementation-java-calculator/target/classes +start myNode ../../applications/store/target/sample-store.jar or: -start myNode mySampleContrib http://people.apache.org/~jsdelfino/tuscany/java/test/sample-contribution-binding-ws-calculator.jar +start myNode http://people.apache.org/~jsdelfino/tuscany/java/test/sample-store.jar also try: status @@ -22,7 +22,7 @@ stop myNode bye Starting and stopping composites is pretty fast. To see that, try the following -two scripts, which start/stop a sample composite 10 times. +two scripts, which start/stop the sample store composite 10 times. ./sca It works

This Web app runs a sample Tuscany runtime shell similar to samples/launcher-shell.
-To see how it works and what configuration commands are supported, just read the Shell program's source code.

+To see how it works and what configuration commands are supported, just read the Shell program's source code.

Configuration commands can be provided through a text document served from a Web location, for example:
-http://svn.apache.org/repos/asf/tuscany/sca-java-2.x/trunk/samples/launcher-shell/scripts/test-start.txt

+http://svn.apache.org/repos/asf/tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/scripts/test-start.txt

To run that particular configuration script just point your Web browser to:
-http://localhost:8080/scashell/run?conf=http://svn.apache.org/repos/asf/tuscany/sca-java-2.x/trunk/samples/launcher-shell/scripts/test-start.txt
+http://localhost:8080/scashell/run?conf=http://svn.apache.org/repos/asf/tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/scripts/test-start.txt
To run the script again and refresh the runtime shell, just refresh that page in your Web browser.

-

Sample configuration script samples are available in the Tuscany Subversion repository there. +

Sample configuration script samples are available in the Tuscany Subversion repository there. -- cgit v1.2.3