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/11/22 13:04:54 UTC

svn commit: r478139 - in /incubator/tuscany/cpp/sca: build.bat scatest.bat

Author: robbinspg
Date: Wed Nov 22 04:04:53 2006
New Revision: 478139

URL: http://svn.apache.org/viewvc?view=rev&rev=478139
Log:
TUSCANY-918 - Add VS Express batch build command

Removed:
    incubator/tuscany/cpp/sca/scatest.bat
Modified:
    incubator/tuscany/cpp/sca/build.bat

Modified: incubator/tuscany/cpp/sca/build.bat
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/build.bat?view=diff&rev=478139&r1=478138&r2=478139
==============================================================================
--- incubator/tuscany/cpp/sca/build.bat (original)
+++ incubator/tuscany/cpp/sca/build.bat Wed Nov 22 04:04:53 2006
@@ -20,13 +20,47 @@
 
 @setlocal
 
-echo building Java code
-cd tools\scagen 
-call ant
+echo building Tuscany SCA C++
+
+if "%LIBXML2_HOME%" == "" (
+echo "LIBXML2_HOME not set"
+goto end
+)
+echo using LIBXML2: %LIBXML2_HOME%
+
+if "%AXIS2C_HOME%" == "" (
+echo "AXIS2C_HOME not set"
+goto end
+)
+echo using Axis2C: %AXIS2C_HOME%"
+
+if "%TUSCANY_SDOCPP%" == "" (
+echo "TUSCANY_SDOCPP not set"
+goto end
+)
+echo using Tuscany SDOCPP: %TUSCANY_SDOCPP%
 
-echo building C++ code
 call vcvars32
-cd ..\..\projects\tuscany_sca
-build.cmd
+echo building Tuscany SCA C++ core + cpp and ws extensions
+cd vsexpress\tuscany_sca
+call vcbuild tuscany_sca.sln "Release|Win32"
+
+if "%PYTHON_HOME%" == "" (
+echo PYTHON_HOME not set. Skipping build of Python extension
+goto pythonend
+)
+echo building Python extension
+call vcbuild tuscany_sca_python\tuscany_sca_python.vcproj "Release|Win32"
+:pythonend
+
+if "%RUBY_HOME%" == "" (
+echo RUBY_HOME not set. Skipping build of Ruby extension
+goto rubyend
+)
+echo building Ruby extension
+call vcbuild tuscany_sca_ruby\tuscany_sca_ruby.vcproj "Release|Win32"
+:rubyend
+
+:end
 
 @endlocal



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