You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by ro...@apache.org on 2006/03/10 19:05:55 UTC

svn commit: r384878 - /incubator/tuscany/cpp/build.txt

Author: robbinspg
Date: Fri Mar 10 10:05:53 2006
New Revision: 384878

URL: http://svn.apache.org/viewcvs?rev=384878&view=rev
Log:
Correct build instructions for Windows

Modified:
    incubator/tuscany/cpp/build.txt

Modified: incubator/tuscany/cpp/build.txt
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/build.txt?rev=384878&r1=384877&r2=384878&view=diff
==============================================================================
--- incubator/tuscany/cpp/build.txt (original)
+++ incubator/tuscany/cpp/build.txt Fri Mar 10 10:05:53 2006
@@ -60,7 +60,10 @@
 	iconv-1.9.1.win32
 	zlib-1.2.2.win32
 
-These need to be unzipped such that they live under tuscany\cpp\sdo\lib.
+Set the following environment variables to point to the location of the dependencies:
+        LIBXML2_HOME=<libxml2 location>
+        ICONV_HOME=<iconv location>
+        ZLIB_HOME=<zlib location>
 
 Open the build workspace tuscany\cpp\sdo\runtime\projects\tuscany_sdo\tuscany_sdo.dsw
 
@@ -70,14 +73,41 @@
 
 The output of the build will be in runtime\core\Release.
 
-The executable ,required headers and lib are copied to tuscany\cpp\sdo\bin, include and lib.
+The executable, required headers and lib are copied to tuscany\cpp\sdo\bin, include and lib.
 
 
-Note: The copy at the end of the debug build also writes to the bin directory, so the output
-tuscany_sdo.dll will overwrite the release version.
-
 SCA
 ---
 
-Open the build workspace tuscany\cpp\sca\projects\tuscany_sca\tuscany_sca.dsw 
+
+1) Set the environment variable TUSCANY_SDOCPP to the path of an SDO build
+
+2) Set the environment variable AXISCPP to the path of Axis for C++
+   (tested with version 1.5.0) 
+
+3) Open the build workspace tuscany\cpp\sca\projects\tuscany_sca\tuscany_sca.dsw 
 and follow the instructions.
+
+The output for the build will be in tuscany\cpp\sca\include, lib and bin
+
+To run the test from a command prompt:
+
+1) Set the environment variable TUSCANY_SCACPP to the location of the built SCA
+   (...tuscany\cpp\sca)
+
+2) Add %TUSCANY_SCACPP%\lib and %TUSCANY_SDOCPP%\lib to the PATH
+   (ensure required libraries for SDO are also on the path. e.g. libxml2)
+
+3) Set the environment variable TUSCANY_SCACPP_SYSTEM_ROOT to the test system folder
+   (%TUSCANY_SCACPP%\projects\tuscany_sca\tuscany_sca_test\testSCASystem)
+
+4) Set the environment variable TUSCANY_SCACPP_DEFAULT_MODULE=SubSystem1
+
+5) cd %TUSCANY_SCACPP%\projects\tuscany_sca\tuscany_sca_test\Debug
+
+6) tuscany_sca_test
+
+NOTE: To run the test from the workspace the environment variables must be set BEFORE launching
+      Visual Studio
+
+