You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by ed...@apache.org on 2006/06/27 12:59:31 UTC

svn commit: r417418 - /incubator/tuscany/cpp/sca/samples/INSTALL

Author: edslattery
Date: Tue Jun 27 03:59:30 2006
New Revision: 417418

URL: http://svn.apache.org/viewvc?rev=417418&view=rev
Log: (empty)

Modified:
    incubator/tuscany/cpp/sca/samples/INSTALL

Modified: incubator/tuscany/cpp/sca/samples/INSTALL
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/INSTALL?rev=417418&r1=417417&r2=417418&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/samples/INSTALL (original)
+++ incubator/tuscany/cpp/sca/samples/INSTALL Tue Jun 27 03:59:30 2006
@@ -56,4 +56,65 @@
    a) export AXIS2C_HOME=<path to axis2c verion 0.92>
    b) cd <samples_install_dir>/Calculator/deploy/bin
    c) ./runwsclient.sh
+   
+
+Building Tuscany SCA samples on Windows
+=======================================
+
+If using the binary distribution the samples are built and installed in
+<tuscany_sca_install_dir>/samples
+
+1. The following environment variables are required:
+     TUSCANY_SCACPP=<path to installed Tuscany SCA>
+     TUSCANY_SDOCPP=<path to installed Tuscany SDO>
+     AXIS2C_HOME=<path to axis2c verion 0.92>
+   
+2. Build the source
+ The build.cmd file will build and deploy the samples 
+
+Running the samples on Windows
+==============================
+
+Calculator with basic client
+----------------------------
+
+1. The following environment variables are required:
+     TUSCANY_SCACPP=<path to installed Tuscany SCA>
+     TUSCANY_SDOCPP=<path to installed Tuscany SDO>
+     AXIS2C_HOME=<path to axis2c verion 0.92>
+     set TUSCANY_SCACPP_SYSTEM_ROOT=<samples_install_dir>/Calculator/deploy
+
+     set PATH=%TUSCANY_SCACPP%/bin;%TUSCANY_SDOCPP%/bin;%PATH%
+
+2. cd <samples_install_dir>/Calculator/deploy/modules/Calculator
+
+3. Calc add 5 6
+(use also sub, div, mul).
+
+
+
+Calculator with WS client
+-------------------------
+
+1. Deploy the Calculator as an axis2c service
+   a) Create a new service folder in axis2:
+      <AXIS2C_HOME>/services/Calculator
+   b) Copy the <TUSCANY_SCACPP>/samples/Calculator/CalculatorModule/services.xml to
+      <AXIS2C_HOME>/services/Calculator/services.xml
+   c) Edit the services xml to set the TuscanySystemRoot parameter to
+      <parameter name="TuscanySystemRoot" locked="xsd:false">@TUSCANY_SCACPP@/samples/Calculator/deploy</parameter>
+      where >@TUSCANY_SCACPP@ is the path to the installed Tuscany SCA
+   d) copy the tuscany_sca_ws_service.dll (and pdb) file(s) to the new services/Calculator directory from the
+   <TUSCANY_SCACPP>/deploy/bin directory.
+
+2. Start Axis2C simple http server
+   a) cd <AXIS2C_HOME>/bin
+   b) set TUSCANY_SCACPP=<path to installed Tuscany SCA>
+   c) add <TUSCANY_SCACPP>/bin and <TUSCANY_SDOCPP>/bin to PATH environment variable
+   d) ./axis2_http_server
+      
+3. Run the client
+   a) export AXIS2C_HOME=<path to axis2c verion 0.92>
+   b) cd <samples_install_dir>/Calculator/deploy/bin
+   c) ./runwsclient.sh
    



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