You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by ri...@apache.org on 2006/05/16 17:08:40 UTC

svn commit: r406965 - /incubator/tuscany/java/docs/sampleSetup.htm

Author: rineholt
Date: Tue May 16 08:08:39 2006
New Revision: 406965

URL: http://svn.apache.org/viewcvs?rev=406965&view=rev
Log:
put sample table on top

Modified:
    incubator/tuscany/java/docs/sampleSetup.htm

Modified: incubator/tuscany/java/docs/sampleSetup.htm
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/docs/sampleSetup.htm?rev=406965&r1=406964&r2=406965&view=diff
==============================================================================
--- incubator/tuscany/java/docs/sampleSetup.htm (original)
+++ incubator/tuscany/java/docs/sampleSetup.htm Tue May 16 08:08:39 2006
@@ -4,45 +4,49 @@
 you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS"
 BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for
 the specific language governing permissions and limitations under the License. -->
-
-<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
-<meta content="text/css" http-equiv="Content-Style-Type"><title>Tuscany Sample Setup</title><!-- LINK rel="stylesheet" href="ait.css" type="text/css" -->
-
-
+<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"><meta content="text/css" http-equiv="Content-Style-Type"><title>Tuscany Sample
+Setup</title><!-- LINK rel="stylesheet" href="ait.css" type="text/css" -->
 <style type="text/css" media="all">
 @import url("../../css/maven-base.css");
 @import url("../../css/maven-theme.css");
 @import url("../../css/site.css");
-</style>
-<link rel="stylesheet" href="./css/print.css" type="text/css" media="print"></head>
+</style><link rel="stylesheet" href="./css/print.css" type="text/css" media="print"></head>
 <body>
-<h2>Tuscany&nbsp;Sample Setup</h2>
-<h3>Tuscany from a distribution&nbsp;</h3>None of the <span style="font-weight: bold;">Setup, J2SE setup, and &nbsp;Tomcat Setup </span>sections are<span style="font-weight: bold;"></span>
-necessary if you are working from a binary distribution. These sections
-document what class files are needed and the modifications that are
-done to a standard Tomcat distribution to run Tuscany.&nbsp; If you are
-working from a binary distribution please proceed to the <a href="#Samples">Samples</a> section of this document.
+<h2>Tuscany&nbsp;Sample Setup</h2><h3></h3><h3><a name="Samples"></a>Samples&nbsp;</h3>Tuscany
+&nbsp;samples are&nbsp;divided in two&nbsp;categories listed in the
+table below. If you are working from a binary distribution there is no
+need to follow and of the setup information provided below. <br>The sections following this describe how to build and setup Tuscany from its source.
+<table style="text-align: left; width: 100%;" border="0" cellpadding="2" cellspacing="2"><caption style="text-decoration: underline;">Tuscany
+samples and applications</caption><tbody>
+<tr><td style="vertical-align: top; white-space: nowrap;"><span style="text-decoration: underline;"></span><a href="../samples/sca/readme.htm">Technology samples</a>
+</td><td>Shows
+simple samples that emphasizes &nbsp;how to to use SCA technology.<br>
+</td></tr>
+<tr><td style="vertical-align: top; white-space: nowrap;">
+<a href="../sampleapps/readme.htm">Sample
+applications</a></td>
+<td>Sample business applications that show&nbsp; SCA
+and SDO.<br>
+<br></td>
+</tr></tbody>
+</table>
 <br>
 <h3>Getting
 Tuscany</h3>
 Obtain Subversion <a target="_blank" href="http://subversion.tigris.org/">Subversion</a><br>
-<ul>
-<li>md
+<ul><li>md
 tuscany</li>
 <li>cd tuscany</li>
 <li>svn co
 http://svn.apache.org/repos/asf/incubator/tuscany/java</li>
-</ul>
-<h3>&nbsp;Build
+</ul><h3>&nbsp;Build
 Tuscany&nbsp;</h3>
 Obtain <a target="_blank" href="http://maven.apache.org/">Maven
 2.0.2</a><br>
-<ul>
-<li>cd
+<ul><li>cd
 java</li>
 <li>mvn</li>
-</ul>
-<h3>Setup</h3>
+</ul><h3>Setup</h3>
 <h4><a name="J2SE_setup"></a>J2SE
 setup</h4>
 Tuscany applications can be run in a J2SE 5.0
