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 2007/03/09 13:32:45 UTC

svn commit: r516392 - in /incubator/tuscany/cpp/sdo: GettingStarted.html README build.bat sdotest.bat

Author: robbinspg
Date: Fri Mar  9 04:32:44 2007
New Revision: 516392

URL: http://svn.apache.org/viewvc?view=rev&rev=516392
Log:
Make axis2c optional

Modified:
    incubator/tuscany/cpp/sdo/GettingStarted.html
    incubator/tuscany/cpp/sdo/README
    incubator/tuscany/cpp/sdo/build.bat
    incubator/tuscany/cpp/sdo/sdotest.bat

Modified: incubator/tuscany/cpp/sdo/GettingStarted.html
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sdo/GettingStarted.html?view=diff&rev=516392&r1=516391&r2=516392
==============================================================================
--- incubator/tuscany/cpp/sdo/GettingStarted.html (original)
+++ incubator/tuscany/cpp/sdo/GettingStarted.html Fri Mar  9 04:32:44 2007
@@ -52,7 +52,7 @@
             <LI><A HREF="#requirements">System Requirements</A></LI>
             <LI><A HREF="#install">Installing Tuscany SDO..</A>
                 <UL>
-                    <LI><A HREF="#linuxsrc">..from the source release on Linux</A></LI>
+                    <LI><A HREF="#linuxsrc">..from the source release on Linux or Mac OS X</A></LI>
                     <!--LI><A HREF="#linuxsrcstdcxx">..from the source release on Linux with Apache STDCXX</A></LI-->
                     <LI><A HREF="#winbin">..from the binary release on Windows</A></LI>
                     <LI><A HREF="#winsrc">..from the source release on Windows</A></LI>
@@ -79,20 +79,12 @@
                   <UL>
                      <LI>Windows XP SP2</LI> 
                      <LI>Linux</LI> 
+                     <LI>Mac OS X</LI> 
                   </UL>
                </TD>
                <TD> 
                </TD>
             </TR>
-            <TR CLASS="a">
-               <TD>Axis2C Release 0.96</TD>
-
-               <TD> 
-                  <A HREF="http://ws.apache.org/axis2/c/download.cgi"
-                     TARGET="_blank">http://ws.apache.org/axis2/c/download.cgi</A><BR/>
-                  Please download and follow the installation instructions. Ensure you can run the Axis2C samples                  
-               </TD>
-            </TR>
             <TR CLASS="b">
                <TD>libxml2 version 2.6.20</TD>
 
@@ -107,6 +99,16 @@
                   These libraries will need to be on the PATH in order to run Tuscany SDO.
                </TD>
             </TR>
+            <TR CLASS="a">
+               <TD><STRONG>Optional: </STRONG>Axis2C Release 0.96</TD>
+
+               <TD>
+                  Required to build the sdo_axiom utility library. This is a pre-req of the Tuscany Native WebService binding extension.
+                  <A HREF="http://ws.apache.org/axis2/c/download.cgi"
+                     TARGET="_blank">http://ws.apache.org/axis2/c/download.cgi</A><BR/>
+                  Please download and follow the installation instructions. Ensure you can run the Axis2C samples                  
+               </TD>
+            </TR>
             <TR CLASS="b">
                <TD><STRONG>Optional: </STRONG>STDCXX Release 4.1.3</TD>
 
@@ -126,7 +128,7 @@
       </DIV> 
       <DIV CLASS="section"> 
          <A NAME="install"><H2>Installing Tuscany SDO for C++</H2></A>
-         <A NAME="linuxsrc"><H3>Getting Tuscany SDO for C++ working with the source release on Linux</H3></A>
+         <A NAME="linuxsrc"><H3>Getting Tuscany SDO for C++ working with the source release on Linux or Mac OS X</H3></A>
           <OL>
               <LI>Extract the source tar package to a folder &lt;tuscany_sdo_install_dir&gt;</LI>
               <LI>The following environment variables are required:                                 
@@ -137,7 +139,8 @@
                    LIBXML2_LIB=/usr/lib<BR/>
                    LIBXML2_INCLUDE=/usr/include/libxml2<BR/></LI>
                                                                                                 
-                  <LI>AXIS2C_HOME=&lt;path to axis2c version 0.96&gt;</LI>
+                  <LI>Optional: AXIS2C_HOME=&lt;path to axis2c version 0.96&gt; Required if building the sdo_axiom utility library.<br>
+                      <b>Note:</b> There is currently no Axis2C port available for Mac OS X</LI>
                 </UL></LI>
               <LI>Build the source with the following command sequence:
                   <UL>
