You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by sv...@apache.org on 2006/12/24 07:36:32 UTC

svn commit: r489989 - /incubator/tuscany/site/site-author/java_sca_overview.xml

Author: svkrish
Date: Sat Dec 23 22:36:32 2006
New Revision: 489989

URL: http://svn.apache.org/viewvc?view=rev&rev=489989
Log:
Patch applied from http://issues.apache.org/jira/browse/TUSCANY-1017

Modified:
    incubator/tuscany/site/site-author/java_sca_overview.xml

Modified: incubator/tuscany/site/site-author/java_sca_overview.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/site/site-author/java_sca_overview.xml?view=diff&rev=489989&r1=489988&r2=489989
==============================================================================
--- incubator/tuscany/site/site-author/java_sca_overview.xml (original)
+++ incubator/tuscany/site/site-author/java_sca_overview.xml Sat Dec 23 22:36:32 2006
@@ -28,15 +28,23 @@
 <p>See <a href="sca_downloads.html" title="SCA Downloads">SCA Downloads</a> for links to the downloadable archives for Tuscany SCA Java.
 <i>Note: These archives all unpack into the current directory.</i></p>
 
+<h3>Installing the Binary Distribution</h3>
+<p>If you would like to run from a pre-built binary distribution, proceed as follows:</p>
+<ol>
+<li>Download the binary distribution tuscany-sca-1.0-incubator-M2-bin.tar.gz or tuscany-sca-1.0-incubator-M2-bin.zip.</li>
+<li>Create an empty directory and unpack the binary distribution into that directory.</li>
+<li>In later sections of this document, we will refer to the directory that was created in step 2 (or built from source following the alternative instructions above) as (sca-home).</li>
+</ol>
+
 <h3>Building the Source Distribution</h3>
-<p>To build the Tuscany SCA Java implementation from source:</p>
+<p>If you prefer to build the Tuscany SCA Java implementation from the source distribution, the procedure is as follows:</p>
 <ol>
 <li>Download the implementation source distribution tuscany-sca-1.0-incubator-M2-src.tar.gz or tuscany-sca-1.0-incubator-M2-src.zip.</li>
 <li>Create an empty directory and unpack the source distribution into that directory.</li>
 <li>Follow the instructions in the BUILDING.txt file that was unpacked.</li>
 </ol>
 <p>As part of the above build process, the SCA and commonj specification files will be downloaded as pre-built binaries from the remote maven repositories into your local maven repository.</p>
-<p>If you prefer, you can build these specification binaries from source and install them in your local maven repository, as follows:</p>
+<p>Alternatively, you can build these specification binaries from source and install them in your local maven repository, as follows:</p>
 <ol>
 <li>Download the SCA specification source distribution tuscany-spec-sca-r0.95-incubator-M2-src.tar.gz or tuscany-spec-sca-r0.95-incubator-M2-src.zip.</li>
 <li>Create a new empty directory and unpack the source distribution into that directory.</li>
@@ -46,12 +54,21 @@
 <li>Change directory to the newly created directory and run "mvn install".  The commonj specification binary jar will be installed in your local maven repository.</li>
 </ol>
 
-<h3>Installing the Binary Distribution</h3>
-<p>If you prefer to run from a pre-built binary, proceed as follows:</p>
+<h3>Checking Out and Building the Source</h3>
+<p>If you want to do a development build from the latest Tuscany SCA Java source tree in the subversion repository, you will need to check out and build the code.  You'll need Subversion and Maven installed on your machine.  For details of where to obtain these, see the <a href="java-projects.html" title="Java project page">Java project page</a>.  The following instructions are correct at the time of writing, but may change in the near future because of build restructuring.</p>
+<p><i>Note: Maven automatically downloads project dependencies from remote repositories, so a live internet connection is required the first time a build is run.  Because of load on the repository servers, you may experience occasional download failures.  If these should occur, simply rerun the build.</i></p>
 <ol>
-<li>Download the binary distribution tuscany-sca-1.0-incubator-M2-bin.tar.gz or tuscany-sca-1.0-incubator-M2-bin.zip.</li>
-<li>Create an empty directory and unpack the binary distribution into that directory.</li>
-<li>In later sections of this document, we will refer to the directory that was created in step 2 (or built from source following the alternative instructions above) as (sca-home).</li>
+<li>Before building Tuscany SCA Java, you will previously need to have built Tuscany SDO Java.  The SDO Java build installs the SDO jars in your local Maven repository (located by default in ${user.home}/.m2/repository ) from where they will be picked up when building the Tuscany SCA implementation.  See <a href="java_sdo_overview.html" title="SDO Java">SDO Java</a> for details of how to do this.</li>
+<li>Create an empty directory and cd to that directory.</li>
+<li>Check out the SCA specifications Java source by running the command
+<p style="font-family:monospace">&#160;svn co http://svn.apache.org/repos/asf/incubator/tuscany/java/spec/sca/ spec/sca</p></li>
+<li>cd to the spec/sca subdirectory and run "mvn" from this directory.  This will install the SCA specifications jar in your local Maven repository from where it will be picked up when building the Tuscany SCA implementation.</li>  
+<li>cd back to the directory you created and check out the commonj specifications Java source by running the command
+<p style="font-family:monospace">&#160;svn co http://svn.apache.org/repos/asf/incubator/tuscany/java/spec/commonj/ spec/commonj</p></li>
+<li>cd to the spec/commonj subdirectory and run "mvn" from this directory.  This will install the commonj specifications jar in your local Maven repository from where it will be picked up when building the Tuscany SCA implementation.</li> 
+<li>cd back to the directory you created and check out the Tuscany SCA Java source by running the command
+<p style="font-family:monospace">&#160;svn co http://svn.apache.org/repos/asf/incubator/tuscany/java/sca/ sca</p></li>
+<li>cd to the sca subdirectory and run "mvn" from this directory.  This will install the Tuscany SCA Java jars in your local Maven repository.  It also assembles a binary distribution in the "distribution" module under the sca directory.</li>
 </ol>
 
 <h3>Building and Running the Samples</h3>



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org