You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2010/09/19 08:30:25 UTC
svn commit: r998597 - in
/tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell: README
scripts/test-remote.txt scripts/test-start.txt scripts/test-stop.txt
scripts/test.txt src/main/webapp/index.html
Author: jsdelfino
Date: Sun Sep 19 06:30:25 2010
New Revision: 998597
URL: http://svn.apache.org/viewvc?rev=998597&view=rev
Log:
Fix links broken by recent refactoring of the sameples, and use store contribution instead of calculator in shell sample.
Modified:
tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/README
tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/scripts/test-remote.txt
tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/scripts/test-start.txt
tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/scripts/test-stop.txt
tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/scripts/test.txt
tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/src/main/webapp/index.html
Modified: tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/README
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/README?rev=998597&r1=998596&r2=998597&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/README (original)
+++ tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/README Sun Sep 19 06:30:25 2010
@@ -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 <scripts/test.txt
or
Modified: tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/scripts/test-remote.txt
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/scripts/test-remote.txt?rev=998597&r1=998596&r2=998597&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/scripts/test-remote.txt (original)
+++ tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/scripts/test-remote.txt Sun Sep 19 06:30:25 2010
@@ -14,23 +14,23 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
-start foo http://people.apache.org/~jsdelfino/tuscany/java/test/sample-contribution-binding-ws-calculator.jar
-stop foo
-start foo http://people.apache.org/~jsdelfino/tuscany/java/test/sample-contribution-binding-ws-calculator.jar
-stop foo
-start foo http://people.apache.org/~jsdelfino/tuscany/java/test/sample-contribution-binding-ws-calculator.jar
-stop foo
-start foo http://people.apache.org/~jsdelfino/tuscany/java/test/sample-contribution-binding-ws-calculator.jar
-stop foo
-start foo http://people.apache.org/~jsdelfino/tuscany/java/test/sample-contribution-binding-ws-calculator.jar
-stop foo
-start foo http://people.apache.org/~jsdelfino/tuscany/java/test/sample-contribution-binding-ws-calculator.jar
-stop foo
-start foo http://people.apache.org/~jsdelfino/tuscany/java/test/sample-contribution-binding-ws-calculator.jar
-stop foo
-start foo http://people.apache.org/~jsdelfino/tuscany/java/test/sample-contribution-binding-ws-calculator.jar
-stop foo
-start foo http://people.apache.org/~jsdelfino/tuscany/java/test/sample-contribution-binding-ws-calculator.jar
-stop foo
-start foo http://people.apache.org/~jsdelfino/tuscany/java/test/sample-contribution-binding-ws-calculator.jar
-stop foo
+start testNode http://people.apache.org/~jsdelfino/tuscany/java/test/sample-store.jar
+stop testNode
+start testNode http://people.apache.org/~jsdelfino/tuscany/java/test/sample-store.jar
+stop testNode
+start testNode http://people.apache.org/~jsdelfino/tuscany/java/test/sample-store.jar
+stop testNode
+start testNode http://people.apache.org/~jsdelfino/tuscany/java/test/sample-store.jar
+stop testNode
+start testNode http://people.apache.org/~jsdelfino/tuscany/java/test/sample-store.jar
+stop testNode
+start testNode http://people.apache.org/~jsdelfino/tuscany/java/test/sample-store.jar
+stop testNode
+start testNode http://people.apache.org/~jsdelfino/tuscany/java/test/sample-store.jar
+stop testNode
+start testNode http://people.apache.org/~jsdelfino/tuscany/java/test/sample-store.jar
+stop testNode
+start testNode http://people.apache.org/~jsdelfino/tuscany/java/test/sample-store.jar
+stop testNode
+start testNode http://people.apache.org/~jsdelfino/tuscany/java/test/sample-store.jar
+stop testNode
Modified: tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/scripts/test-start.txt
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/scripts/test-start.txt?rev=998597&r1=998596&r2=998597&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/scripts/test-start.txt (original)
+++ tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/scripts/test-start.txt Sun Sep 19 06:30:25 2010
@@ -14,5 +14,5 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
-start foo http://people.apache.org/~jsdelfino/tuscany/java/test/sample-contribution-binding-ws-calculator.jar
+start testNode http://people.apache.org/~jsdelfino/tuscany/java/test/sample-store.jar
status
Modified: tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/scripts/test-stop.txt
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/scripts/test-stop.txt?rev=998597&r1=998596&r2=998597&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/scripts/test-stop.txt (original)
+++ tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/scripts/test-stop.txt Sun Sep 19 06:30:25 2010
@@ -14,4 +14,4 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
-stop foo
+stop testNode
Modified: tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/scripts/test.txt
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/scripts/test.txt?rev=998597&r1=998596&r2=998597&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/scripts/test.txt (original)
+++ tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/scripts/test.txt Sun Sep 19 06:30:25 2010
@@ -14,23 +14,23 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
-start foo ../contribution-implementation-java-calculator/target/classes
-stop foo
-start foo ../contribution-implementation-java-calculator/target/classes
-stop foo
-start foo ../contribution-implementation-java-calculator/target/classes
-stop foo
-start foo ../contribution-implementation-java-calculator/target/classes
-stop foo
-start foo ../contribution-implementation-java-calculator/target/classes
-stop foo
-start foo ../contribution-implementation-java-calculator/target/classes
-stop foo
-start foo ../contribution-implementation-java-calculator/target/classes
-stop foo
-start foo ../contribution-implementation-java-calculator/target/classes
-stop foo
-start foo ../contribution-implementation-java-calculator/target/classes
-stop foo
-start foo ../contribution-implementation-java-calculator/target/classes
-stop foo
+start testNode ../../applications/store/target/sample-store.jar
+stop testNode
+start testNode ../../applications/store/target/sample-store.jar
+stop testNode
+start testNode ../../applications/store/target/sample-store.jar
+stop testNode
+start testNode ../../applications/store/target/sample-store.jar
+stop testNode
+start testNode ../../applications/store/target/sample-store.jar
+stop testNode
+start testNode ../../applications/store/target/sample-store.jar
+stop testNode
+start testNode ../../applications/store/target/sample-store.jar
+stop testNode
+start testNode ../../applications/store/target/sample-store.jar
+stop testNode
+start testNode ../../applications/store/target/sample-store.jar
+stop testNode
+start testNode ../../applications/store/target/sample-store.jar
+stop testNode
Modified: tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/src/main/webapp/index.html
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/src/main/webapp/index.html?rev=998597&r1=998596&r2=998597&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/src/main/webapp/index.html (original)
+++ tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/src/main/webapp/index.html Sun Sep 19 06:30:25 2010
@@ -24,17 +24,17 @@
<h1>It works</h1>
<p>This Web app runs a sample Tuscany runtime shell similar to samples/launcher-shell.<br/>
-To see how it works and what configuration commands are supported, just read the Shell program's <a href="http://svn.apache.org/repos/asf/tuscany/sca-java-2.x/trunk/samples/launcher-shell/src/main/java/sample/Shell.java">source code</a>.</p>
+To see how it works and what configuration commands are supported, just read the Shell program's <a href="http://svn.apache.org/repos/asf/tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/src/main/java/sample/Shell.java">source code</a>.</p>
<p>Configuration commands can be provided through a text document served from a Web location, for example:<br/>
-<a href="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/launcher-shell/scripts/test-start.txt</a></p>
+<a href="http://svn.apache.org/repos/asf/tuscany/sca-java-2.x/trunk/samples/running-tuscany/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</a></p>
<p>To run that particular configuration script just point your Web browser to:<br/>
-<a href="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/launcher-shell/scripts/test-start.txt</a><br/>
+<a href="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">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</a><br/>
To run the script again and refresh the runtime shell, just refresh that page in your Web browser.
</p>
-<p>Sample configuration script samples are available in the Tuscany Subversion repository <a href="http://svn.apache.org/repos/asf/tuscany/sca-java-2.x/trunk/samples/launcher-shell/scripts/">there</a>.
+<p>Sample configuration script samples are available in the Tuscany Subversion repository <a href="http://svn.apache.org/repos/asf/tuscany/sca-java-2.x/trunk/samples/running-tuscany/launcher-shell/scripts/">there</a>.
</body>
</html>