You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by sl...@apache.org on 2011/04/13 17:02:47 UTC

svn commit: r1091813 - in /tuscany/sca-java-2.x/trunk/samples/running-tuscany: command-line/ command-line/README command-line/command-line.html command-line/command-line.odt running-tuscany.html running-tuscany.odt

Author: slaws
Date: Wed Apr 13 15:02:47 2011
New Revision: 1091813

URL: http://svn.apache.org/viewvc?rev=1091813&view=rev
Log:
Experimenting with creating links in odt docs using the command line doc as an example.

Added:
    tuscany/sca-java-2.x/trunk/samples/running-tuscany/command-line/
      - copied from r1091415, tuscany/sca-java-2.x/contrib/samples/running-tuscany/command-line/
    tuscany/sca-java-2.x/trunk/samples/running-tuscany/command-line/command-line.html
    tuscany/sca-java-2.x/trunk/samples/running-tuscany/command-line/command-line.odt   (with props)
Removed:
    tuscany/sca-java-2.x/trunk/samples/running-tuscany/command-line/README
Modified:
    tuscany/sca-java-2.x/trunk/samples/running-tuscany/running-tuscany.html
    tuscany/sca-java-2.x/trunk/samples/running-tuscany/running-tuscany.odt

Added: tuscany/sca-java-2.x/trunk/samples/running-tuscany/command-line/command-line.html
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/running-tuscany/command-line/command-line.html?rev=1091813&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/samples/running-tuscany/command-line/command-line.html (added)
+++ tuscany/sca-java-2.x/trunk/samples/running-tuscany/command-line/command-line.html Wed Apr 13 15:02:47 2011
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+  PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"><!--This file was converted to xhtml by OpenOffice.org - see http://xml.openoffice.org/odf2xhtml for more info.--><head profile="http://dublincore.org/documents/dcmi-terms/"><meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8"/><title xml:lang="en-US">- no title specified</title><meta name="DCTERMS.title" content="" xml:lang="en-US"/><meta name="DCTERMS.language" content="en-US" scheme="DCTERMS.RFC4646"/><meta name="DCTERMS.source" content="http://xml.openoffice.org/odf2xhtml"/><meta name="DCTERMS.creator" content="ant "/><meta name="DCTERMS.issued" content="2011-03-15T09:48:55.71" scheme="DCTERMS.W3CDTF"/><meta name="DCTERMS.modified" content="2011-04-13T15:56:44.09" scheme="DCTERMS.W3CDTF"/><meta name="DCTERMS.provenance" content="" xml:lang="en-US"/><meta name="DCTERMS.subject" content="," xml:lang="en-US"/><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" hreflang="en"/><link rel="schema.DCT
 ERMS" href="http://purl.org/dc/terms/" hreflang="en"/><link rel="schema.DCTYPE" href="http://purl.org/dc/dcmitype/" hreflang="en"/><link rel="schema.DCAM" href="http://purl.org/dc/dcam/" hreflang="en"/><base href="."/><style type="text/css">