@@ -53,36 +57,26 @@
 Samples&nbsp;not requiring invoking web
 services
 need at least the following jars in their classpath<br>
-<a name="#J2SEJARSNWS"></a><br>
-<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
-<tbody>
-<tr>
-<td>
-<pre style="margin-left: 40px;">asm-2.2.jar<br>common-2.2.0-SNAPSHOT.jar<br>commons-logging-1.0.4.jar<br>concurrent-1.3.4.jar<br>ecore-2.2.0-SNAPSHOT.jar<br>ecore-change-2.2.0-SNAPSHOT.jar<br>ecore-xmi-2.2.0-SNAPSHOT.jar<br>geronimo-connector-1.0.jar<br>geronimo-j2ee-connector_1.5_spec-1.0.jar<br>geronimo-jta_1.0.1B_spec-1.0.jar<br>geronimo-transaction-1.0.jar<br>js-1.6R2.jar<br>sca-api-SNAPSHOT.jar<br>sdo-api-SNAPSHOT.jar<br>stax-api-1.0.jar<br>tuscany-binding-jsonrpc-SNAPSHOT.jar<br>tuscany-common-SNAPSHOT.jar<br>tuscany-container-java-SNAPSHOT.jar<br>tuscany-container-rhino-SNAPSHOT.jar<br>tuscany-core-SNAPSHOT.jar<br>tuscany-databinding-sdo-SNAPSHOT.jar<br>tuscany-model-SNAPSHOT.jar<br>tuscany-runtime.jar<br>tuscany-sdo-impl-SNAPSHOT.jar<br>wsdl4j-1.5.2.jar<br>wstx-asl-2.9.3.jar<br>xbean-2.1.0.jar<br>xsd-2.2.0-SNAPSHOT.jar</pre>
-</td>
-</tr>
-</tbody>
-</table>
+<a name="#J2SEJARSNWS"></a><br><table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
+<tbody><tr>
+<td><pre style="margin-left: 40px;">asm-2.2.jar<br>common-2.2.0-SNAPSHOT.jar<br>commons-logging-1.0.4.jar<br>concurrent-1.3.4.jar<br>ecore-2.2.0-SNAPSHOT.jar<br>ecore-change-2.2.0-SNAPSHOT.jar<br>ecore-xmi-2.2.0-SNAPSHOT.jar<br>geronimo-connector-1.0.jar<br>geronimo-j2ee-connector_1.5_spec-1.0.jar<br>geronimo-jta_1.0.1B_spec-1.0.jar<br>geronimo-transaction-1.0.jar<br>js-1.6R2.jar<br>sca-api-SNAPSHOT.jar<br>sdo-api-SNAPSHOT.jar<br>stax-api-1.0.jar<br>tuscany-binding-jsonrpc-SNAPSHOT.jar<br>tuscany-common-SNAPSHOT.jar<br>tuscany-container-java-SNAPSHOT.jar<br>tuscany-container-rhino-SNAPSHOT.jar<br>tuscany-core-SNAPSHOT.jar<br>tuscany-databinding-sdo-SNAPSHOT.jar<br>tuscany-model-SNAPSHOT.jar<br>tuscany-runtime.jar<br>tuscany-sdo-impl-SNAPSHOT.jar<br>wsdl4j-1.5.2.jar<br>wstx-asl-2.9.3.jar<br>xbean-2.1.0.jar<br>xsd-2.2.0-SNAPSHOT.jar</pre>
+</td></tr>
+</tbody></table>
 <span style="font-style: italic;">There is an <a href="http://ant.apache.org/bindownload.cgi" target="_blank">ant</a>
 script in java\testing\tomcat\build.xml that will produce in
 tuscany\java\testing\tomcat\target\j2se all the jars above once you
 have completed the full maven build at the root. Run "<span style="font-weight: bold;">ant j2se</span>"
 &nbsp;Use in java -Djava.ext.dirs to point to this directory to
 include all these jars.</span><br>
-<br>
-If
+<br>If
 you're planning to use SCA Web Service bindings from your Tuscany
 application, add the following JAR files to your classpath:<br>
