Github user hegdean commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/116#discussion_r42034737
--- Diff: win-odbc64/odbcclient/build_os.bat ---
@@ -108,78 +93,68 @@ REM msbuild.exe /t:rebuild Drvr35Trace_os.vcxproj
/p:Platform=x64 /p:Configurati
REM set BUILD_STATUS=%ERRORLEVEL%
REM if %BUILD_STATUS%==0 (
REM echo Build Drvr35Trace success
-REM ) else (
+REM ) else (
REM echo Build Drvr35Trace failed
REM goto Exit
REM )
echo Building TCPIPV4 - Win64 Release...
cd %SRCDIR%\odbcclient\Drvr35\TCPIPV4
-msbuild.exe /t:rebuild TCPIPV4_os.vcxproj /p:Platform=x64
/p:Configuration=Release
+msbuild.exe /t:rebuild TCPIPV4_os.vcxproj /p:Platform=x64
/p:Configuration=Release /p:ZlibIncludeDir=%ZLIB_INCLUDE_PATH%
/p:ZlibLibDir=%ZLIB_LIB_PATH%
set BUILD_STATUS=%ERRORLEVEL%
if %BUILD_STATUS%==0 (
echo Build TCPIPV4 success
-) else (
+) else (
echo Build TCPIPV4 failed
goto Exit
)
echo Building TCPIPV6 - Win64 Release...
cd %SRCDIR%\odbcclient\Drvr35\TCPIPV6
-msbuild.exe /t:rebuild TCPIPV6_os.vcxproj /p:Platform=x64
/p:Configuration=Release
+msbuild.exe /t:rebuild TCPIPV6_os.vcxproj /p:Platform=x64
/p:Configuration=Release /p:ZlibIncludeDir=%ZLIB_INCLUDE_PATH%
/p:ZlibLibDir=%ZLIB_LIB_PATH%
set BUILD_STATUS=%ERRORLEVEL%
if %BUILD_STATUS%==0 (
echo Build TCPIPV6 success
-) else (
+) else (
echo Build TCPIPV6 failed
goto Exit
)
echo Building TranslationDll - Win64 Release...
cd %SRCDIR%\odbcclient\TranslationDll
-msbuild.exe /t:rebuild TranslationDll_os.vcxproj /p:Platform=x64
/p:Configuration=Release
+msbuild.exe /t:rebuild TranslationDll_os.vcxproj /p:Platform=x64
/p:Configuration=Release
set BUILD_STATUS=%ERRORLEVEL%
if %BUILD_STATUS%==0 (
echo Build TranslationDll success
-) else (
+) else (
echo Build TranslationDll failed
goto Exit
)
echo Building Drvr35Res - Win64 Release...
-cd %SRCDIR%\odbcclient\Drvr35Res
-msbuild.exe /t:rebuild Drvr35Res_os.vcxproj /p:Platform=x64
/p:Configuration=Release
+cd %SRCDIR%\odbcclient\Drvr35Res
+msbuild.exe /t:rebuild Drvr35Res_os.vcxproj /p:Platform=x64
/p:Configuration=Release
set BUILD_STATUS=%ERRORLEVEL%
if %BUILD_STATUS%==0 (
echo Build Drvr35Res success
-) else (
+) else (
echo Build Drvr35Res failed
goto Exit
)
-
-echo Building SetCertificateDirReg InstallHelper - Win64 Release...
-cd %SRCDIR%\Install\SetCertificateDirReg\SetCertificateDirReg
-msbuild.exe /t:rebuild SetCertificateDirReg_os.vcxproj /p:Platform=x64
/p:Configuration=Release /p:Odbccp32lib64Dir=%ODBCCP32_64_PATH%
-set BUILD_STATUS=%ERRORLEVEL%
-if %BUILD_STATUS%==0 (
- echo Build SetCertificateDirReg success
-) else (
- echo Build SetCertificateDirReg failed
- goto Exit
-)
-
-echo Building UpdateDSN InstallHelper - Win64 Release...
-cd %SRCDIR%\Install\UpdateDSN\UpdateDSN
-msbuild.exe /t:rebuild UpdateDSN_os.vcxproj /p:Platform=x64
/p:Configuration=Release
-set BUILD_STATUS=%ERRORLEVEL%
-if %BUILD_STATUS%==0 (
- echo Build UpdateDSN success
-) else (
- echo Build UpdateDSN failed
- goto Exit
-)
+
set ALL_SUCCESS=1
+cd %SRCDIR%\odbcclient
+copy /Y %BUILDDIR%\win-odbc64\odbcclient\inc\trafsqlext.h
C:\Build\winodbc64\inc
--- End diff --
This will fail as the inc directory does not exist
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---