@@ -146,7 +149,8 @@
                       <LI>make install</LI>
                   </UL>
 	              NOTE: If you don't provide a --prefix configure option, it will by default install into
-                  /usr/local/tuscany/sdo. Use ./configure --help to see all the available options</LI>
+                  /usr/local/tuscany/sdo. Use ./configure --help to see all the available options.<br>
+                  To build the sdo_axiom utility library you must specify the --with-axis2c=yes option on the configure command</LI>
               <LI>Run the test:
                   <UL>
                       <LI>./sdotest.sh</LI>
@@ -174,7 +178,7 @@
               <LI>The following environment variables are required:                                 
                 <UL>
                   <LI>LIBXML2_HOME=&lt;path to installed libxml2&gt;<BR/>
-                  <LI>AXIS2C_HOME=&lt;path to axis2c version 0.96&gt;</LI>
+                  <LI>Optional: AXIS2C_HOME=&lt;path to axis2c version 0.96&gt;Required if building the sdo_axiom utility library.</LI>
                 </UL></LI>
               <LI>You must have set up the environment for Microsoft Visual C++ tools. The build command 
                   will call vcvars32 to set the environment. Ensure the directory containing this is on your path.

Modified: incubator/tuscany/cpp/sdo/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sdo/README?view=diff&rev=516392&r1=516391&r2=516392
==============================================================================
--- incubator/tuscany/cpp/sdo/README (original)
+++ incubator/tuscany/cpp/sdo/README Fri Mar  9 04:32:44 2007
@@ -1,5 +1,5 @@
-Apache Tuscany C++ M2 build (October, 2006)
-===========================================
+Apache Tuscany SDO C++ M3
+=========================
 
 http://incubator.apache.org/tuscany
 
@@ -35,8 +35,7 @@
     below. See the Service Data Objects for C++ 2.01 specification.
 
 New features in this release
-  * Optional build on Windows with Apache STDCXX
-  * Improved memory management
+  * 30-40% performance improvement    
   * Multiple bug fixes and internal enhancements
 
 Known Restrictions

Modified: incubator/tuscany/cpp/sdo/build.bat
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sdo/build.bat?view=diff&rev=516392&r1=516391&r2=516392
==============================================================================
--- incubator/tuscany/cpp/sdo/build.bat (original)
+++ incubator/tuscany/cpp/sdo/build.bat Fri Mar  9 04:32:44 2007
@@ -37,14 +37,27 @@
 )
 echo using ICONV: %ICONV_HOME%"
 
+
+set TUSCANY_SDOCPP=%cd%\deploy
+call vcvars32
+cd vsexpress\tuscany_sdo\sdo_runtime
+call vcbuild sdo_runtime.vcproj "%config%|Win32"
+
+cd ..\sdo_test
+call vcbuild sdo_test.vcproj "%config%|Win32"
+
 if "%AXIS2C_HOME%" == "" (
-echo "AXIS2C_HOME not set"
-goto end
+echo "AXIS2C_HOME not set: sdo_axiom will not be built"
+goto noaxis
 )
 echo using AXIS2C: %AXIS2C_HOME%
 
-call vcvars32
-cd vsexpress\tuscany_sdo
-call vcbuild tuscany_sdo.sln "%config%|Win32"
+cd ..\sdo_axiom
+call vcbuild sdo_axiom.vcproj "%config%|Win32"
+
+cd ..\sdo_axiom_test
+call vcbuild sdo_axiom_test.vcproj "%config%|Win32"
+
+:noaxis
 
 @endlocal

Modified: incubator/tuscany/cpp/sdo/sdotest.bat
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sdo/sdotest.bat?view=diff&rev=516392&r1=516391&r2=516392
==============================================================================
--- incubator/tuscany/cpp/sdo/sdotest.bat (original)
+++ incubator/tuscany/cpp/sdo/sdotest.bat Fri Mar  9 04:32:44 2007
@@ -23,10 +23,8 @@
    set buildtype=Debug
 )
 
-if "%TUSCANY_SDOCPP%" == "" (
-echo "TUSCANY_SDOCPP not set"
 set TUSCANY_SDOCPP=%cd%\deploy
-)
+
 echo using TUSCANY_SDOCPP: %TUSCANY_SDOCPP%
 
 set PATH=%TUSCANY_SDOCPP%\bin;%PATH%



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