-<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
-<tbody>
-<tr>
-<td>
-<pre style="margin-left: 40px;"> axiom-api-1.0.jar<br> axiom-impl-1.0.jar<br> axis2-kernel-1.0.jar<br> commons-codec-1.3.jar<br> commons-httpclient-3.0.jar<br> commons-logging-1.0.3.jar<br> junit-3.8.1.jar<br> neethi-1.0.1.jar<br> tuscany-axis2.jar<br> tuscany-binding-axis2-SNAPSHOT.jar<br> XmlSchema-1.0.2.jar</pre>
-</td>
-</tr>
-</tbody>
-</table>
-<span style="font-style: italic;">here is an <a href="http://ant.apache.org/bindownload.cgi" target="_blank">ant</a>
+<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"><tbody>
+<tr><td>
+<pre style="margin-left: 40px;"> axiom-api-1.0.jar<br> axiom-impl-1.0.jar<br> axis2-kernel-1.0.jar<br> commons-codec-1.3.jar<br> commons-httpclient-3.0.jar<br> commons-logging-1.0.3.jar<br> junit-3.8.1.jar<br> neethi-1.0.1.jar<br> tuscany-axis2.jar<br> tuscany-binding-axis2-SNAPSHOT.jar<br> XmlSchema-1.0.2.jar</pre></td>
+</tr></tbody>
+</table><span style="font-style: italic;">here is an
+<a href="http://ant.apache.org/bindownload.cgi" target="_blank">ant</a>
 script in java\testing\tomcat\build.xml that will produce in
 tuscany\java\testing\tomcat\target\j2sews all the jars above once you
 have completed the full maven build at the root. Run "<span style="font-weight: bold;">ant j2sews</span>
@@ -104,16 +98,13 @@
 directory.&nbsp; </p>
 <p>The
 details:</p>
-<ul compact="compact">
-<li>Unzip
+<ul compact="compact"><li>Unzip
 Tomcat to acceptance\target\apache-tomcat-5.5.15 </li>
 <li>Add
 org.apache.Tuscany.tomcat.lifecycle.listener.TomcatServerLifecycleListener
 to conf\server.xml<br>
-<table style="width: 100%; text-align: left; margin-left: auto; margin-right: auto;" border="1" cellpadding="2" cellspacing="2">
-<tbody>
-<tr>
-<td style="background-color: rgb(204, 204, 204);"><code>Change
+<table style="width: 100%; text-align: left; margin-left: auto; margin-right: auto;" border="1" cellpadding="2" cellspacing="2"><tbody>
+<tr><td style="background-color: rgb(204, 204, 204);"><code>Change
 the Host element to add </code><span style="font-weight: bold;">className="org.apache.tuscany.tomcat.TuscanyHost"</span>
 attribute like this<code>:<br>
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
@@ -122,62 +113,24 @@
 unpackWARs="true"
 autoDeploy="true" xmlValidation="false"
 xmlNamespaceAware="false"&gt;<br>
-<br>
-</code></td>
-</tr>
-</tbody>
-</table>
-<p>The following jars need to be placed in tomcats
+<br></code></td>
+</tr></tbody>
+</table><p>The following jars need to be placed in tomcats
 common/lib directory</p>
-<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
-<tbody>
-<tr>
-<td>
-<pre>common-2.2.0-snapshot.jar<br>ecore-2.2.0-snapshot.jar<br>ecore-change-2.2.0-snapshot.jar<br>ecore-xmi-2.2.0-snapshot.jar<br>sca-api-snapshot.jar<br>sdo-api-snapshot.jar<br>stax-api-1.0.jar<br>tuscany-das-rdb-snapshot.jar<br>tuscany-sdo-impl-snapshot.jar<br>wstx-asl-2.9.3.jar<br>xsd-2.2.0-snapshot.jar<br>jsonrpc-1.0.jar <span style="font-style: italic;"><span style="font-weight: bold;">Optional if you want javascript components</span></span><br><span style="font-style: italic;"><span style="font-weight: bold;"></span></span>derby-10.1.2.1.jar <span style="font-style: italic;"><span style="font-weight: bold;">Optional if you want database support</span></span></pre>
-</td>
-</tr>
-</tbody>
-</table>
-</li>
-<li>
-<p>The
+<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"><tbody>
+<tr><td>
+<pre>common-2.2.0-snapshot.jar<br>ecore-2.2.0-snapshot.jar<br>ecore-change-2.2.0-snapshot.jar<br>ecore-xmi-2.2.0-snapshot.jar<br>sca-api-snapshot.jar<br>sdo-api-snapshot.jar<br>stax-api-1.0.jar<br>tuscany-das-rdb-snapshot.jar<br>tuscany-sdo-impl-snapshot.jar<br>wstx-asl-2.9.3.jar<br>xsd-2.2.0-snapshot.jar<br>jsonrpc-1.0.jar <span style="font-style: italic;"><span style="font-weight: bold;">Optional if you want javascript components</span></span><br><span style="font-style: italic;"><span style="font-weight: bold;"></span></span>derby-10.1.2.1.jar <span style="font-style: italic;"><span style="font-weight: bold;">Optional if you want database support</span></span></pre></td>
+</tr></tbody>
+</table></li>
+<li><p>The
 following jars need to go into the server/lib</p>