+	@page {  }
+	table { border-collapse:collapse; border-spacing:0; empty-cells:show }
+	td, th { vertical-align:top; font-size:12pt;}
+	h1, h2, h3, h4, h5, h6 { clear:both }
+	ol, ul { margin:0; padding:0;}
+	li { list-style: none; margin:0; padding:0;}
+	<!-- "li span.odfLiEnd" - IE 7 issue-->
+	li span. { clear: both; line-height:0; width:0; height:0; margin:0; padding:0; }
+	span.footnodeNumber { padding-right:1em; }
+	span.annotation_style_by_filter { font-size:95%; font-family:Arial; background-color:#fff000;  margin:0; border:0; padding:0;  }
+	* { margin:0;}
+	.Heading_20_1 { font-size:115%; margin-bottom:0.212cm; margin-top:0.423cm; font-family:Arial; writing-mode:page; font-weight:bold; }
+	.Standard { font-size:12pt; font-family:Times New Roman; writing-mode:page; }
+	.T1 { font-family:Courier New; }
+	.T2 { font-family:Courier New; font-style:italic; }
+	<!-- ODF styles with no properties representable as CSS -->
+	{ }
+	</style></head><body dir="ltr" style="max-width:21.001cm;margin-top:2cm; margin-bottom:2cm; margin-left:2cm; margin-right:2cm; "><h1 class="Heading_20_1"><a id="a__Running_contributions_using_the_Tuscany_Shell"><span/></a>Running contributions using the Tuscany Shell</h1><p class="Standard"> </p><p class="Standard">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. </p><p class="Standard"> </p><p class="Standard">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 </p><p class="Standard"> </p><p class="Standard">  <span class="T1">bin/tuscany.bat </span><span class="T2">location_of_contribution</span></p><p class="Standard"> </p><
 p class="Standard">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;</p><p class="Standard"> </p><p class="Standard">on Windows:</p><p class="Standard"> </p><p class="Standard">  <span class="T1">bin\tuscany.bat samples\getting-started\helloworld</span></p><p class="Standard"> </p><p class="Standard">on Linux:</p><p class="Standard"> </p><p class="Standard">  <span class="T1">bin/tuscany.sh samples/getting-started/helloworld</span></p><p class="Standard"> </p><p class="Standard">Once the Shell has started with one of those methods you can use Shell commands to explore</p><p class="Standard">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" comman
 d:</p><p class="Standard"> </p><p class="Standard">   <span class="T1">invoke HelloworldComponent sayHello yourName</span></p><p class="Standard"> </p><p class="Standard">TODO – add more instructions on how to use the shell</p></body></html>
\ No newline at end of file

Added: tuscany/sca-java-2.x/trunk/samples/running-tuscany/command-line/command-line.odt
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/running-tuscany/command-line/command-line.odt?rev=1091813&view=auto
==============================================================================
Binary file - no diff available.

Propchange: tuscany/sca-java-2.x/trunk/samples/running-tuscany/command-line/command-line.odt
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: tuscany/sca-java-2.x/trunk/samples/running-tuscany/running-tuscany.html
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/running-tuscany/running-tuscany.html?rev=1091813&r1=1091812&r2=1091813&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/samples/running-tuscany/running-tuscany.html (original)
+++ tuscany/sca-java-2.x/trunk/samples/running-tuscany/running-tuscany.html Wed Apr 13 15:02:47 2011
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE html
   PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"><!--This file was converted to xhtml by OpenOffice.org - see http://xml.openoffice.org/odf2xhtml for more info.--><head profile="http://dublincore.org/documents/dcmi-terms/"><meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8"/><title xml:lang="en-US">- no title specified</title><meta name="DCTERMS.title" content="" xml:lang="en-US"/><meta name="DCTERMS.language" content="en-US" scheme="DCTERMS.RFC4646"/><meta name="DCTERMS.source" content="http://xml.openoffice.org/odf2xhtml"/><meta name="DCTERMS.creator" content="ant "/><meta name="DCTERMS.issued" content="2011-03-15T09:48:55.71" scheme="DCTERMS.W3CDTF"/><meta name="DCTERMS.modified" content="2011-04-12T15:19:45.21" scheme="DCTERMS.W3CDTF"/><meta name="DCTERMS.provenance" content="" xml:lang="en-US"/><meta name="DCTERMS.subject" content="," xml:lang="en-US"/><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" hreflang="en"/><link rel="schema.DCT
 ERMS" href="http://purl.org/dc/terms/" hreflang="en"/><link rel="schema.DCTYPE" href="http://purl.org/dc/dcmitype/" hreflang="en"/><link rel="schema.DCAM" href="http://purl.org/dc/dcam/" hreflang="en"/><base href="."/><style type="text/css">
+<html xmlns="http://www.w3.org/1999/xhtml"><!--This file was converted to xhtml by OpenOffice.org - see http://xml.openoffice.org/odf2xhtml for more info.--><head profile="http://dublincore.org/documents/dcmi-terms/"><meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8"/><title xml:lang="en-US">- no title specified</title><meta name="DCTERMS.title" content="" xml:lang="en-US"/><meta name="DCTERMS.language" content="en-US" scheme="DCTERMS.RFC4646"/><meta name="DCTERMS.source" content="http://xml.openoffice.org/odf2xhtml"/><meta name="DCTERMS.creator" content="ant "/><meta name="DCTERMS.issued" content="2011-03-15T09:48:55.71" scheme="DCTERMS.W3CDTF"/><meta name="DCTERMS.modified" content="2011-04-13T16:01:05.59" scheme="DCTERMS.W3CDTF"/><meta name="DCTERMS.provenance" content="" xml:lang="en-US"/><meta name="DCTERMS.subject" content="," xml:lang="en-US"/><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" hreflang="en"/><link rel="schema.DCT
 ERMS" href="http://purl.org/dc/terms/" hreflang="en"/><link rel="schema.DCTYPE" href="http://purl.org/dc/dcmitype/" hreflang="en"/><link rel="schema.DCAM" href="http://purl.org/dc/dcam/" hreflang="en"/><base href="."/><style type="text/css">
 	@page {  }
 	table { border-collapse:collapse; border-spacing:0; empty-cells:show }
 	td, th { vertical-align:top; font-size:12pt;}
@@ -13,7 +13,8 @@
 	span.footnodeNumber { padding-right:1em; }
 	span.annotation_style_by_filter { font-size:95%; font-family:Arial; background-color:#fff000;  margin:0; border:0; padding:0;  }
 	* { margin:0;}
+	.Heading_20_1 { font-size:115%; margin-bottom:0.212cm; margin-top:0.423cm; font-family:Arial; writing-mode:page; font-weight:bold; }
 	.Standard { font-size:12pt; font-family:Times New Roman; writing-mode:page; }
 	<!-- ODF styles with no properties representable as CSS -->
 	{ }
-	</style></head><body dir="ltr" style="max-width:21.001cm;margin-top:2cm; margin-bottom:2cm; margin-left:2cm; margin-right:2cm; "><p class="Standard">Guide To Running Tuscany</p><p class="Standard"> </p><p class="Standard">How you run the Tuscany runtime, load contributions and start composites depends on what environment you're running in and what you're trying to achieve. For example, if you just want to try out some samples then you may want to run the Tuscany runtime from the command line using the Tuscany shell or from Maven or Ant. If on the other hand you want Tuscany to run in a WebApp, in OSGi or you want to debug the runtime in an IDE like Eclipse different approaches are required.</p><p class="Standard"> </p><p class="Standard">The samples in this directory show various ways in which you can start Tuscany. </p><p class="Standard"> </p><p class="Standard">TBD more overview information</p><p class="Standard"> </p><p class="Standard">TuscanyRuntime + Node
 </p><p class="Standard">dependencies  base , x-*-runtime</p><p class="Standard"> </p><p class="Standard">webapp</p><p class="Standard">standalone</p><p class="Standard">shell</p><p class="Standard">junit</p><p class="Standard">distributed domain</p></body></html>
\ No newline at end of file
+	</style></head><body dir="ltr" style="max-width:21.001cm;margin-top:2cm; margin-bottom:2cm; margin-left:2cm; margin-right:2cm; "><h1 class="Heading_20_1"><a id="a__Starting_the_Tuscany_SCA_Runtime"><span/></a>Starting the  Tuscany SCA Runtime</h1><p class="Standard"> </p><p class="Standard">How you run the Tuscany runtime, load contributions and start composites depends on what environment you're running in and what you're trying to achieve. For example, if you just want to try out some samples then you may want to run the Tuscany runtime from the command line using the Tuscany shell or from Maven or Ant. If on the other hand you want Tuscany to run in a WebApp, in OSGi or you want to debug the runtime in an IDE like Eclipse different approaches are required.</p><p class="Standard"> </p><p class="Standard">TODO more overview information</p><p class="Standard"> </p><p class="Standard">The samples in this directory show various ways in which you can start Tuscany.
 </p><p class="Standard"> </p><p class="Standard">Command line - <a href="file:///D:/sca-java-2.x/samples/running-tuscany/command-line/command-line.html">./command-line/command-line.html</a></p><p class="Standard"> </p><p class="Standard"> </p><p class="Standard">TuscanyRuntime + Node</p><p class="Standard">dependencies  base , x-*-runtime</p><p class="Standard"> </p><p class="Standard">webapp</p><p class="Standard">standalone</p><p class="Standard">shell</p><p class="Standard">junit</p><p class="Standard">distributed domain</p></body></html>
\ No newline at end of file

Modified: tuscany/sca-java-2.x/trunk/samples/running-tuscany/running-tuscany.odt
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/running-tuscany/running-tuscany.odt?rev=1091813&r1=1091812&r2=1091813&view=diff
==============================================================================
Binary files - no diff available.