-<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
-<tbody>
-<tr>
-<td>
-<pre>asm-2.2.jar<br>axiom-api-1.0.jar<br>axiom-impl-1.0.jar<br>axis2-kernel-1.0.jar<br>commons-codec-1.3.jar<br>commons-httpclient-3.0.jar<br>commons-logging-1.0.4.jar<br>concurrent-1.3.4.jar<br>geronimo-connector-1.0.jar<br>geronimo-j2ee-connector_1.5_spec-1.0.jar<br>geronimo-jta_1.0.1b_spec-1.0.jar<br>geronimo-transaction-1.0.jar<br>neethi-1.0.1.jar<br>tuscany-binding-axis2-snapshot.jar<br>tuscany-binding-jsonrpc-snapshot.jar<br>tuscany-common-snapshot.jar<br>tuscany-container-java-snapshot.jar<br>tuscany-core-snapshot.jar<br>tuscany-databinding-sdo-snapshot.jar<br>tuscany-model-snapshot.jar<br>tuscany-tomcat-snapshot.jar<br>wsdl4j-1.5.2.jar<br>xmlschema-1.0.2.jar</pre>
-</td>
-</tr>
-</tbody>
-</table>
-
-</li>
+<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"><tbody>
+<tr><td>
+<pre>asm-2.2.jar<br>axiom-api-1.0.jar<br>axiom-impl-1.0.jar<br>axis2-kernel-1.0.jar<br>commons-codec-1.3.jar<br>commons-httpclient-3.0.jar<br>commons-logging-1.0.4.jar<br>concurrent-1.3.4.jar<br>geronimo-connector-1.0.jar<br>geronimo-j2ee-connector_1.5_spec-1.0.jar<br>geronimo-jta_1.0.1b_spec-1.0.jar<br>geronimo-transaction-1.0.jar<br>neethi-1.0.1.jar<br>tuscany-binding-axis2-snapshot.jar<br>tuscany-binding-jsonrpc-snapshot.jar<br>tuscany-common-snapshot.jar<br>tuscany-container-java-snapshot.jar<br>tuscany-core-snapshot.jar<br>tuscany-databinding-sdo-snapshot.jar<br>tuscany-model-snapshot.jar<br>tuscany-tomcat-snapshot.jar<br>wsdl4j-1.5.2.jar<br>xmlschema-1.0.2.jar</pre></td>
+</tr></tbody>
+</table></li>
 <li>For
 the samples copy their war files to Tomcat's webapps
 directory.</li>
 </ul>
-<h3><a name="Samples"></a>Samples&nbsp;</h3>
-<table style="text-align: left; width: 100%;" border="0" cellpadding="2" cellspacing="2">
-<caption style="text-decoration: underline;">Tuscany
-samples and applications</caption><tbody>
-<tr>
-<td style="vertical-align: top; white-space: nowrap;"><span style="text-decoration: underline;"></span><a href="../samples/sca/readme.htm">Technology samples</a>
-</td>
-<td>Shows
-simple samples that emphasizes &nbsp;how to to use SCA technology.<br>
-</td>
-</tr>
-<tr>
-<td style="vertical-align: top; white-space: nowrap;">
-<a href="../sampleapps/readme.htm">Sample
-applications</a></td>
-<td>Sample business applications that show&nbsp; SCA
-and SDO.<br>
-<br>
-</td>
-</tr>
-</tbody>
-</table>
-<br>
 </body></html>