configure.bat must be windows file format

--- configure.bat
+++ configure.bat
@@ -1,612 +1,612 @@
-:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-::
-:: Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
-:: All rights reserved.
-:: Contact: Nokia Corporation (qt-info@nokia.com)
-::
-:: This file is part of the Qt Mobility Components.
-::
-:: $QT_BEGIN_LICENSE:LGPL$
-:: No Commercial Usage
-:: This file contains pre-release code and may not be distributed.
-:: You may use this file in accordance with the terms and conditions
-:: contained in the Technology Preview License Agreement accompanying
-:: this package.
-::
-:: GNU Lesser General Public License Usage
-:: Alternatively, this file may be used under the terms of the GNU Lesser
-:: General Public License version 2.1 as published by the Free Software
-:: Foundation and appearing in the file LICENSE.LGPL included in the
-:: packaging of this file.  Please review the following information to
-:: ensure the GNU Lesser General Public License version 2.1 requirements
-:: will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-::
-:: In addition, as a special exception, Nokia gives you certain additional
-:: rights.  These rights are described in the Nokia Qt LGPL Exception
-:: version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-::
-:: If you have questions regarding the use of this file, please contact
-:: Nokia at qt-info@nokia.com.
-::
-::
-::
-::
-::
-::
-::
-::
-:: $QT_END_LICENSE$
-::
-:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-
-@echo off
-
-set QT_MOBILITY_PREFIX= C:\QtMobility
-set BUILD_PATH=%CD%
-set SOURCE_PATH= %~dp0
-cd /D %SOURCE_PATH%
-set SOURCE_PATH=%CD%
-cd /D %BUILD_PATH%
-
-set PROJECT_CONFIG=%BUILD_PATH%\config.in
-set PROJECT_LOG=%BUILD_PATH%\config.log
-set RELEASEMODE=release
-set WIN32_RELEASEMODE=debug_and_release build_all
-set QT_MOBILITY_LIB=
-set BUILD_UNITTESTS=no
-set BUILD_EXAMPLES=no
-set BUILD_DOCS=yes
-set BUILD_TOOLS=yes
-set MOBILITY_MODULES=bearer location contacts multimedia publishsubscribe versit messaging systeminfo serviceframework sensors
-set MOBILITY_MODULES_UNPARSED=
-set VC_TEMPLATE_OPTION=
-set QT_PATH=
-set QMAKE_CACHE=%BUILD_PATH%\.qmake.cache
-
-if exist "%QMAKE_CACHE%" del /Q %QMAKE_CACHE%
-if exist "%PROJECT_LOG%" del /Q %PROJECT_LOG%
-if exist "%PROJECT_CONFIG%" del /Q %PROJECT_CONFIG%
-
-echo QT_MOBILITY_SOURCE_TREE = %SOURCE_PATH% > %QMAKE_CACHE%
-echo QT_MOBILITY_BUILD_TREE = %BUILD_PATH% >> %QMAKE_CACHE%
-set QMAKE_CACHE=
-
-:cmdline_parsing
-if "%1" == ""                   goto startProcessing
-if "%1" == "-debug"             goto debugTag
-if "%1" == "-release"           goto releaseTag
-if "%1" == "-silent"            goto silentTag
-if "%1" == "-prefix"            goto prefixTag
-if "%1" == "-libdir"            goto libTag
-if "%1" == "-bindir"            goto binTag
-if "%1" == "-headerdir"         goto headerTag
-if "%1" == "-plugindir"         goto pluginTag
-if "%1" == "-tests"             goto testTag
-if "%1" == "-examples"          goto exampleTag
-if "%1" == "-qt"                goto qtTag
-if "%1" == "-vc"                goto vcTag
-if "%1" == "-no-docs"           goto nodocsTag
-if "%1" == "-no-tools"          goto noToolsTag
-if "%1" == "-modules"           goto modulesTag
-if "%1" == "/?"                 goto usage
-if "%1" == "-h"                 goto usage
-if "%1" == "-help"              goto usage
-if "%1" == "--help"             goto usage
-if "%1" == "-symbian-unfrozen"  goto unfrozenTag
-
-
-echo Unknown option: "%1"
-goto usage
-
-:usage
-echo Usage: configure.bat [-prefix (dir)] [headerdir (dir)] [libdir (dir)]
-    echo                  [-bindir (dir)] [-tests] [-examples]
-    echo                  [-debug] [-release] [-silent]
-    echo.
-    echo Options:
-    echo.
-    echo -prefix (dir) ..... This will install everything relative to dir
-    echo                     (default prefix: C:\QtMobility)
-    echo -headerdir (dir) .. Header files will be installed to dir
-    echo                     (default prefix: PREFIX/include)
-    echo -libdir (dir) ..... Libraries will be installed to dir
-    echo                     (default PREFIX/lib)
-    echo -bindir (dir) ..... Executables will be installed to dir
-    echo                     (default PREFIX/bin)
-    echo -plugindir (dir) .. Plug-ins will be installed to dir
-    echo                     (default PREFIX/plugins)
-    echo -debug ............ Build with debugging symbols
-    echo -release .......... Build without debugging symbols
-    echo -silent ........... Reduces build output
-    echo -tests ............ Build unit tests (not build by default)
-    echo                     Note, this adds test symbols to all libraries
-    echo                     and should not be used for release builds.
-    echo -examples ......... Build example applications
-    echo -no-docs .......... Do not build documentation (build by default)
-    echo -modules ^<list^> ... Build only the specified modules (default all)
-    echo                     Choose from: bearer contacts location publishsubscribe
-    echo                     messaging multimedia systeminfo serviceframework versit
-    echo                     sensors
-    echo                     Modules should be separated by a space and surrounded
-    echo                     by double quotation. If a
-    echo                     selected module depends on other modules dependencies
-    echo                     will automatically be enabled.
-    echo -vc ............... Generate Visual Studio make files
-
-
-if exist "%PROJECT_CONFIG%" del %PROJECT_CONFIG%
-goto exitTag
-
-:qtTag
-shift
-set QT_PATH=%1\
-shift
-goto cmdline_parsing
-
-:debugTag
-if "%RELEASEMODE%" == "release" set RELEASEMODE=debug
-set WIN32_RELEASEMODE=
-shift
-goto cmdline_parsing
-
-:releaseTag
-if "%RELEASEMODE%" == "debug"   set RELEASEMODE=release
-set WIN32_RELEASEMODE=
-shift
-goto cmdline_parsing
-
-:silentTag
-echo CONFIG += silent > %PROJECT_CONFIG%
-shift
-goto cmdline_parsing
-
-:prefixTag
-shift
-set QT_MOBILITY_PREFIX=%1
-shift
-goto cmdline_parsing
-
-:libTag
-shift
-echo QT_MOBILITY_LIB = %1 >> %PROJECT_CONFIG%
-shift
-goto cmdline_parsing
-
-:binTag
-shift
-echo QT_MOBILITY_BIN = %1 >> %PROJECT_CONFIG%
-shift
-goto cmdline_parsing
-
-:headerTag
-shift
-echo QT_MOBILITY_INCLUDE = %1 >> %PROJECT_CONFIG%
-shift
-goto cmdline_parsing
-
-:pluginTag
-shift
-echo QT_MOBILITY_PLUGINS = %1 >> %PROJECT_CONFIG%
-shift
-echo
-goto cmdline_parsing
-
-:unfrozenTag
-REM Should never be used in release builds
-REM Some SDK's seem to exclude Q_AUTOTEST_EXPORT symbols if the
-REM libraries are frozen. This breaks unit tests relying on the auto test exports
-REM This flag unfreezes the SYMBIAN libraries for the purpose of unit test building.
-REM Ideally this should be connected to '-tests' option but that would prevent
-REM integration testing for frozen symbols as the CI system should test unit tests
-REM and frozen symbol compliance.
-echo symbian_symbols_unfrozen = 1 >> %PROJECT_CONFIG%
-shift
-goto cmdline_parsing
-
-:testTag
-set BUILD_UNITTESTS=yes
-shift
-goto cmdline_parsing
-
-:exampleTag
-set BUILD_EXAMPLES=yes
-shift
-goto cmdline_parsing
-
-:vcTag
-shift
-set VC_TEMPLATE_OPTION=-tp vc
-goto cmdline_parsing
-
-:nodocsTag
-set BUILD_DOCS=no
-shift
-goto cmdline_parsing
-
-:noToolsTag
-set BUILD_TOOLS=no
-shift
-goto cmdline_parsing
-
-:modulesTag
-shift
-:: %1 can have leading/trailing quotes, so we can't use if "%1" == ""
-if xx%1xx == xxxx (
-    echo. >&2
-    echo >&2The -modules option requires a list of modules.
-    echo. >&2
-    goto usage
-)
-
-:: Remove leading/trailing quotes, if we have them
-set MOBILITY_MODULES_UNPARSED=xxx%1xxx
-set MOBILITY_MODULES_UNPARSED=%MOBILITY_MODULES_UNPARSED:"xxx=%
-set MOBILITY_MODULES_UNPARSED=%MOBILITY_MODULES_UNPARSED:xxx"=%
-set MOBILITY_MODULES_UNPARSED=%MOBILITY_MODULES_UNPARSED:xxx=%
-
-REM reset default modules as we expect a modules list
-set MOBILITY_MODULES=
-
-echo Checking selected modules:
-:modulesTag2
-
-for /f "tokens=1,*" %%a in ("%MOBILITY_MODULES_UNPARSED%") do (
-    set FIRST=%%a
-    set REMAINING=%%b
-)
-
-: What we want is a switch as we need to check module name and only want to
-: distinguish between false and correct module names being passed
-if %FIRST% == bearer (
-    echo     Bearer Management selected
-) else if %FIRST% == contacts (
-    echo     Contacts selected
-) else if %FIRST% == location (
-    echo     Location selected
-) else if %FIRST% == messaging (
-    echo     Messaging selected
-) else if %FIRST% == multimedia (
-    echo     Multimedia selected
-) else if %FIRST% == publishsubscribe (
-    echo     PublishSubscribe selected
-) else if %FIRST% == systeminfo (
-    echo     Systeminfo selected
-) else if %FIRST% == serviceframework (
-    echo     ServiceFramework selected
-) else if %FIRST% == versit (
-    echo     Versit selected ^(implies Contacts^)
-) else if %FIRST% == sensors (
-    echo     Sensors selected
-) else (
-    echo     Unknown module %FIRST%
-    goto errorTag
-)
-
-set MOBILITY_MODULES=%MOBILITY_MODULES% %FIRST%
-
-if "%REMAINING%" == "" (
-    shift
-) else (
-    set MOBILITY_MODULES_UNPARSED=%REMAINING%
-    goto modulesTag2
-)
-
-SET REMAINING=
-SET FIRST=
-goto cmdline_parsing
-
-:startProcessing
-
-echo CONFIG += %RELEASEMODE% >> %PROJECT_CONFIG%
-echo CONFIG_WIN32 += %WIN32_RELEASEMODE% %RELEASEMODE% >> %PROJECT_CONFIG%
-set RELEASEMODE=
-set WIN32_RELEASEMODE=
-
-set CURRENTDIR=%CD%
-echo %CURRENTDIR%
-if exist %QT_MOBILITY_PREFIX% goto prefixExists
-mkdir %QT_MOBILITY_PREFIX%
-if errorlevel 1 goto invalidPrefix
-cd /D %QT_MOBILITY_PREFIX%
-set QT_MOBILITY_PREFIX=%CD%
-cd /D %CURRENTDIR%
-rd /S /Q %QT_MOBILITY_PREFIX%
-goto endprefixProcessing
-
-:invalidPrefix
-echo "%QT_MOBILITY_PREFIX%" is not a valid directory path.
-goto :exitTag
-
-:prefixExists
-cd /D %QT_MOBILITY_PREFIX%
-set QT_MOBILITY_PREFIX=%CD%
-cd /D %CURRENTDIR%
-
-:endprefixProcessing
-echo QT_MOBILITY_PREFIX = %QT_MOBILITY_PREFIX% >> %PROJECT_CONFIG%
-
-echo build_unit_tests = %BUILD_UNITTESTS% >> %PROJECT_CONFIG%
-set BUILD_UNITTESTS=
-
-echo build_examples = %BUILD_EXAMPLES% >> %PROJECT_CONFIG%
-set BUILD_EXAMPLES=
-
-echo build_docs = %BUILD_DOCS% >> %PROJECT_CONFIG%
-set BUILD_DOCS=
-
-echo build_tools = %BUILD_TOOLS% >> %PROJECT_CONFIG%
-set BUILD_TOOLS=
-
-echo qmf_enabled = no >> %PROJECT_CONFIG%
-
-echo !symbian:isEmpty($$QT_MOBILITY_INCLUDE):QT_MOBILITY_INCLUDE=$$QT_MOBILITY_PREFIX/include >> %PROJECT_CONFIG%
-echo isEmpty($$QT_MOBILITY_LIB):QT_MOBILITY_LIB=$$QT_MOBILITY_PREFIX/lib >> %PROJECT_CONFIG%
-echo isEmpty($$QT_MOBILITY_BIN):QT_MOBILITY_BIN=$$QT_MOBILITY_PREFIX/bin >> %PROJECT_CONFIG%
-echo isEmpty($$QT_MOBILITY_PLUGINS):QT_MOBILITY_PLUGINS=$$QT_MOBILITY_PREFIX/plugins >> %PROJECT_CONFIG%
-
-echo mobility_modules = %MOBILITY_MODULES%  >> %PROJECT_CONFIG%
-REM no Sysinfo support on Maemo yet
-echo maemo5^|maemo6:mobility_modules -= systeminfo >> %PROJECT_CONFIG%
-echo contains(mobility_modules,versit): mobility_modules *= contacts  >> %PROJECT_CONFIG%
-
-echo Checking available Qt
-call %QT_PATH%qmake -v >> %PROJECT_LOG% 2>&1
-if errorlevel 1 goto qmakeNotFound
-goto qmakeFound
-:qmakeNotFound
-echo ... Not found  >> %PROJECT_LOG% 2>&1
-if "%QT_PATH%" == "" (
-    echo >&2Cannot find 'qmake' in your PATH.
-    echo >&2Your PATH is: %PATH%
-) else (
-    echo >&2Cannot find 'qmake' in %QT_PATH%.
-)
-echo >&2Aborting.
-goto errorTag
-
-:qmakeFound
-call %QT_PATH%qmake -query QT_VERSION
-
-goto checkMake
-
-:makeTest
-setlocal
-    set CURRENT_PWD=%CD%
-
-    if %BUILD_PATH% == %SOURCE_PATH% (
-        cd %SOURCE_PATH%\config.tests\make
-        if exist make del make
-    ) else (
-        rmdir /S /Q config.tests\make
-        mkdir config.tests\make
-        cd config.tests\make
-    )
-
-    for /f "tokens=2,3" %%a in ('call %QT_PATH%qmake %SOURCE_PATH%\config.tests\make\make.pro 2^>^&1 1^>NUL') do (
-        if "%%a" == "MESSAGE:" (
-            set BUILDSYSTEM=%%b)
-    )
-
-    if "%BUILDSYSTEM%" == "symbian-abld" (
-        call make -h >> %PROJECT_LOG% 2>&1
-        if not errorlevel 1 (
-            echo ... Symbian abld make found.
-            set MAKE=make
-        )
-    ) else if "%BUILDSYSTEM%" == "symbian-sbsv2" (
-        call make -h >> %PROJECT_LOG% 2>&1
-        if not errorlevel 1 (
-            echo ... Symbian sbsv2 make found.
-            set MAKE=make
-        )
-    ) else if "%BUILDSYSTEM%" == "win32-nmake" (
-        call nmake /? >> %PROJECT_LOG% 2>&1
-        if not errorlevel 1 (
-            echo ... nmake found.
-            set MAKE=nmake
-        )
-    ) else if "%BUILDSYSTEM%" == "win32-mingw" (
-        call mingw32-make -v >> %PROJECT_LOG% 2>&1
-        if not errorlevel 1 (
-            echo ... mingw32-make found.
-            set MAKE=mingw32-make
-        )
-    ) else (
-        echo ... Unknown target environment %BUILDSYSTEM%.
-    )
-    call cd %CURRENT_PWD%
-call endlocal&set %1=%MAKE%&set %2=%BUILDSYSTEM%&goto :EOF
-
-:checkMake
-echo Checking make
-call :makeTest MOBILITY_MAKE MOBILITY_BUILDSYSTEM
-if not "%MOBILITY_MAKE%" == "" goto compileTests
-
-echo >&2Cannot find 'nmake', 'mingw32-make' or 'make' in your PATH
-echo >&2Aborting.
-goto errorTag
-
-:compileTest
-setlocal
-    @echo off
-    echo Checking %1
-    set CURRENT_PWD=%CD%
-
-    if %BUILD_PATH% == %SOURCE_PATH% (
-        cd %SOURCE_PATH%\config.tests\%2
-        if exist %2 del %2
-    ) else (
-        rmdir /S /Q config.tests\%2
-        mkdir config.tests\%2
-        cd config.tests\%2
-    )
-
-    call %QT_PATH%qmake %SOURCE_PATH%\config.tests\%2\%2.pro >> %PROJECT_LOG% 2>&1
-
-    set FAILED=0
-    if "%MOBILITY_BUILDSYSTEM%" == "symbian-sbsv2" (
-        call %MOBILITY_MAKE% release-armv5 >> %PROJECT_LOG% 2>&1
-        for /f "tokens=2" %%i in ('%MOBILITY_MAKE% release-armv5 SBS^="@sbs --check"') do set FAILED=1
-    ) else if "%MOBILITY_BUILDSYSTEM%" == "symbian-abld" (
-        call %MOBILITY_MAKE% release-gcce >> %PROJECT_LOG% 2>&1
-        for /f "tokens=2" %%i in ('%MOBILITY_MAKE% release-gcce ABLD^="@ABLD.BAT -c" 2^>^&1') do if not %%i == bldfiles set FAILED=1
-    ) else {
-        REM Make for other builds
-        call %MOBILITY_MAKE% >> %PROJECT_LOG% 2>&1
-        REM have to check error level for windows / other builds to be sure.
-        if errorlevel 1 (
-           set FAILED=1
-        )
-    )
-
-    if %FAILED% == 0 (
-        echo ... OK
-        echo %2_enabled = yes >> %PROJECT_CONFIG%
-    ) else (
-        echo ... Not Found
-        echo %2_enabled = no >> %PROJECT_CONFIG%
-    )
-
-    cd %CURRENT_PWD%
-endlocal&goto :EOF
-
-:compileTests
-
-echo.
-echo Start of compile tests
-REM compile tests go here.
-for /f "tokens=3" %%i in ('call %QT_PATH%qmake %SOURCE_PATH%\config.tests\make\make.pro 2^>^&1 1^>NUL') do set BUILDSYSTEM=%%i
-if "%BUILDSYSTEM%" == "symbian-abld" goto symbianTests
-if "%BUILDSYSTEM%" == "symbian-sbsv2" goto symbianTests
-goto noTests
-
-:symbianTests
-call :compileTest LBT lbt
-call :compileTest SNAP snap
-call :compileTest OCC occ
-call :compileTest SymbianContactSIM symbiancntsim
-call :compileTest S60_Sensor_API sensors_s60_31
-call :compileTest Symbian_Sensor_Framework sensors_symbian
-call :compileTest Symbian_Hb hb_symbian
-call :compileTest Audiorouting_s60 audiorouting_s60
-call :compileTest Tunerlibrary_for_3.1 tunerlib_s60
-call :compileTest RadioUtility_for_post_3.1 radioutility_s60
-REM call :compileTest OpenMaxAl_support openmaxal_symbian
-call :compileTest Surfaces_s60 surfaces_s60
-call :compileTest Symbian_Messaging_Freestyle messaging_freestyle
-
-:noTests
-
-echo End of compile tests
-echo.
-echo.
-
-REM we could skip generating headers if a module is not enabled
-if not exist "%BUILD_PATH%\features" mkdir %BUILD_PATH%\features
-copy %SOURCE_PATH%\features\strict_flags.prf %BUILD_PATH%\features
-echo Generating Mobility Headers...
-rd /s /q %BUILD_PATH%\include
-mkdir %BUILD_PATH%\include
-perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include %SOURCE_PATH%\src\global
-
-set MODULES_TEMP=%MOBILITY_MODULES%
-
-:generateHeaders
-
-for /f "tokens=1,*" %%a in ("%MODULES_TEMP%") do (
-    set FIRST=%%a
-    set REMAINING=%%b
-)
-
-if %FIRST% == bearer (
-    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtBearer %SOURCE_PATH%\src\bearer
-) else if %FIRST% == contacts (
-    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtContacts %SOURCE_PATH%\src\contacts
-    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtContacts %SOURCE_PATH%\src\contacts\requests
-    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtContacts %SOURCE_PATH%\src\contacts\filters
-    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtContacts %SOURCE_PATH%\src\contacts\details
-) else if %FIRST% == location (
-    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtLocation %SOURCE_PATH%\src\location
-) else if %FIRST% == messaging (
-    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtMessaging %SOURCE_PATH%\src\messaging
-) else if %FIRST% == multimedia (
-    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtMultimediaKit %SOURCE_PATH%\src\multimedia
-    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtMultimediaKit %SOURCE_PATH%\src\multimedia\audio
-    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtMultimediaKit %SOURCE_PATH%\src\multimedia\video
-) else if %FIRST% == publishsubscribe (
-    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtPublishSubscribe %SOURCE_PATH%\src\publishsubscribe
-) else if %FIRST% == systeminfo (
-    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtSystemInfo %SOURCE_PATH%\src\systeminfo
-) else if %FIRST% == serviceframework (
-    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtServiceFramework %SOURCE_PATH%\src\serviceframework
-) else if %FIRST% == versit (
-    REM versit implies contacts
-    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtVersit %SOURCE_PATH%\src\versit
-    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtContacts %SOURCE_PATH%\src\contacts
-    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtContacts %SOURCE_PATH%\src\contacts\requests
-    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtContacts %SOURCE_PATH%\src\contacts\filters
-    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtContacts %SOURCE_PATH%\src\contacts\details
-) else if %FIRST% == sensors (
-    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtSensors %SOURCE_PATH%\src\sensors
-)
-
-if "%REMAINING%" == "" (
-    shift
-) else (
-    set MODULES_TEMP=%REMAINING%
-    goto generateHeaders
-)
-
-SET REMAINING=
-SET FIRST=
-SET MODULES_TEMP=
-
-if exist config.pri del config.pri
-ren %PROJECT_CONFIG% config.pri
-
-echo.
-echo Running qmake...
-call %QT_PATH%qmake -recursive %VC_TEMPLATE_OPTION% %SOURCE_PATH%\qtmobility.pro
-if errorlevel 1 goto qmakeRecError
-echo.
-echo configure has finished. You may run %MOBILITY_MAKE% to build the project now.
-goto exitTag
-
-:qmakeRecError
-echo.
-echo configure failed.
-goto errorTag
-
-:errorTag
-set BUILD_PATH=
-set CURRENTDIR=
-set MOBILITY_MAKE=
-set MOBILITY_BUILDSYSTEM=
-set PROJECT_CONFIG=
-set PROJECT_LOG=
-set QT_MOBILITY_PREFIX=
-set QT_PATH=
-set SOURCE_PATH=
-set MOBILITY_MODULES=
-set MOBILITY_MODULES_UNPARSED=
-SET REMAINING=
-SET FIRST=
-SET MODULES_TEMP=
-exit /b 1
-
-:exitTag
-set BUILD_PATH=
-set CURRENTDIR=
-set MOBILITY_MAKE=
-set MOBILITY_BUILDSYSTEM=
-set PROJECT_CONFIG=
-set PROJECT_LOG=
-set QT_MOBILITY_PREFIX=
-set QT_PATH=
-set SOURCE_PATH=
-set MOBILITY_MODULES=
-set MOBILITY_MODULES_UNPARSED=
-SET REMAINING=
-SET FIRST=
-SET MODULES_TEMP=
-exit /b 0
+:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
+::
+:: Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+:: All rights reserved.
+:: Contact: Nokia Corporation (qt-info@nokia.com)
+::
+:: This file is part of the Qt Mobility Components.
+::
+:: $QT_BEGIN_LICENSE:LGPL$
+:: No Commercial Usage
+:: This file contains pre-release code and may not be distributed.
+:: You may use this file in accordance with the terms and conditions
+:: contained in the Technology Preview License Agreement accompanying
+:: this package.
+::
+:: GNU Lesser General Public License Usage
+:: Alternatively, this file may be used under the terms of the GNU Lesser
+:: General Public License version 2.1 as published by the Free Software
+:: Foundation and appearing in the file LICENSE.LGPL included in the
+:: packaging of this file.  Please review the following information to
+:: ensure the GNU Lesser General Public License version 2.1 requirements
+:: will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+::
+:: In addition, as a special exception, Nokia gives you certain additional
+:: rights.  These rights are described in the Nokia Qt LGPL Exception
+:: version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+::
+:: If you have questions regarding the use of this file, please contact
+:: Nokia at qt-info@nokia.com.
+::
+::
+::
+::
+::
+::
+::
+::
+:: $QT_END_LICENSE$
+::
+:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
+
+@echo off
+
+set QT_MOBILITY_PREFIX= C:\QtMobility
+set BUILD_PATH=%CD%
+set SOURCE_PATH= %~dp0
+cd /D %SOURCE_PATH%
+set SOURCE_PATH=%CD%
+cd /D %BUILD_PATH%
+
+set PROJECT_CONFIG=%BUILD_PATH%\config.in
+set PROJECT_LOG=%BUILD_PATH%\config.log
+set RELEASEMODE=release
+set WIN32_RELEASEMODE=debug_and_release build_all
+set QT_MOBILITY_LIB=
+set BUILD_UNITTESTS=no
+set BUILD_EXAMPLES=no
+set BUILD_DOCS=yes
+set BUILD_TOOLS=yes
+set MOBILITY_MODULES=bearer location contacts multimedia publishsubscribe versit messaging systeminfo serviceframework sensors
+set MOBILITY_MODULES_UNPARSED=
+set VC_TEMPLATE_OPTION=
+set QT_PATH=
+set QMAKE_CACHE=%BUILD_PATH%\.qmake.cache
+
+if exist "%QMAKE_CACHE%" del /Q %QMAKE_CACHE%
+if exist "%PROJECT_LOG%" del /Q %PROJECT_LOG%
+if exist "%PROJECT_CONFIG%" del /Q %PROJECT_CONFIG%
+
+echo QT_MOBILITY_SOURCE_TREE = %SOURCE_PATH% > %QMAKE_CACHE%
+echo QT_MOBILITY_BUILD_TREE = %BUILD_PATH% >> %QMAKE_CACHE%
+set QMAKE_CACHE=
+
+:cmdline_parsing
+if "%1" == ""                   goto startProcessing
+if "%1" == "-debug"             goto debugTag
+if "%1" == "-release"           goto releaseTag
+if "%1" == "-silent"            goto silentTag
+if "%1" == "-prefix"            goto prefixTag
+if "%1" == "-libdir"            goto libTag
+if "%1" == "-bindir"            goto binTag
+if "%1" == "-headerdir"         goto headerTag
+if "%1" == "-plugindir"         goto pluginTag
+if "%1" == "-tests"             goto testTag
+if "%1" == "-examples"          goto exampleTag
+if "%1" == "-qt"                goto qtTag
+if "%1" == "-vc"                goto vcTag
+if "%1" == "-no-docs"           goto nodocsTag
+if "%1" == "-no-tools"          goto noToolsTag
+if "%1" == "-modules"           goto modulesTag
+if "%1" == "/?"                 goto usage
+if "%1" == "-h"                 goto usage
+if "%1" == "-help"              goto usage
+if "%1" == "--help"             goto usage
+if "%1" == "-symbian-unfrozen"  goto unfrozenTag
+
+
+echo Unknown option: "%1"
+goto usage
+
+:usage
+echo Usage: configure.bat [-prefix (dir)] [headerdir (dir)] [libdir (dir)]
+    echo                  [-bindir (dir)] [-tests] [-examples]
+    echo                  [-debug] [-release] [-silent]
+    echo.
+    echo Options:
+    echo.
+    echo -prefix (dir) ..... This will install everything relative to dir
+    echo                     (default prefix: C:\QtMobility)
+    echo -headerdir (dir) .. Header files will be installed to dir
+    echo                     (default prefix: PREFIX/include)
+    echo -libdir (dir) ..... Libraries will be installed to dir
+    echo                     (default PREFIX/lib)
+    echo -bindir (dir) ..... Executables will be installed to dir
+    echo                     (default PREFIX/bin)
+    echo -plugindir (dir) .. Plug-ins will be installed to dir
+    echo                     (default PREFIX/plugins)
+    echo -debug ............ Build with debugging symbols
+    echo -release .......... Build without debugging symbols
+    echo -silent ........... Reduces build output
+    echo -tests ............ Build unit tests (not build by default)
+    echo                     Note, this adds test symbols to all libraries
+    echo                     and should not be used for release builds.
+    echo -examples ......... Build example applications
+    echo -no-docs .......... Do not build documentation (build by default)
+    echo -modules ^<list^> ... Build only the specified modules (default all)
+    echo                     Choose from: bearer contacts location publishsubscribe
+    echo                     messaging multimedia systeminfo serviceframework versit
+    echo                     sensors
+    echo                     Modules should be separated by a space and surrounded
+    echo                     by double quotation. If a
+    echo                     selected module depends on other modules dependencies
+    echo                     will automatically be enabled.
+    echo -vc ............... Generate Visual Studio make files
+
+
+if exist "%PROJECT_CONFIG%" del %PROJECT_CONFIG%
+goto exitTag
+
+:qtTag
+shift
+set QT_PATH=%1\
+shift
+goto cmdline_parsing
+
+:debugTag
+if "%RELEASEMODE%" == "release" set RELEASEMODE=debug
+set WIN32_RELEASEMODE=
+shift
+goto cmdline_parsing
+
+:releaseTag
+if "%RELEASEMODE%" == "debug"   set RELEASEMODE=release
+set WIN32_RELEASEMODE=
+shift
+goto cmdline_parsing
+
+:silentTag
+echo CONFIG += silent > %PROJECT_CONFIG%
+shift
+goto cmdline_parsing
+
+:prefixTag
+shift
+set QT_MOBILITY_PREFIX=%1
+shift
+goto cmdline_parsing
+
+:libTag
+shift
+echo QT_MOBILITY_LIB = %1 >> %PROJECT_CONFIG%
+shift
+goto cmdline_parsing
+
+:binTag
+shift
+echo QT_MOBILITY_BIN = %1 >> %PROJECT_CONFIG%
+shift
+goto cmdline_parsing
+
+:headerTag
+shift
+echo QT_MOBILITY_INCLUDE = %1 >> %PROJECT_CONFIG%
+shift
+goto cmdline_parsing
+
+:pluginTag
+shift
+echo QT_MOBILITY_PLUGINS = %1 >> %PROJECT_CONFIG%
+shift
+echo
+goto cmdline_parsing
+
+:unfrozenTag
+REM Should never be used in release builds
+REM Some SDK's seem to exclude Q_AUTOTEST_EXPORT symbols if the
+REM libraries are frozen. This breaks unit tests relying on the auto test exports
+REM This flag unfreezes the SYMBIAN libraries for the purpose of unit test building.
+REM Ideally this should be connected to '-tests' option but that would prevent
+REM integration testing for frozen symbols as the CI system should test unit tests
+REM and frozen symbol compliance.
+echo symbian_symbols_unfrozen = 1 >> %PROJECT_CONFIG%
+shift
+goto cmdline_parsing
+
+:testTag
+set BUILD_UNITTESTS=yes
+shift
+goto cmdline_parsing
+
+:exampleTag
+set BUILD_EXAMPLES=yes
+shift
+goto cmdline_parsing
+
+:vcTag
+shift
+set VC_TEMPLATE_OPTION=-tp vc
+goto cmdline_parsing
+
+:nodocsTag
+set BUILD_DOCS=no
+shift
+goto cmdline_parsing
+
+:noToolsTag
+set BUILD_TOOLS=no
+shift
+goto cmdline_parsing
+
+:modulesTag
+shift
+:: %1 can have leading/trailing quotes, so we can't use if "%1" == ""
+if xx%1xx == xxxx (
+    echo. >&2
+    echo >&2The -modules option requires a list of modules.
+    echo. >&2
+    goto usage
+)
+
+:: Remove leading/trailing quotes, if we have them
+set MOBILITY_MODULES_UNPARSED=xxx%1xxx
+set MOBILITY_MODULES_UNPARSED=%MOBILITY_MODULES_UNPARSED:"xxx=%
+set MOBILITY_MODULES_UNPARSED=%MOBILITY_MODULES_UNPARSED:xxx"=%
+set MOBILITY_MODULES_UNPARSED=%MOBILITY_MODULES_UNPARSED:xxx=%
+
+REM reset default modules as we expect a modules list
+set MOBILITY_MODULES=
+
+echo Checking selected modules:
+:modulesTag2
+
+for /f "tokens=1,*" %%a in ("%MOBILITY_MODULES_UNPARSED%") do (
+    set FIRST=%%a
+    set REMAINING=%%b
+)
+
+: What we want is a switch as we need to check module name and only want to
+: distinguish between false and correct module names being passed
+if %FIRST% == bearer (
+    echo     Bearer Management selected
+) else if %FIRST% == contacts (
+    echo     Contacts selected
+) else if %FIRST% == location (
+    echo     Location selected
+) else if %FIRST% == messaging (
+    echo     Messaging selected
+) else if %FIRST% == multimedia (
+    echo     Multimedia selected
+) else if %FIRST% == publishsubscribe (
+    echo     PublishSubscribe selected
+) else if %FIRST% == systeminfo (
+    echo     Systeminfo selected
+) else if %FIRST% == serviceframework (
+    echo     ServiceFramework selected
+) else if %FIRST% == versit (
+    echo     Versit selected ^(implies Contacts^)
+) else if %FIRST% == sensors (
+    echo     Sensors selected
+) else (
+    echo     Unknown module %FIRST%
+    goto errorTag
+)
+
+set MOBILITY_MODULES=%MOBILITY_MODULES% %FIRST%
+
+if "%REMAINING%" == "" (
+    shift
+) else (
+    set MOBILITY_MODULES_UNPARSED=%REMAINING%
+    goto modulesTag2
+)
+
+SET REMAINING=
+SET FIRST=
+goto cmdline_parsing
+
+:startProcessing
+
+echo CONFIG += %RELEASEMODE% >> %PROJECT_CONFIG%
+echo CONFIG_WIN32 += %WIN32_RELEASEMODE% %RELEASEMODE% >> %PROJECT_CONFIG%
+set RELEASEMODE=
+set WIN32_RELEASEMODE=
+
+set CURRENTDIR=%CD%
+echo %CURRENTDIR%
+if exist %QT_MOBILITY_PREFIX% goto prefixExists
+mkdir %QT_MOBILITY_PREFIX%
+if errorlevel 1 goto invalidPrefix
+cd /D %QT_MOBILITY_PREFIX%
+set QT_MOBILITY_PREFIX=%CD%
+cd /D %CURRENTDIR%
+rd /S /Q %QT_MOBILITY_PREFIX%
+goto endprefixProcessing
+
+:invalidPrefix
+echo "%QT_MOBILITY_PREFIX%" is not a valid directory path.
+goto :exitTag
+
+:prefixExists
+cd /D %QT_MOBILITY_PREFIX%
+set QT_MOBILITY_PREFIX=%CD%
+cd /D %CURRENTDIR%
+
+:endprefixProcessing
+echo QT_MOBILITY_PREFIX = %QT_MOBILITY_PREFIX% >> %PROJECT_CONFIG%
+
+echo build_unit_tests = %BUILD_UNITTESTS% >> %PROJECT_CONFIG%
+set BUILD_UNITTESTS=
+
+echo build_examples = %BUILD_EXAMPLES% >> %PROJECT_CONFIG%
+set BUILD_EXAMPLES=
+
+echo build_docs = %BUILD_DOCS% >> %PROJECT_CONFIG%
+set BUILD_DOCS=
+
+echo build_tools = %BUILD_TOOLS% >> %PROJECT_CONFIG%
+set BUILD_TOOLS=
+
+echo qmf_enabled = no >> %PROJECT_CONFIG%
+
+echo !symbian:isEmpty($$QT_MOBILITY_INCLUDE):QT_MOBILITY_INCLUDE=$$QT_MOBILITY_PREFIX/include >> %PROJECT_CONFIG%
+echo isEmpty($$QT_MOBILITY_LIB):QT_MOBILITY_LIB=$$QT_MOBILITY_PREFIX/lib >> %PROJECT_CONFIG%
+echo isEmpty($$QT_MOBILITY_BIN):QT_MOBILITY_BIN=$$QT_MOBILITY_PREFIX/bin >> %PROJECT_CONFIG%
+echo isEmpty($$QT_MOBILITY_PLUGINS):QT_MOBILITY_PLUGINS=$$QT_MOBILITY_PREFIX/plugins >> %PROJECT_CONFIG%
+
+echo mobility_modules = %MOBILITY_MODULES%  >> %PROJECT_CONFIG%
+REM no Sysinfo support on Maemo yet
+echo maemo5^|maemo6:mobility_modules -= systeminfo >> %PROJECT_CONFIG%
+echo contains(mobility_modules,versit): mobility_modules *= contacts  >> %PROJECT_CONFIG%
+
+echo Checking available Qt
+call %QT_PATH%qmake -v >> %PROJECT_LOG% 2>&1
+if errorlevel 1 goto qmakeNotFound
+goto qmakeFound
+:qmakeNotFound
+echo ... Not found  >> %PROJECT_LOG% 2>&1
+if "%QT_PATH%" == "" (
+    echo >&2Cannot find 'qmake' in your PATH.
+    echo >&2Your PATH is: %PATH%
+) else (
+    echo >&2Cannot find 'qmake' in %QT_PATH%.
+)
+echo >&2Aborting.
+goto errorTag
+
+:qmakeFound
+call %QT_PATH%qmake -query QT_VERSION
+
+goto checkMake
+
+:makeTest
+setlocal
+    set CURRENT_PWD=%CD%
+
+    if %BUILD_PATH% == %SOURCE_PATH% (
+        cd %SOURCE_PATH%\config.tests\make
+        if exist make del make
+    ) else (
+        rmdir /S /Q config.tests\make
+        mkdir config.tests\make
+        cd config.tests\make
+    )
+
+    for /f "tokens=2,3" %%a in ('call %QT_PATH%qmake %SOURCE_PATH%\config.tests\make\make.pro 2^>^&1 1^>NUL') do (
+        if "%%a" == "MESSAGE:" (
+            set BUILDSYSTEM=%%b)
+    )
+
+    if "%BUILDSYSTEM%" == "symbian-abld" (
+        call make -h >> %PROJECT_LOG% 2>&1
+        if not errorlevel 1 (
+            echo ... Symbian abld make found.
+            set MAKE=make
+        )
+    ) else if "%BUILDSYSTEM%" == "symbian-sbsv2" (
+        call make -h >> %PROJECT_LOG% 2>&1
+        if not errorlevel 1 (
+            echo ... Symbian sbsv2 make found.
+            set MAKE=make
+        )
+    ) else if "%BUILDSYSTEM%" == "win32-nmake" (
+        call nmake /? >> %PROJECT_LOG% 2>&1
+        if not errorlevel 1 (
+            echo ... nmake found.
+            set MAKE=nmake
+        )
+    ) else if "%BUILDSYSTEM%" == "win32-mingw" (
+        call mingw32-make -v >> %PROJECT_LOG% 2>&1
+        if not errorlevel 1 (
+            echo ... mingw32-make found.
+            set MAKE=mingw32-make
+        )
+    ) else (
+        echo ... Unknown target environment %BUILDSYSTEM%.
+    )
+    call cd %CURRENT_PWD%
+call endlocal&set %1=%MAKE%&set %2=%BUILDSYSTEM%&goto :EOF
+
+:checkMake
+echo Checking make
+call :makeTest MOBILITY_MAKE MOBILITY_BUILDSYSTEM
+if not "%MOBILITY_MAKE%" == "" goto compileTests
+
+echo >&2Cannot find 'nmake', 'mingw32-make' or 'make' in your PATH
+echo >&2Aborting.
+goto errorTag
+
+:compileTest
+setlocal
+    @echo off
+    echo Checking %1
+    set CURRENT_PWD=%CD%
+
+    if %BUILD_PATH% == %SOURCE_PATH% (
+        cd %SOURCE_PATH%\config.tests\%2
+        if exist %2 del %2
+    ) else (
+        rmdir /S /Q config.tests\%2
+        mkdir config.tests\%2
+        cd config.tests\%2
+    )
+
+    call %QT_PATH%qmake %SOURCE_PATH%\config.tests\%2\%2.pro >> %PROJECT_LOG% 2>&1
+
+    set FAILED=0
+    if "%MOBILITY_BUILDSYSTEM%" == "symbian-sbsv2" (
+        call %MOBILITY_MAKE% release-armv5 >> %PROJECT_LOG% 2>&1
+        for /f "tokens=2" %%i in ('%MOBILITY_MAKE% release-armv5 SBS^="@sbs --check"') do set FAILED=1
+    ) else if "%MOBILITY_BUILDSYSTEM%" == "symbian-abld" (
+        call %MOBILITY_MAKE% release-gcce >> %PROJECT_LOG% 2>&1
+        for /f "tokens=2" %%i in ('%MOBILITY_MAKE% release-gcce ABLD^="@ABLD.BAT -c" 2^>^&1') do if not %%i == bldfiles set FAILED=1
+    ) else {
+        REM Make for other builds
+        call %MOBILITY_MAKE% >> %PROJECT_LOG% 2>&1
+        REM have to check error level for windows / other builds to be sure.
+        if errorlevel 1 (
+           set FAILED=1
+        )
+    )
+
+    if %FAILED% == 0 (
+        echo ... OK
+        echo %2_enabled = yes >> %PROJECT_CONFIG%
+    ) else (
+        echo ... Not Found
+        echo %2_enabled = no >> %PROJECT_CONFIG%
+    )
+
+    cd %CURRENT_PWD%
+endlocal&goto :EOF
+
+:compileTests
+
+echo.
+echo Start of compile tests
+REM compile tests go here.
+for /f "tokens=3" %%i in ('call %QT_PATH%qmake %SOURCE_PATH%\config.tests\make\make.pro 2^>^&1 1^>NUL') do set BUILDSYSTEM=%%i
+if "%BUILDSYSTEM%" == "symbian-abld" goto symbianTests
+if "%BUILDSYSTEM%" == "symbian-sbsv2" goto symbianTests
+goto noTests
+
+:symbianTests
+call :compileTest LBT lbt
+call :compileTest SNAP snap
+call :compileTest OCC occ
+call :compileTest SymbianContactSIM symbiancntsim
+call :compileTest S60_Sensor_API sensors_s60_31
+call :compileTest Symbian_Sensor_Framework sensors_symbian
+call :compileTest Symbian_Hb hb_symbian
+call :compileTest Audiorouting_s60 audiorouting_s60
+call :compileTest Tunerlibrary_for_3.1 tunerlib_s60
+call :compileTest RadioUtility_for_post_3.1 radioutility_s60
+REM call :compileTest OpenMaxAl_support openmaxal_symbian
+call :compileTest Surfaces_s60 surfaces_s60
+call :compileTest Symbian_Messaging_Freestyle messaging_freestyle
+
+:noTests
+
+echo End of compile tests
+echo.
+echo.
+
+REM we could skip generating headers if a module is not enabled
+if not exist "%BUILD_PATH%\features" mkdir %BUILD_PATH%\features
+copy %SOURCE_PATH%\features\strict_flags.prf %BUILD_PATH%\features
+echo Generating Mobility Headers...
+rd /s /q %BUILD_PATH%\include
+mkdir %BUILD_PATH%\include
+perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include %SOURCE_PATH%\src\global
+
+set MODULES_TEMP=%MOBILITY_MODULES%
+
+:generateHeaders
+
+for /f "tokens=1,*" %%a in ("%MODULES_TEMP%") do (
+    set FIRST=%%a
+    set REMAINING=%%b
+)
+
+if %FIRST% == bearer (
+    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtBearer %SOURCE_PATH%\src\bearer
+) else if %FIRST% == contacts (
+    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtContacts %SOURCE_PATH%\src\contacts
+    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtContacts %SOURCE_PATH%\src\contacts\requests
+    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtContacts %SOURCE_PATH%\src\contacts\filters
+    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtContacts %SOURCE_PATH%\src\contacts\details
+) else if %FIRST% == location (
+    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtLocation %SOURCE_PATH%\src\location
+) else if %FIRST% == messaging (
+    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtMessaging %SOURCE_PATH%\src\messaging
+) else if %FIRST% == multimedia (
+    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtMultimediaKit %SOURCE_PATH%\src\multimedia
+    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtMultimediaKit %SOURCE_PATH%\src\multimedia\audio
+    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtMultimediaKit %SOURCE_PATH%\src\multimedia\video
+) else if %FIRST% == publishsubscribe (
+    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtPublishSubscribe %SOURCE_PATH%\src\publishsubscribe
+) else if %FIRST% == systeminfo (
+    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtSystemInfo %SOURCE_PATH%\src\systeminfo
+) else if %FIRST% == serviceframework (
+    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtServiceFramework %SOURCE_PATH%\src\serviceframework
+) else if %FIRST% == versit (
+    REM versit implies contacts
+    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtVersit %SOURCE_PATH%\src\versit
+    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtContacts %SOURCE_PATH%\src\contacts
+    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtContacts %SOURCE_PATH%\src\contacts\requests
+    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtContacts %SOURCE_PATH%\src\contacts\filters
+    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtContacts %SOURCE_PATH%\src\contacts\details
+) else if %FIRST% == sensors (
+    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtSensors %SOURCE_PATH%\src\sensors
+)
+
+if "%REMAINING%" == "" (
+    shift
+) else (
+    set MODULES_TEMP=%REMAINING%
+    goto generateHeaders
+)
+
+SET REMAINING=
+SET FIRST=
+SET MODULES_TEMP=
+
+if exist config.pri del config.pri
+ren %PROJECT_CONFIG% config.pri
+
+echo.
+echo Running qmake...
+call %QT_PATH%qmake -recursive %VC_TEMPLATE_OPTION% %SOURCE_PATH%\qtmobility.pro
+if errorlevel 1 goto qmakeRecError
+echo.
+echo configure has finished. You may run %MOBILITY_MAKE% to build the project now.
+goto exitTag
+
+:qmakeRecError
+echo.
+echo configure failed.
+goto errorTag
+
+:errorTag
+set BUILD_PATH=
+set CURRENTDIR=
+set MOBILITY_MAKE=
+set MOBILITY_BUILDSYSTEM=
+set PROJECT_CONFIG=
+set PROJECT_LOG=
+set QT_MOBILITY_PREFIX=
+set QT_PATH=
+set SOURCE_PATH=
+set MOBILITY_MODULES=
+set MOBILITY_MODULES_UNPARSED=
+SET REMAINING=
+SET FIRST=
+SET MODULES_TEMP=
+exit /b 1
+
+:exitTag
+set BUILD_PATH=
+set CURRENTDIR=
+set MOBILITY_MAKE=
+set MOBILITY_BUILDSYSTEM=
+set PROJECT_CONFIG=
+set PROJECT_LOG=
+set QT_MOBILITY_PREFIX=
+set QT_PATH=
+set SOURCE_PATH=
+set MOBILITY_MODULES=
+set MOBILITY_MODULES_UNPARSED=
+SET REMAINING=
+SET FIRST=
+SET MODULES_TEMP=
+exit /b 0


Added release bat file for VS 2019

Added release bat file for VS 2019

error: pathspec 'vs_release19.bat' did not match any file(s) known to git

--- vs_release19.bat
+++ vs_release19.bat
@@ -0,0 +1,750 @@
+@echo off
+
+set pre=Microsoft.VisualStudio.Product.
+set ids=%pre%Community %pre%Professional %pre%Enterprise %pre%BuildTools
+for /f "usebackq tokens=1* delims=: " %%i in (`"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere" -latest -products %ids% -requires Microsoft.Component.MSBuild`) do (
+  if /i "%%i"=="installationPath" set InstallDir=%%j
+)
+
+IF NOT EXIST %InstallDir%nul goto MissingMSBuildToolsPath
+IF NOT EXIST %InstallDir%\MSBuild\Current\Bin\MSBuild.exe goto MissingMSBuildExe
+
+ECHO =========== Starting Release Compile ==================
+
+ECHO Command line Compiler compiling....
+ECHO -----------------------------------
+"%InstallDir%\MSBuild\Current\Bin\MSBuild.exe" %1\elenasrc2\elc\vs\elc15.vcxproj /p:configuration=release
+IF NOT %ERRORLEVEL%==0 GOTO CompilerError
+
+ECHO Virtual Machine compiling....
+ECHO -----------------------------
+"%InstallDir%\MSBuild\Current\Bin\MSBuild.exe" %1\elenasrc2\elenavm\vs\elenavm15.vcxproj /p:configuration=release
+IF NOT %ERRORLEVEL%==0 GOTO CompilerError
+
+ECHO IDE compiling....
+ECHO -----------------
+"%InstallDir%\MSBuild\Current\Bin\MSBuild.exe" %1\elenasrc2\ide\vs\elide15.vcxproj /p:configuration=release
+IF NOT %ERRORLEVEL%==0 GOTO CompilerError
+
+ECHO Run-Time Engine compiling....
+ECHO -----------------------------
+"%InstallDir%\MSBuild\Current\Bin\MSBuild.exe" %1\elenasrc2\elenart\vs\elenart15.vcxproj /p:configuration=release
+IF NOT %ERRORLEVEL%==0 GOTO CompilerError
+
+ECHO Script Engine compiling....
+ECHO ----------------------------
+"%InstallDir%\MSBuild\Current\Bin\MSBuild.exe" %1\elenasrc2\elenasm\vs\elenasm15.vcxproj /p:configuration=release
+IF NOT %ERRORLEVEL%==0 GOTO CompilerError
+
+ECHO Simplified Assembler compiling....
+ECHO -----------------------------------
+"%InstallDir%\MSBuild\Current\Bin\MSBuild.exe" %1\elenasrc2\tools\asm2bin\vs\asm2binx15.vcxproj /p:configuration=release
+IF NOT %ERRORLEVEL%==0 GOTO CompilerError
+
+ECHO ECODES viewer compiling....
+ECHO ---------------------------
+"%InstallDir%\MSBuild\Current\Bin\MSBuild.exe" %1\elenasrc2\tools\ecv\vs\ecv15.vcxproj /p:configuration=release
+IF NOT %ERRORLEVEL%==0 GOTO CompilerError
+
+ECHO Virtual Machine Terminal compiling....
+ECHO --------------------------------------
+"%InstallDir%\MSBuild\Current\Bin\MSBuild.exe" %1\elenasrc2\tools\elt\vs\elt15.vcxproj /p:configuration=release
+IF NOT %ERRORLEVEL%==0 GOTO CompilerError
+
+ECHO Optimization Rule Generator compiling....
+ECHO ------------------------------------------
+"%InstallDir%\MSBuild\Current\Bin\MSBuild.exe" %1\elenasrc2\tools\og\vs\og15.vcxproj /p:configuration=release
+IF NOT %ERRORLEVEL%==0 GOTO CompilerError
+
+ECHO Syntax Parse Table Generator compiling....
+ECHO ------------------------------------------
+"%InstallDir%\MSBuild\Current\Bin\MSBuild.exe" %1\elenasrc2\tools\sg\vs\sg15.vcxproj /p:configuration=release
+IF NOT %ERRORLEVEL%==0 GOTO CompilerError
+
+ECHO =========== Release Compiled ==================
+
+ECHO =========== Compiling ELENA files ==================
+
+%1\bin\sg %1\dat\sg\syntax.txt
+move %1\dat\sg\syntax.dat %1\bin
+
+%1\bin\og %1\dat\og\rules.txt
+move %1\dat\og\rules.dat %1\bin
+
+md lib40
+%1\bin\asm2binx %1\src40\core\core_routines.esm lib40\system
+
+%1\bin\asm2binx %1\asm\x32\core.asm %1\bin\x32
+%1\bin\asm2binx %1\asm\x32\corex.asm %1\bin\x32
+%1\bin\asm2binx %1\asm\x32\coreapi.asm %1\bin\x32
+%1\bin\asm2binx %1\asm\x32\core_vm.asm %1\bin\x32
+%1\bin\asm2binx %1\asm\x32\core_win.asm %1\bin\x32
+
+echo ========== copying bin files.. ===============
+
+md bin
+
+copy %1\bin\asm2binx.exe bin
+copy %1\bin\elc.exe bin
+copy %1\bin\elide.exe bin
+copy %1\bin\sg.exe bin
+copy %1\bin\elt.exe bin
+copy %1\bin\ecv.exe bin
+copy %1\bin\og.exe bin
+
+copy %1\bin\elenavm.dll bin
+copy %1\bin\elenart.dll bin
+copy %1\bin\elenasm.dll bin
+copy %1\bin\winstub.ex_ bin
+copy %1\bin\syntax.dat bin
+copy %1\bin\rules.dat bin
+copy %1\bin\elc.cfg bin
+copy %1\bin\elenavm.cfg bin
+copy %1\bin\elenart.cfg bin
+
+echo copying bin\templates files
+
+md bin\templates
+copy %1\bin\templates\*.cfg bin\templates\
+
+echo copying bin\x32 files
+
+md bin\x32
+copy %1\bin\x32\*.bin bin\x32\
+
+echo copying bin\scripts files
+
+md bin\scripts
+copy %1\bin\scripts\*.es bin\scripts\
+
+echo copying dat files
+
+md dat
+md dat\sg
+copy %1\dat\sg\syntax.txt dat\sg
+
+md dat\og
+copy %1\dat\og\rules.txt dat\og
+
+echo copying doc files
+
+md doc
+copy %1\doc\license doc\
+copy %1\doc\roadmap.txt doc\
+copy %1\doc\contributors doc\
+copy %1\doc\readme.txt .
+
+rem md doc\api
+rem copy %1\doc\api\*.html doc\api
+
+md doc\lang
+copy %1\doc\lang\spec.txt  doc\lang
+
+md doc\tech
+copy %1\doc\tech\bytecode.txt doc\tech
+copy %1\doc\tech\knowhow.txt doc\tech
+
+echo copying elenasrc2 files
+
+md elenasrc2
+copy %1\elenasrc2\elena2.workspace elenasrc2
+
+md elenasrc2\common
+copy %1\elenasrc2\common\*.cpp elenasrc2\common
+copy %1\elenasrc2\common\*.h elenasrc2\common
+
+md elenasrc2\elc
+copy %1\elenasrc2\elc\*.cpp elenasrc2\elc
+copy %1\elenasrc2\elc\*.h elenasrc2\elc
+
+md elenasrc2\elc\vs
+copy %1\elenasrc2\elc\vs\elc15.vcxproj elenasrc2\elc\vs
+copy %1\elenasrc2\elc\vs\elc.rc elenasrc2\elc\vs
+copy %1\elenasrc2\elc\vs\resource.h elenasrc2\elc\vs
+
+md elenasrc2\elc\win32
+copy %1\elenasrc2\elc\win32\*.cpp elenasrc2\elc\win32
+copy %1\elenasrc2\elc\win32\*.h elenasrc2\elc\win32
+
+md elenasrc2\elenavm
+copy %1\elenasrc2\elenavm\*.cpp elenasrc2\elenavm
+copy %1\elenasrc2\elenavm\*.h elenasrc2\elenavm
+
+md elenasrc2\elenavm\vs
+copy %1\elenasrc2\elenavm\vs\elenavm15.vcxproj elenasrc2\elenavm\vs
+copy %1\elenasrc2\elenavm\vs\elenavm11.rc elenasrc2\elenavm\vs
+copy %1\elenasrc2\elenavm\vs\resource.h elenasrc2\elenavm\vs
+
+md elenasrc2\elenavm\win32
+copy %1\elenasrc2\elenavm\win32\*.cpp elenasrc2\elenavm\win32
+copy %1\elenasrc2\elenavm\win32\*.h elenasrc2\elenavm\win32
+
+md elenasrc2\elenart
+copy %1\elenasrc2\elenart\*.cpp elenasrc2\elenart
+copy %1\elenasrc2\elenart\*.h elenasrc2\elenart
+
+md elenasrc2\elenart\vs
+copy %1\elenasrc2\elenart\vs\elenart15.vcxproj elenasrc2\elenart\vs
+copy %1\elenasrc2\elenart\vs\elenart.rc elenasrc2\elenart\vs
+copy %1\elenasrc2\elenart\vs\resource.h elenasrc2\elenart\vs
+
+md elenasrc2\elenart\win32
+copy %1\elenasrc2\elenart\win32\*.cpp elenasrc2\elenart\win32
+copy %1\elenasrc2\elenart\win32\*.h elenasrc2\elenart\win32
+
+md elenasrc2\engine
+copy %1\elenasrc2\engine\*.cpp elenasrc2\engine
+copy %1\elenasrc2\engine\*.h elenasrc2\engine
+
+md elenasrc2\engine\win32
+copy %1\elenasrc2\engine\win32\*.cpp elenasrc2\engine\win32
+copy %1\elenasrc2\engine\win32\*.h elenasrc2\engine\win32
+
+md elenasrc2\gui
+copy %1\elenasrc2\gui\*.cpp elenasrc2\gui
+copy %1\elenasrc2\gui\*.h elenasrc2\gui
+
+md elenasrc2\gui\winapi32
+copy %1\elenasrc2\gui\winapi32\*.cpp elenasrc2\gui\winapi32
+copy %1\elenasrc2\gui\winapi32\*.h elenasrc2\gui\winapi32
+
+md elenasrc2\ide
+copy %1\elenasrc2\ide\*.cpp elenasrc2\ide
+copy %1\elenasrc2\ide\*.h elenasrc2\ide
+
+md elenasrc2\ide\eng
+copy %1\elenasrc2\ide\eng\*.h elenasrc2\ide\eng
+
+md elenasrc2\ide\vs
+copy %1\elenasrc2\ide\vs\elide15.vcxproj elenasrc2\ide\vs
+
+md elenasrc2\ide\winapi32
+copy %1\elenasrc2\ide\winapi32\*.cpp elenasrc2\ide\winapi32
+copy %1\elenasrc2\ide\winapi32\*.h elenasrc2\ide\winapi32
+copy %1\elenasrc2\ide\winapi32\*.rc elenasrc2\ide\winapi32
+
+md elenasrc2\ide\winapi32\icons
+copy %1\elenasrc2\ide\winapi32\icons\*.bmp elenasrc2\ide\winapi32\icons
+copy %1\elenasrc2\ide\winapi32\icons\*.ico elenasrc2\ide\winapi32\icons
+
+md elenasrc2\elenasm
+copy %1\elenasrc2\elenasm\*.cpp elenasrc2\elenasm
+copy %1\elenasrc2\elenasm\*.h elenasrc2\elenasm
+
+md elenasrc2\elenasm\win32
+copy %1\elenasrc2\elenasm\win32\*.cpp elenasrc2\elenasm\win32
+copy %1\elenasrc2\elenasm\win32\*.h elenasrc2\elenasm\win32
+
+md elenasrc2\elenasm\vs
+copy %1\elenasrc2\elenasm\vs\*.vcxproj elenasrc2\elenasm\vs
+copy %1\elenasrc2\elenasm\vs\resource.h elenasrc2\elenasm\vs
+copy %1\elenasrc2\elenasm\vs\elenasm.rc elenasrc2\elenasm\vs
+
+md elenasrc2\tools
+
+md elenasrc2\tools\asm2bin
+copy %1\elenasrc2\tools\asm2bin\*.cpp elenasrc2\tools\asm2bin
+copy %1\elenasrc2\tools\asm2bin\*.h elenasrc2\tools\asm2bin
+
+md elenasrc2\tools\asm2bin\vs
+copy %1\elenasrc2\tools\asm2bin\vs\*.vcxproj elenasrc2\tools\asm2bin\vs
+copy %1\elenasrc2\tools\asm2bin\vs\*.h elenasrc2\tools\asm2bin\vs
+copy %1\elenasrc2\tools\asm2bin\vs\*.rc elenasrc2\tools\asm2bin\vs
+
+md elenasrc2\tools\sg
+copy %1\elenasrc2\tools\sg\*.cpp elenasrc2\tools\sg
+copy %1\elenasrc2\tools\sg\*.h elenasrc2\tools\sg
+md elenasrc2\tools\sg\win32
+copy %1\elenasrc2\tools\sg\win32\*.h elenasrc2\tools\sg\win32
+
+md elenasrc2\tools\sg\vs
+copy %1\elenasrc2\tools\sg\vs\*.vcxproj elenasrc2\tools\sg\vs
+
+md elenasrc2\tools\elt
+copy %1\elenasrc2\tools\elt\*.cpp elenasrc2\tools\elt
+copy %1\elenasrc2\tools\elt\*.h elenasrc2\tools\elt
+
+md elenasrc2\tools\elt\vs
+copy %1\elenasrc2\tools\elt\vs\*.vcxproj elenasrc2\tools\elt\vs
+
+md elenasrc2\tools\ecv
+copy %1\elenasrc2\tools\ecv\*.cpp elenasrc2\tools\ecv
+copy %1\elenasrc2\tools\ecv\*.h elenasrc2\tools\ecv
+
+md elenasrc2\tools\ecv\winapi
+copy %1\elenasrc2\tools\ecv\winapi\*.cpp elenasrc2\tools\ecv\winapi
+copy %1\elenasrc2\tools\ecv\winapi\*.h elenasrc2\tools\ecv\winapi
+
+md elenasrc2\tools\ecv\vs
+copy %1\elenasrc2\tools\ecv\vs\*.vcxproj elenasrc2\tools\ecv\vs
+
+md elenasrc2\tools\og
+copy %1\elenasrc2\tools\og\*.cpp elenasrc2\tools\og
+copy %1\elenasrc2\tools\og\*.h elenasrc2\tools\og
+
+md elenasrc2\tools\og\vs
+copy %1\elenasrc2\tools\og\vs\*.vcxproj elenasrc2\tools\og\vs
+
+md install
+copy %1\install\*.iss install
+md install\redist
+copy %1\install\redist\VC_redist.x86.exe install\redist
+
+echo copying examples files
+
+md examples
+
+rem md examples\gui\agenda
+rem copy %1\examples\gui\agenda\*.l examples\gui\agenda
+rem copy %1\examples\gui\agenda\*.prj examples\gui\agenda
+
+md examples\console\binary
+copy %1\examples\console\binary\*.l examples\console\binary
+copy %1\examples\console\binary\*.prj examples\console\binary
+
+md examples\console\bsort
+copy %1\examples\console\bsort\*.l examples\console\bsort
+copy %1\examples\console\bsort\*.prj examples\console\bsort
+
+rem md examples\gui\c_a_g
+rem copy %1\examples\gui\c_a_g\*.l examples\gui\c_a_g
+rem copy %1\examples\gui\c_a_g\*.prj examples\gui\c_a_g
+
+rem md examples\gui\c_a_g\formulas
+
+rem md examples\gui\c_a_g\formulas\Circulo
+rem copy %1\examples\gui\c_a_g\formulas\Circulo\*.bmp examples\gui\c_a_g\formulas\Circulo
+
+rem md examples\gui\c_a_g\formulas\Paralelogramos
+rem copy %1\examples\gui\c_a_g\formulas\Paralelogramos\*.bmp examples\gui\c_a_g\formulas\Paralelogramos
+
+rem md examples\gui\c_a_g\formulas\Trapezio
+rem copy %1\examples\gui\c_a_g\formulas\Trapezio\*.bmp examples\gui\c_a_g\formulas\Trapezio
+
+rem md examples\c_a_g\gui\formulas\Triangulos
+rem copy %1\examples\gui\c_a_g\formulas\Triangulos\*.bmp examples\gui\c_a_g\formulas\Triangulos
+
+rem md examples\gui\c_a_g\inf
+rem md examples\gui\c_a_g\obj
+rem md examples\gui\c_a_g\bin
+
+md examples\script\calculator
+copy %1\examples\script\calculator\*.l examples\script\calculator
+copy %1\examples\script\calculator\*.prj examples\script\calculator
+copy %1\examples\script\calculator\*.es examples\script\calculator
+
+md examples\console\datetime
+copy %1\examples\console\datetime\*.l examples\console\datetime
+copy %1\examples\console\datetime\*.prj examples\console\datetime
+
+rem md examples\dices
+rem copy %1\examples\dices\*.l examples\dices
+rem copy %1\examples\dices\*.prj examples\dices
+
+rem md examples\dices\kniffel
+rem copy %1\examples\dices\kniffel\*.l examples\dices\kniffel
+
+rem md examples\eldoc
+rem copy %1\examples\eldoc\*.l examples\eldoc
+rem copy %1\examples\eldoc\*.prj examples\eldoc
+
+md examples\console\goods
+copy %1\examples\console\goods\*.l examples\console\goods
+copy %1\examples\console\goods\*.txt examples\console\goods
+copy %1\examples\console\goods\*.prj examples\console\goods
+
+rem md examples\gui\graphs
+rem copy %1\examples\gui\graphs\*.l examples\gui\graphs
+rem copy %1\examples\gui\graphs\*.prj examples\gui\graphs
+
+md examples\console\helloworld
+copy %1\examples\console\helloworld\*.l examples\console\helloworld
+copy %1\examples\console\helloworld\*.prj examples\console\helloworld
+rem copy %1\examples\helloworld\*.es examples\helloworld
+
+md examples\script\interpreter
+copy %1\examples\script\interpreter\*.l examples\script\interpreter
+copy %1\examples\script\interpreter\*.prj examples\script\interpreter
+copy %1\examples\script\interpreter\*.txt examples\script\interpreter
+copy %1\examples\script\interpreter\*.es examples\script\interpreter
+
+rem md examples\console\matrix
+rem copy %1\examples\console\matrix\*.l examples\console\matrix
+rem copy %1\examples\console\matrix\*.prj examples\console\matrix
+
+rem md examples\opencalc
+rem copy %1\examples\opencalc\*.bat examples\opencalc
+rem copy %1\examples\opencalc\*.vl examples\opencalc
+
+md examples\console\pi
+copy %1\examples\console\pi\*.l examples\console\pi
+copy %1\examples\console\pi\*.prj examples\console\pi
+
+md examples\console\replace
+copy %1\examples\console\replace\*.l examples\console\replace
+copy %1\examples\console\replace\*.prj examples\console\replace
+
+md examples\console\sum
+copy %1\examples\console\sum\*.l examples\console\sum
+copy %1\examples\console\sum\*.prj examples\console\sum
+
+md examples\console\random
+copy %1\examples\console\random\*.l examples\console\random
+copy %1\examples\console\random\*.prj examples\console\random
+
+md examples\files\textdb
+copy %1\examples\files\textdb\*.l examples\files\textdb
+copy %1\examples\files\textdb\*.prj examples\files\textdb
+copy %1\examples\files\textdb\*.txt examples\files\textdb
+
+md examples\files\textfile
+copy %1\examples\files\textfile\*.l examples\files\textfile
+copy %1\examples\files\textfile\*.prj examples\files\textfile
+copy %1\examples\files\textfile\*.txt examples\files\textfile
+
+md examples\console\words
+copy %1\examples\console\words\*.l examples\console\words
+copy %1\examples\console\words\*.prj examples\console\words
+
+rem md examples\upndown
+rem md examples\upndown\bin
+rem copy %1\examples\upndown\*.l examples\upndown
+rem copy %1\examples\upndown\*.prj examples\upndown
+
+rem md examples\upndown\gui
+rem copy %1\examples\upndown\gui\*.l examples\upndown\gui
+
+rem md examples\upndown\upndown
+rem copy %1\examples\upndown\upndown\*.l examples\upndown\upndown
+
+rem md examples\upndown\dictionary
+rem copy %1\examples\upndown\dictionary\*.l examples\upndown\dictionary
+
+rem md examples\gui\notepad
+rem md examples\gui\notepad\bin
+rem copy %1\examples\gui\notepad\*.l examples\gui\notepad
+rem copy %1\examples\gui\notepad\*.prj examples\gui\notepad
+
+md examples\console\trans
+copy %1\examples\console\trans\*.l examples\console\trans
+copy %1\examples\console\trans\*.prj examples\console\trans
+
+rem md examples\timer
+rem copy %1\examples\timer\*.l examples\timer
+rem copy %1\examples\timer\*.prj examples\timer
+
+md examples\db\sqlite
+copy %1\examples\db\sqlite\*.l examples\db\sqlite
+copy %1\examples\db\sqlite\*.prj examples\db\sqlite
+
+md examples\script\js
+copy %1\examples\script\js\*.l examples\script\js
+copy %1\examples\script\js\*.prj examples\script\js
+copy %1\examples\script\js\*.xprj examples\script\js
+copy %1\examples\script\js\*.txt examples\script\js
+copy %1\examples\script\js\*.es examples\script\js
+copy %1\examples\script\js\*.js examples\script\js
+
+echo copying src4 files
+
+md src40
+
+md asm
+md asm\x32
+copy %1\asm\x32\*.asm asm\x32
+copy %1\asm\*.esm asm
+
+md src40\core
+xcopy %1\src40\core\*.esn src40\core /s
+
+md src40\system
+xcopy %1\src40\system\*.l src40\system /s
+xcopy %1\src40\system\*.prj src40\system /s
+
+md src40\extensions
+xcopy %1\src40\extensions\*.l src40\extensions /s
+xcopy %1\src40\extensions\*.prj src40\extensions /s
+
+md src40\algorithms
+xcopy %1\src40\algorithms\*.l src40\algorithms /s
+xcopy %1\src40\algorithms\*.prj src40\algorithms /s
+
+md src40\net
+xcopy %1\src40\net\*.l src40\net /s
+xcopy %1\src40\net\*.prj src40\net /s
+
+md src40\forms
+xcopy %1\src40\forms\*.l src40\forms /s
+xcopy %1\src40\forms\*.prj src40\forms /s
+
+md src40\sqlite
+xcopy %1\src40\sqlite\*.l src40\sqlite /s
+xcopy %1\src40\sqlite\*.prj src40\sqlite /s
+
+md src40\cellular
+xcopy %1\src40\cellular\*.l src40\cellular /s
+xcopy %1\src40\cellular\*.prj src40\cellular /s
+
+copy %1\recompile15.bat
+copy %1\rebuild_lib.bat
+copy %1\rebuild_examples.bat
+copy %1\whatsnew.txt
+
+echo copying rosetta files
+
+md examples\rosetta
+md examples\rosetta\accumulator
+copy %1\examples\rosetta\accumulator\*.l examples\rosetta\accumulator
+copy %1\examples\rosetta\accumulator\*.prj examples\rosetta\accumulator
+
+md examples\rosetta\ackermann
+copy %1\examples\rosetta\ackermann\*.l examples\rosetta\ackermann
+copy %1\examples\rosetta\ackermann\*.prj examples\rosetta\ackermann
+
+md examples\rosetta\addfield
+copy %1\examples\rosetta\addfield\*.l examples\rosetta\addfield
+copy %1\examples\rosetta\addfield\*.prj examples\rosetta\addfield
+
+md examples\rosetta\amb
+copy %1\examples\rosetta\amb\*.l examples\rosetta\amb
+copy %1\examples\rosetta\amb\*.prj examples\rosetta\amb
+
+md examples\rosetta\aplusb
+copy %1\examples\rosetta\aplusb\*.l examples\rosetta\aplusb
+copy %1\examples\rosetta\aplusb\*.prj examples\rosetta\aplusb
+
+md examples\rosetta\applycallback
+copy %1\examples\rosetta\applycallback\*.l examples\rosetta\applycallback
+copy %1\examples\rosetta\applycallback\*.prj examples\rosetta\applycallback
+
+md examples\rosetta\arithmeticint
+copy %1\examples\rosetta\arithmeticint\*.l examples\rosetta\arithmeticint
+copy %1\examples\rosetta\arithmeticint\*.prj examples\rosetta\arithmeticint
+
+md examples\rosetta\arithmmean
+copy %1\examples\rosetta\arithmmean\*.l examples\rosetta\arithmmean
+copy %1\examples\rosetta\arithmmean\*.prj examples\rosetta\arithmmean
+
+md examples\rosetta\associativearrays
+copy %1\examples\rosetta\associativearrays\*.l examples\rosetta\associativearrays
+copy %1\examples\rosetta\associativearrays\*.prj examples\rosetta\associativearrays
+
+md examples\rosetta\arithmeval
+copy %1\examples\rosetta\arithmeval\*.l examples\rosetta\arithmeval
+copy %1\examples\rosetta\arithmeval\*.prj examples\rosetta\arithmeval
+
+md examples\rosetta\arrays
+copy %1\examples\rosetta\arrays\*.l examples\rosetta\arrays
+copy %1\examples\rosetta\arrays\*.prj examples\rosetta\arrays
+
+md examples\rosetta\arrayconcat
+copy %1\examples\rosetta\arrayconcat\*.l examples\rosetta\arrayconcat
+copy %1\examples\rosetta\arrayconcat\*.prj examples\rosetta\arrayconcat
+
+md examples\rosetta\smavg
+copy %1\examples\rosetta\smavg\*.l examples\rosetta\smavg
+copy %1\examples\rosetta\smavg\*.prj examples\rosetta\smavg
+
+md examples\rosetta\arraymode
+copy %1\examples\rosetta\arraymode\*.l examples\rosetta\arraymode
+copy %1\examples\rosetta\arraymode\*.prj examples\rosetta\arraymode
+
+md examples\rosetta\anonymrec
+copy %1\examples\rosetta\anonymrec\*.l examples\rosetta\anonymrec
+copy %1\examples\rosetta\anonymrec\*.prj examples\rosetta\anonymrec
+
+md examples\rosetta\median
+copy %1\examples\rosetta\median\*.l examples\rosetta\median
+copy %1\examples\rosetta\median\*.prj examples\rosetta\median
+
+md examples\rosetta\bitwise
+copy %1\examples\rosetta\bitwise\*.l examples\rosetta\bitwise
+copy %1\examples\rosetta\bitwise\*.prj examples\rosetta\bitwise
+
+md examples\rosetta\anagram
+copy %1\examples\rosetta\anagram\*.l examples\rosetta\anagram
+copy %1\examples\rosetta\anagram\*.prj examples\rosetta\anagram
+copy %1\examples\rosetta\anagram\*.txt examples\rosetta\anagram
+
+md examples\rosetta\brackets
+copy %1\examples\rosetta\brackets\*.l examples\rosetta\brackets
+copy %1\examples\rosetta\brackets\*.prj examples\rosetta\brackets
+
+md examples\rosetta\bestshuffle
+copy %1\examples\rosetta\bestshuffle\*.l examples\rosetta\bestshuffle
+copy %1\examples\rosetta\bestshuffle\*.prj examples\rosetta\bestshuffle
+
+md examples\rosetta\bullscows
+copy %1\examples\rosetta\bullscows\*.l examples\rosetta\bullscows
+copy %1\examples\rosetta\bullscows\*.prj examples\rosetta\bullscows
+
+md examples\rosetta\binary
+copy %1\examples\rosetta\binary\*.l examples\rosetta\binary
+copy %1\examples\rosetta\binary\*.prj examples\rosetta\binary
+
+md examples\rosetta\caesar
+copy %1\examples\rosetta\caesar\*.l examples\rosetta\caesar
+copy %1\examples\rosetta\caesar\*.prj examples\rosetta\caesar
+
+md examples\rosetta\charmatch
+copy %1\examples\rosetta\charmatch\*.l examples\rosetta\charmatch
+copy %1\examples\rosetta\charmatch\*.prj examples\rosetta\charmatch
+
+md examples\rosetta\combinations
+copy %1\examples\rosetta\combinations\*.l examples\rosetta\combinations
+copy %1\examples\rosetta\combinations\*.prj examples\rosetta\combinations
+
+md examples\rosetta\calendar
+copy %1\examples\rosetta\calendar\*.l examples\rosetta\calendar
+copy %1\examples\rosetta\calendar\*.prj examples\rosetta\calendar
+
+md examples\rosetta\doors
+copy %1\examples\rosetta\doors\*.l examples\rosetta\doors
+copy %1\examples\rosetta\doors\*.prj examples\rosetta\doors
+
+md examples\rosetta\twentyfour
+copy %1\examples\rosetta\twentyfour\*.l examples\rosetta\twentyfour
+copy %1\examples\rosetta\twentyfour\*.prj examples\rosetta\twentyfour
+
+md examples\rosetta\simple_windowed_app
+copy %1\examples\rosetta\simple_windowed_app\*.l examples\rosetta\simple_windowed_app
+copy %1\examples\rosetta\simple_windowed_app\*.prj examples\rosetta\simple_windowed_app
+
+md examples\rosetta\gui_component_interaction
+copy %1\examples\rosetta\gui_component_interaction\*.l examples\rosetta\gui_component_interaction
+copy %1\examples\rosetta\gui_component_interaction\*.prj examples\rosetta\gui_component_interaction
+
+md examples\rosetta\string_append
+copy %1\examples\rosetta\string_append\*.l examples\rosetta\string_append
+copy %1\examples\rosetta\string_append\*.prj examples\rosetta\string_append
+
+md examples\rosetta\string_case
+copy %1\examples\rosetta\string_case\*.l examples\rosetta\string_case
+copy %1\examples\rosetta\string_case\*.prj examples\rosetta\string_case
+
+md examples\rosetta\string_comparison
+copy %1\examples\rosetta\string_comparison\*.l examples\rosetta\string_comparison
+copy %1\examples\rosetta\string_comparison\*.prj examples\rosetta\string_comparison
+
+md examples\rosetta\string_concatenation
+copy %1\examples\rosetta\string_concatenation\*.l examples\rosetta\string_concatenation
+copy %1\examples\rosetta\string_concatenation\*.prj examples\rosetta\string_concatenation
+
+md examples\rosetta\string_interpolation
+copy %1\examples\rosetta\string_interpolation\*.l examples\rosetta\string_interpolation
+copy %1\examples\rosetta\string_interpolation\*.prj examples\rosetta\string_interpolation
+
+md examples\rosetta\string_matching
+copy %1\examples\rosetta\string_matching\*.l examples\rosetta\string_matching
+copy %1\examples\rosetta\string_matching\*.prj examples\rosetta\string_matching
+
+md examples\rosetta\string_prepend
+copy %1\examples\rosetta\string_prepend\*.l examples\rosetta\string_prepend
+copy %1\examples\rosetta\string_prepend\*.prj examples\rosetta\string_prepend
+
+md examples\rosetta\ninetynine
+copy %1\examples\rosetta\ninetynine\*.l examples\rosetta\ninetynine
+copy %1\examples\rosetta\ninetynine\*.prj examples\rosetta\ninetynine
+
+md examples\rosetta\evolutionary
+copy %1\examples\rosetta\evolutionary\*.l examples\rosetta\evolutionary
+copy %1\examples\rosetta\evolutionary\*.prj examples\rosetta\evolutionary
+
+md examples\rosetta\compare_str_list
+copy %1\examples\rosetta\compare_str_list\*.l examples\rosetta\compare_str_list
+copy %1\examples\rosetta\compare_str_list\*.prj examples\rosetta\compare_str_list
+
+md examples\rosetta\dynamic_var
+copy %1\examples\rosetta\dynamic_var\*.l examples\rosetta\dynamic_var
+copy %1\examples\rosetta\dynamic_var\*.prj examples\rosetta\dynamic_var
+
+md examples\rosetta\firstclass
+copy %1\examples\rosetta\firstclass\*.l examples\rosetta\firstclass
+copy %1\examples\rosetta\firstclass\*.prj examples\rosetta\firstclass
+
+md examples\rosetta\loop_multiple_arrays
+copy %1\examples\rosetta\loop_multiple_arrays\*.l examples\rosetta\loop_multiple_arrays
+copy %1\examples\rosetta\loop_multiple_arrays\*.prj examples\rosetta\loop_multiple_arrays
+
+md examples\rosetta\knutalg
+copy %1\examples\rosetta\knutalg\*.l examples\rosetta\knutalg
+copy %1\examples\rosetta\knutalg\*.prj examples\rosetta\knutalg
+
+md examples\rosetta\manboy
+copy %1\examples\rosetta\manboy\*.l examples\rosetta\manboy
+copy %1\examples\rosetta\manboy\*.prj examples\rosetta\manboy
+
+md examples\rosetta\reverse_words_in_string
+copy %1\examples\rosetta\reverse_words_in_string\*.l examples\rosetta\reverse_words_in_string
+copy %1\examples\rosetta\reverse_words_in_string\*.prj examples\rosetta\reverse_words_in_string
+
+md examples\rosetta\tokenizer
+copy %1\examples\rosetta\tokenizer\*.l examples\rosetta\tokenizer
+copy %1\examples\rosetta\tokenizer\*.prj examples\rosetta\tokenizer
+
+md examples\rosetta\trigonometric
+copy %1\examples\rosetta\trigonometric\*.l examples\rosetta\trigonometric
+copy %1\examples\rosetta\trigonometric\*.prj examples\rosetta\trigonometric
+
+md examples\rosetta\toppergroup
+copy %1\examples\rosetta\toppergroup\*.l examples\rosetta\toppergroup
+copy %1\examples\rosetta\toppergroup\*.prj examples\rosetta\toppergroup
+
+md examples\rosetta\twelvestats
+copy %1\examples\rosetta\twelvestats\*.l examples\rosetta\twelvestats
+copy %1\examples\rosetta\twelvestats\*.prj examples\rosetta\twelvestats
+
+md examples\rosetta\truncprime
+copy %1\examples\rosetta\truncprime\*.l examples\rosetta\truncprime
+copy %1\examples\rosetta\truncprime\*.prj examples\rosetta\truncprime
+
+md examples\rosetta\treeview
+copy %1\examples\rosetta\treeview\*.l examples\rosetta\treeview
+copy %1\examples\rosetta\treeview\*.prj examples\rosetta\treeview
+
+md examples\net\chat
+copy %1\examples\net\chat\*.l examples\net\chat
+copy %1\examples\net\chat\*.prj examples\net\chat
+
+bin\elc src40\system\system.prj
+@echo off
+if %ERRORLEVEL% EQU -2 GOTO CompilerError
+@echo on
+
+bin\elc src40\extensions\extensions.prj
+@echo off
+if %ERRORLEVEL% EQU -2 GOTO CompilerError
+@echo on
+
+rem bin\elc src40\net\net.prj
+
+bin\elc src40\forms\forms.prj
+@echo off
+if %ERRORLEVEL% EQU -2 GOTO CompilerError
+@echo on
+
+rem bin\elc src40\sqlite\sqlite.prj
+
+bin\elc src40\cellular\cellular.prj
+@echo off
+if %ERRORLEVEL% EQU -2 GOTO CompilerError
+@echo on
+
+rem bin\elc src40\graphics\graphics.prj
+rem bin\elc src40\xforms\xforms.prj
+
+goto:eof
+::ERRORS
+::---------------------
+:MissingMSBuildRegistry
+echo Cannot obtain path to MSBuild tools from registry
+goto:eof
+:MissingMSBuildToolsPath
+echo The MSBuild tools path from the registry '%InstallDir%' does not exist
+goto:eof
+:MissingMSBuildExe
+echo The MSBuild executable could not be found at '%InstallDir%'
+goto:eof
+:CompilerError
+echo The MSBuild returns error %ERRORLEVEL%
+goto:eof


MSIバージョンを0.1.8に変更

MSIバージョンを0.1.8に変更

--- createmsi.bat
+++ createmsi.bat
@@ -6,7 +6,7 @@
 -srcdir dist -srcfiles Calendar.jar ^
 -appclass calendar.Calendar ^
 -name "Calendar" ^
--BappVersion=0.1.6 ^
+-BappVersion=0.1.8 ^
 -title "Calendar" ^
 -vendor Takahashi ^
 -description "Calendar on desktop"


fixed path to exporter.py

fixed path to exporter.py

--- utils/export.cmd
+++ utils/export.cmd
@@ -2,8 +2,8 @@

 set path=C:\Program Files\Blender Foundation\Blender;%path%

+set script=D:\lib\three.js\utils\exporters\blender\tests\scripts\exporter.py
 set blend=%~dp0\blender\keycaps.blend
-set script=%~dp0\exporter.py
 set json=%~dp0\..\keycaps.json

 del %json%


test commit for git hook using crlf key

test commit for git hook using crlf key

--- configure.bat
+++ configure.bat
@@ -418,6 +418,7 @@

 goto checkMake

+REM Detect make tool
 :makeTest
 setlocal
     set CURRENT_PWD=%CD%


Fix nuget.exe location in publish script

--- nuget/publish.cmd
+++ nuget/publish.cmd
@@ -1 +1 @@
-@for %%f in (..\bin\*.nupkg) do @..\.nuget\NuGet.exe push %%f+@for %%f in (..\bin\*.nupkg) do @..\packages\NuGet.CommandLine\tools\NuGet.exe push %%f


Add RegenAllByteCodeNoBuild.cmd

Add RegenAllByteCodeNoBuild.cmd

error: pathspec 'RegenAllByteCodeNoBuild.cmd' did not match any file(s) known to git

--- RegenAllByteCodeNoBuild.cmd
+++ RegenAllByteCodeNoBuild.cmd
@@ -0,0 +1,31 @@
+::-------------------------------------------------------------------------------------------------------
+:: Copyright (C) Microsoft. All rights reserved.
+:: Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
+::-------------------------------------------------------------------------------------------------------
+
+:: WARNING: be careful when using this script as it assumes that
+:: you already have bytecode-format-compatible builds for all required flavors.
+:: This script helps speed things up when you are only making changes to scripts,
+:: e.g. Intl.js, without making any changes to bytecode format, since rebuilding
+:: every flavor of ChakraCore.dll when there are no relevant changes is a waste of time.
+:: Please ensure that you use buddy builds to validate the results.
+
+:: Regenerate all bytecode (without rebuilding each flavor of ch.exe)
+:: ch.exe is used to generate Intl bytecodes.
+:: ch.exe (NoJIT variety) is used to generate NoJIT Intl bytecodes.
+:: Each set of bytecode requires an x86_debug and x64_debug binary.
+::
+:: Thus we need to already have compatible builds of the following:
+:: [Core]   ch.exe        x64_debug
+:: [Core]   ch.exe        x86_debug
+:: [Core]   ch.exe        x64_debug (NoJIT)
+:: [Core]   ch.exe        x86_debug (NoJIT)
+
+@echo off
+setlocal
+  set _reporoot=%~dp0
+  pushd %_reporoot%\lib\Runtime\Library\InJavascript
+    call GenByteCode.cmd
+    call GenByteCode.cmd -nojit
+  popd
+endlocal


skip integration during units on windows

[#132181413]

Signed-off-by: Matthew Boedicker <bd646ec310948bf2f36146b5501a0018bf548d0d@pivotal.io>

--- ci/cli/tasks/units-windows.bat
+++ ci/cli/tasks/units-windows.bat
@@ -7,4 +7,4 @@

 go get github.com/onsi/ginkgo/ginkgo

-ginkgo -r -randomizeAllSpecs -randomizeSuites .
+ginkgo -r -randomizeAllSpecs -randomizeSuites -skipPackage integration .


updated copyright header

updated copyright header

--- scripts/tests/generate_baseline.bat
+++ scripts/tests/generate_baseline.bat
@@ -1,19 +1,6 @@
 @echo off
-rem ======================================================================== rem
-rem Copyright 2015-2019 Intel Corporation                                    rem
-rem                                                                          rem
-rem Licensed under the Apache License, Version 2.0 (the "License");          rem
-rem you may not use this file except in compliance with the License.         rem
-rem You may obtain a copy of the License at                                  rem
-rem                                                                          rem
-rem     http://www.apache.org/licenses/LICENSE-2.0                           rem
-rem                                                                          rem
-rem Unless required by applicable law or agreed to in writing, software      rem
-rem distributed under the License is distributed on an "AS IS" BASIS,        rem
-rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. rem
-rem See the License for the specific language governing permissions and      rem
-rem limitations under the License.                                           rem
-rem ======================================================================== rem
+rem Copyright 2016-2019 Intel Corporation
+rem SPDX-License-Identifier: Apache-2.0

 setlocal


Added support for postmkvirtualenv.bat hook script

--- scripts/mkvirtualenv.bat
+++ scripts/mkvirtualenv.bat
@@ -74,6 +74,16 @@
 )

 call "%WORKON_HOME%\%ENVNAME%\Scripts\activate.bat"
+
+REM Run postmkvirtualenv.bat
+
+if defined VIRTUALENVWRAPPER_HOOK_DIR (
+    if exist "%VIRTUALENVWRAPPER_HOOK_DIR%\postmkvirtualenv.bat" (
+    	call "%VIRTUALENVWRAPPER_HOOK_DIR%\postmkvirtualenv.bat"
+    )
+)
+
+
 goto END

 :GET_ENVNAME
@@ -84,4 +94,4 @@

 :END
 set PYHOME=
-set ENVNAME=+set ENVNAME=


error in classpath

error in classpath

git-svn-id: 9146c88ff6d39b48099bf954d15d68f687b3fa69@547 28e8926c-6b08-0410-baaa-805c5e19b8d6

--- scripts/windows/init.bat
+++ scripts/windows/init.bat
@@ -32,7 +32,7 @@
 IF EXIST %PROACTIVE%\lib\iaik_ssl.jar set CLASSPATH=%CLASSPATH%;%PROACTIVE%\lib\iaik_ssl.jar
 IF EXIST %PROACTIVE%\lib\log4j-core.jar set CLASSPATH=%CLASSPATH%;%PROACTIVE%\lib\log4j-core.jar
 IF EXIST %PROACTIVE%\lib\ibis.jar set CLASSPATH=%CLASSPATH%;%PROACTIVE%\lib\ibis.jar
-IF EXIST %PROACTIVE%\lib\xercesImpl.jar set CLASSPATH=%CLASSPATH%;%PROACTIVE%\lib\xerceImpl.jar
+IF EXIST %PROACTIVE%\lib\xercesImpl.jar set CLASSPATH=%CLASSPATH%;%PROACTIVE%\lib\xercesImpl.jar
 echo CLASSPATH=%CLASSPATH%

 set JAVA_CMD=%JAVA_HOME%\bin\java.exe -Djava.security.manager -Djava.security.policy=proactive.java.policy -Dlog4j.configuration=proactive-log4j


Update windows script so cmd-c works properly

--- agile-runtime/src/main/scripts/agile.bat
+++ agile-runtime/src/main/scripts/agile.bat
@@ -1,4 +1,12 @@
 @echo off
+
+:: Try to get around "Terminate batch job?" - use start, which spawns a new window
+:: Establish if we were launched from the command line.
+:: If so, run a start /wait otherwise we want the original window to close
+set SCRIPT=%0
+set DQUOTE="
+@echo %SCRIPT:~0,1% | findstr /l %DQUOTE% > NUL
+if NOT %ERRORLEVEL% EQU 0 set START_PARAMS=/wait

 set OLDDIR=%CD%
 cd %~dp0
@@ -19,7 +27,7 @@

 cd %AGILE_HOME%

-%JAVA_EXE% %JAVA_OPTS% -cp conf;bin\${project.artifactId}-${project.version}.jar org.headsupdev.agile.runtime.Main %CMD_LINE_ARGS%
+@start %START_PARAMS% cmd /c %JAVA_EXE% %JAVA_OPTS% -cp conf;bin\${project.artifactId}-${project.version}.jar org.headsupdev.agile.runtime.Main %CMD_LINE_ARGS%

 set CMD_LINE_ARGS=
 set JAVA_EXE=


Do symbol upload as the final packaging step

--- package_etw.bat
+++ package_etw.bat
@@ -171,14 +171,6 @@
 del etwsymserver\pingme.txt
 del etwsymserver\refs.ptr /s

-cd etwsymserver
-@rem Upload to the randomascii-symbols public symbol server.
-@echo Ready to upload the symbols?
-@pause
-call python c:\src\depot_tools\gsutil.py cp -Z -R  . gs://randomascii-symbols
-cd ..
-@echo on
-
 @rem Make the redistributable .zip file
 del *.zip 2>nul
 call python make_zip_file.py etwpackage.zip etwpackage
@@ -197,6 +189,15 @@
 @echo git add UIforETW\VersionCopy.h
 @echo git commit -m "Updating VersionCopy.h for updated version checking"
 @echo git push
+
+cd etwsymserver
+@rem Upload to the randomascii-symbols public symbol server.
+@echo Final step - ready to upload the symbols?
+@pause
+call python c:\src\depot_tools\gsutil.py cp -Z -R  . gs://randomascii-symbols
+cd ..
+@echo on
+
 @exit /b

 :pleasecloseUIforETW


One missing spot renaming windowsazure->azure

--- src/installfrompip.bat
+++ src/installfrompip.bat
@@ -13,4 +13,4 @@
 REM----------------------------------------------------------------------------
 cls

-%SystemDrive%\Python27\Scripts\pip.exe install windowsazure --upgrade+%SystemDrive%\Python27\Scripts\pip.exe install azure --upgrade


Changed runtime build artifacts name

Changed runtime build artifacts name

--- build-release.bat
+++ build-release.bat
@@ -55,7 +55,7 @@

 echo Publishing .\build\Release\%runtime%.zip

-%zip% a -tzip .\build\Release\%runtime%.zip .\build\Release\%runtime%
+%zip% a -tzip .\build\Release\zeus-%runtime%.zip .\build\Release\%runtime%
 EXIT /B 0

 :clean


Code to identify the most recent Visual Studio version installed in the machine Also sets the command line tools to build the 3rdparty dependencies.

--- 3rdPartyBuild.cmd
+++ 3rdPartyBuild.cmd
@@ -1 +1,19 @@
-cmake -P 3rdPartyBuild.cmake -G "Visual Studio 11 Win64" -DCMAKE_INSTALL_PREFIX="3rdparty"
+@echo off
+
+set VS2013_ENV_CMD="C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat"
+set VS2012_ENV_CMD="C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat"
+
+if exist %VS2013_ENV_CMD% (
+  call %VS2013_ENV_CMD%
+) else if exist %VS2012_ENV_CMD% (
+  call %VS2012_ENV_CMD%
+) else (
+  goto visual_studio_not_found
+)
+
+:build_3rdparty
+cmake -P 3rdPartyBuild.cmake
+goto :eof
+
+:visual_studio_not_found
+echo Error: No compatible version of Visual Studio was found


Make create-nupkg.bat faster and more consistent

--- create-nupkg.bat
+++ create-nupkg.bat
@@ -1,9 +1,9 @@
 @echo on

-cargo clean || exit /b 1
 cargo test || exit /b 1
 cargo build --release || exit /b 1

+rd /s /q chocolatey
 mkdir chocolatey || exit /b 1
 copy heatseeker.nuspec chocolatey\ || exit /b 1


Remove make.bat

Remove make.bat

--- docs/make.bat
+++ docs/make.bat
@@ -1,281 +0,0 @@
-@ECHO OFF
-
-REM Command file for Sphinx documentation
-
-if "%SPHINXBUILD%" == "" (
-	set SPHINXBUILD=sphinx-build
-)
-set BUILDDIR=_build
-set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .
-set I18NSPHINXOPTS=%SPHINXOPTS% .
-if NOT "%PAPER%" == "" (
-	set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
-	set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS%
-)
-
-if "%1" == "" goto help
-
-if "%1" == "help" (
-	:help
-	echo.Please use `make ^<target^>` where ^<target^> is one of
-	echo.  html       to make standalone HTML files
-	echo.  dirhtml    to make HTML files named index.html in directories
-	echo.  singlehtml to make a single large HTML file
-	echo.  pickle     to make pickle files
-	echo.  json       to make JSON files
-	echo.  htmlhelp   to make HTML files and a HTML help project
-	echo.  qthelp     to make HTML files and a qthelp project
-	echo.  devhelp    to make HTML files and a Devhelp project
-	echo.  epub       to make an epub
-	echo.  epub3      to make an epub3
-	echo.  latex      to make LaTeX files, you can set PAPER=a4 or PAPER=letter
-	echo.  text       to make text files
-	echo.  man        to make manual pages
-	echo.  texinfo    to make Texinfo files
-	echo.  gettext    to make PO message catalogs
-	echo.  changes    to make an overview over all changed/added/deprecated items
-	echo.  xml        to make Docutils-native XML files
-	echo.  pseudoxml  to make pseudoxml-XML files for display purposes
-	echo.  linkcheck  to check all external links for integrity
-	echo.  doctest    to run all doctests embedded in the documentation if enabled
-	echo.  coverage   to run coverage check of the documentation if enabled
-	echo.  dummy      to check syntax errors of document sources
-	goto end
-)
-
-if "%1" == "clean" (
-	for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i
-	del /q /s %BUILDDIR%\*
-	goto end
-)
-
-
-REM Check if sphinx-build is available and fallback to Python version if any
-%SPHINXBUILD% 1>NUL 2>NUL
-if errorlevel 9009 goto sphinx_python
-goto sphinx_ok
-
-:sphinx_python
-
-set SPHINXBUILD=python -m sphinx.__init__
-%SPHINXBUILD% 2> nul
-if errorlevel 9009 (
-	echo.
-	echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
-	echo.installed, then set the SPHINXBUILD environment variable to point
-	echo.to the full path of the 'sphinx-build' executable. Alternatively you
-	echo.may add the Sphinx directory to PATH.
-	echo.
-	echo.If you don't have Sphinx installed, grab it from
-	echo.http://sphinx-doc.org/
-	exit /b 1
-)
-
-:sphinx_ok
-
-
-if "%1" == "html" (
-	%SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The HTML pages are in %BUILDDIR%/html.
-	goto end
-)
-
-if "%1" == "dirhtml" (
-	%SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml.
-	goto end
-)
-
-if "%1" == "singlehtml" (
-	%SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml.
-	goto end
-)
-
-if "%1" == "pickle" (
-	%SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished; now you can process the pickle files.
-	goto end
-)
-
-if "%1" == "json" (
-	%SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished; now you can process the JSON files.
-	goto end
-)
-
-if "%1" == "htmlhelp" (
-	%SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished; now you can run HTML Help Workshop with the ^
-.hhp project file in %BUILDDIR%/htmlhelp.
-	goto end
-)
-
-if "%1" == "qthelp" (
-	%SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished; now you can run "qcollectiongenerator" with the ^
-.qhcp project file in %BUILDDIR%/qthelp, like this:
-	echo.^> qcollectiongenerator %BUILDDIR%\qthelp\FactoryDjoy.qhcp
-	echo.To view the help file:
-	echo.^> assistant -collectionFile %BUILDDIR%\qthelp\FactoryDjoy.ghc
-	goto end
-)
-
-if "%1" == "devhelp" (
-	%SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished.
-	goto end
-)
-
-if "%1" == "epub" (
-	%SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The epub file is in %BUILDDIR%/epub.
-	goto end
-)
-
-if "%1" == "epub3" (
-	%SPHINXBUILD% -b epub3 %ALLSPHINXOPTS% %BUILDDIR%/epub3
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The epub3 file is in %BUILDDIR%/epub3.
-	goto end
-)
-
-if "%1" == "latex" (
-	%SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished; the LaTeX files are in %BUILDDIR%/latex.
-	goto end
-)
-
-if "%1" == "latexpdf" (
-	%SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
-	cd %BUILDDIR%/latex
-	make all-pdf
-	cd %~dp0
-	echo.
-	echo.Build finished; the PDF files are in %BUILDDIR%/latex.
-	goto end
-)
-
-if "%1" == "latexpdfja" (
-	%SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
-	cd %BUILDDIR%/latex
-	make all-pdf-ja
-	cd %~dp0
-	echo.
-	echo.Build finished; the PDF files are in %BUILDDIR%/latex.
-	goto end
-)
-
-if "%1" == "text" (
-	%SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The text files are in %BUILDDIR%/text.
-	goto end
-)
-
-if "%1" == "man" (
-	%SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The manual pages are in %BUILDDIR%/man.
-	goto end
-)
-
-if "%1" == "texinfo" (
-	%SPHINXBUILD% -b texinfo %ALLSPHINXOPTS% %BUILDDIR%/texinfo
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The Texinfo files are in %BUILDDIR%/texinfo.
-	goto end
-)
-
-if "%1" == "gettext" (
-	%SPHINXBUILD% -b gettext %I18NSPHINXOPTS% %BUILDDIR%/locale
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The message catalogs are in %BUILDDIR%/locale.
-	goto end
-)
-
-if "%1" == "changes" (
-	%SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.The overview file is in %BUILDDIR%/changes.
-	goto end
-)
-
-if "%1" == "linkcheck" (
-	%SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Link check complete; look for any errors in the above output ^
-or in %BUILDDIR%/linkcheck/output.txt.
-	goto end
-)
-
-if "%1" == "doctest" (
-	%SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Testing of doctests in the sources finished, look at the ^
-results in %BUILDDIR%/doctest/output.txt.
-	goto end
-)
-
-if "%1" == "coverage" (
-	%SPHINXBUILD% -b coverage %ALLSPHINXOPTS% %BUILDDIR%/coverage
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Testing of coverage in the sources finished, look at the ^
-results in %BUILDDIR%/coverage/python.txt.
-	goto end
-)
-
-if "%1" == "xml" (
-	%SPHINXBUILD% -b xml %ALLSPHINXOPTS% %BUILDDIR%/xml
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The XML files are in %BUILDDIR%/xml.
-	goto end
-)
-
-if "%1" == "pseudoxml" (
-	%SPHINXBUILD% -b pseudoxml %ALLSPHINXOPTS% %BUILDDIR%/pseudoxml
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The pseudo-XML files are in %BUILDDIR%/pseudoxml.
-	goto end
-)
-
-if "%1" == "dummy" (
-	%SPHINXBUILD% -b dummy %ALLSPHINXOPTS% %BUILDDIR%/dummy
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. Dummy builder generates no files.
-	goto end
-)
-
-:end


Removed batch file for building Sphinx docs

--- docs/make.bat
+++ docs/make.bat
@@ -1,242 +0,0 @@
-@ECHO OFF
-
-REM Command file for Sphinx documentation
-
-if "%SPHINXBUILD%" == "" (
-	set SPHINXBUILD=sphinx-build
-)
-set BUILDDIR=_build
-set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .
-set I18NSPHINXOPTS=%SPHINXOPTS% .
-if NOT "%PAPER%" == "" (
-	set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
-	set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS%
-)
-
-if "%1" == "" goto help
-
-if "%1" == "help" (
-	:help
-	echo.Please use `make ^<target^>` where ^<target^> is one of
-	echo.  html       to make standalone HTML files
-	echo.  dirhtml    to make HTML files named index.html in directories
-	echo.  singlehtml to make a single large HTML file
-	echo.  pickle     to make pickle files
-	echo.  json       to make JSON files
-	echo.  htmlhelp   to make HTML files and a HTML help project
-	echo.  qthelp     to make HTML files and a qthelp project
-	echo.  devhelp    to make HTML files and a Devhelp project
-	echo.  epub       to make an epub
-	echo.  latex      to make LaTeX files, you can set PAPER=a4 or PAPER=letter
-	echo.  text       to make text files
-	echo.  man        to make manual pages
-	echo.  texinfo    to make Texinfo files
-	echo.  gettext    to make PO message catalogs
-	echo.  changes    to make an overview over all changed/added/deprecated items
-	echo.  xml        to make Docutils-native XML files
-	echo.  pseudoxml  to make pseudoxml-XML files for display purposes
-	echo.  linkcheck  to check all external links for integrity
-	echo.  doctest    to run all doctests embedded in the documentation if enabled
-	goto end
-)
-
-if "%1" == "clean" (
-	for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i
-	del /q /s %BUILDDIR%\*
-	goto end
-)
-
-
-%SPHINXBUILD% 2> nul
-if errorlevel 9009 (
-	echo.
-	echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
-	echo.installed, then set the SPHINXBUILD environment variable to point
-	echo.to the full path of the 'sphinx-build' executable. Alternatively you
-	echo.may add the Sphinx directory to PATH.
-	echo.
-	echo.If you don't have Sphinx installed, grab it from
-	echo.http://sphinx-doc.org/
-	exit /b 1
-)
-
-if "%1" == "html" (
-	%SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The HTML pages are in %BUILDDIR%/html.
-	goto end
-)
-
-if "%1" == "dirhtml" (
-	%SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml.
-	goto end
-)
-
-if "%1" == "singlehtml" (
-	%SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml.
-	goto end
-)
-
-if "%1" == "pickle" (
-	%SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished; now you can process the pickle files.
-	goto end
-)
-
-if "%1" == "json" (
-	%SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished; now you can process the JSON files.
-	goto end
-)
-
-if "%1" == "htmlhelp" (
-	%SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished; now you can run HTML Help Workshop with the ^
-.hhp project file in %BUILDDIR%/htmlhelp.
-	goto end
-)
-
-if "%1" == "qthelp" (
-	%SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished; now you can run "qcollectiongenerator" with the ^
-.qhcp project file in %BUILDDIR%/qthelp, like this:
-	echo.^> qcollectiongenerator %BUILDDIR%\qthelp\Quanah.qhcp
-	echo.To view the help file:
-	echo.^> assistant -collectionFile %BUILDDIR%\qthelp\Quanah.ghc
-	goto end
-)
-
-if "%1" == "devhelp" (
-	%SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished.
-	goto end
-)
-
-if "%1" == "epub" (
-	%SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The epub file is in %BUILDDIR%/epub.
-	goto end
-)
-
-if "%1" == "latex" (
-	%SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished; the LaTeX files are in %BUILDDIR%/latex.
-	goto end
-)
-
-if "%1" == "latexpdf" (
-	%SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
-	cd %BUILDDIR%/latex
-	make all-pdf
-	cd %BUILDDIR%/..
-	echo.
-	echo.Build finished; the PDF files are in %BUILDDIR%/latex.
-	goto end
-)
-
-if "%1" == "latexpdfja" (
-	%SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
-	cd %BUILDDIR%/latex
-	make all-pdf-ja
-	cd %BUILDDIR%/..
-	echo.
-	echo.Build finished; the PDF files are in %BUILDDIR%/latex.
-	goto end
-)
-
-if "%1" == "text" (
-	%SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The text files are in %BUILDDIR%/text.
-	goto end
-)
-
-if "%1" == "man" (
-	%SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The manual pages are in %BUILDDIR%/man.
-	goto end
-)
-
-if "%1" == "texinfo" (
-	%SPHINXBUILD% -b texinfo %ALLSPHINXOPTS% %BUILDDIR%/texinfo
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The Texinfo files are in %BUILDDIR%/texinfo.
-	goto end
-)
-
-if "%1" == "gettext" (
-	%SPHINXBUILD% -b gettext %I18NSPHINXOPTS% %BUILDDIR%/locale
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The message catalogs are in %BUILDDIR%/locale.
-	goto end
-)
-
-if "%1" == "changes" (
-	%SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.The overview file is in %BUILDDIR%/changes.
-	goto end
-)
-
-if "%1" == "linkcheck" (
-	%SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Link check complete; look for any errors in the above output ^
-or in %BUILDDIR%/linkcheck/output.txt.
-	goto end
-)
-
-if "%1" == "doctest" (
-	%SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Testing of doctests in the sources finished, look at the ^
-results in %BUILDDIR%/doctest/output.txt.
-	goto end
-)
-
-if "%1" == "xml" (
-	%SPHINXBUILD% -b xml %ALLSPHINXOPTS% %BUILDDIR%/xml
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The XML files are in %BUILDDIR%/xml.
-	goto end
-)
-
-if "%1" == "pseudoxml" (
-	%SPHINXBUILD% -b pseudoxml %ALLSPHINXOPTS% %BUILDDIR%/pseudoxml
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The pseudo-XML files are in %BUILDDIR%/pseudoxml.
-	goto end
-)
-
-:end


add copy files for evpp

add copy files for evpp

Former-commit-id: d24a49a8841c28f422b0879295263e4b9d4f7615 [formerly e0d415ad28c2116e5b822fe8c63dfe5479f36e21] [formerly fb1fac3b0be1ad1a18ba12f9b516aa0528b787e8] [formerly 502d1bbc2e81037d00a31feba70db2bc95113848]
Former-commit-id: 2b45f1bd8ae2a5a71a5f18ab7e4f7a38a88cbb4a
Former-commit-id: 2c97950e68f2e086e172a07683d4208f6230404d
Former-commit-id: bbec89ebdc211d8cd0501ce2063ac62901f95906

--- Dep/build_dep.bat
+++ Dep/build_dep.bat
@@ -67,6 +67,9 @@
 cd vsprojects
 "%VS140COMNTOOLS%..\IDE\Devenv" libevpp.sln /build "Debug|x64" /project libevpp.vcxproj
 "%VS140COMNTOOLS%..\IDE\Devenv" libevpp.sln /build "Release|x64" /project libevpp.vcxproj
+copy x64\Debug\*.lib ..\..\lib\Debug /Y
+copy x64\Release\*.lib ..\..\lib\Release /Y
+
 cd ..\..\
 REM ####################################################################################################
 REM back to root dir


ARROW-12854: [Dev][Release] Windows wheel verification script fails to download artifacts

See the passing build at https://github.com/apache/arrow/pull/10374#issuecomment-846935656

Closes #10380 from kszucs/ARROW-12854

Authored-by: Krisztián Szűcs <6bab32dc957a05a87930e779f272342e159326fa@gmail.com>
Signed-off-by: Sutou Kouhei <73218711cdd5d5c30ac66da3cc4d9d9204caf34b@clear-code.com>

--- dev/release/verify-release-candidate-wheels.bat
+++ dev/release/verify-release-candidate-wheels.bat
@@ -45,17 +45,24 @@
 git submodule update --init
 popd

+set ARROW_VERSION=%1
+set RC_NUMBER=%2
+
+python arrow\dev\release\download_rc_binaries.py %ARROW_VERSION% %RC_NUMBER% ^
+    --package_type python ^
+    --regex=".*win_amd64.*" || EXIT /B 1
+
 call deactivate

 set ARROW_TEST_DATA=%cd%\arrow\testing\data

-CALL :verify_wheel 3.6 %1 %2 m
+CALL :verify_wheel 3.6 m
 if errorlevel 1 GOTO error

-CALL :verify_wheel 3.7 %1 %2 m
+CALL :verify_wheel 3.7 m
 if errorlevel 1 GOTO error

-CALL :verify_wheel 3.8 %1 %2
+CALL :verify_wheel 3.8
 if errorlevel 1 GOTO error

 :done
@@ -73,9 +80,7 @@
 :verify_wheel

 set PY_VERSION=%1
-set ARROW_VERSION=%2
-set RC_NUMBER=%3
-set ABI_TAG=%4
+set ABI_TAG=%2
 set PY_VERSION_NO_PERIOD=%PY_VERSION:.=%

 set CONDA_ENV_PATH=%_VERIFICATION_DIR%\_verify-wheel-%PY_VERSION%
@@ -86,19 +91,14 @@

 set WHEEL_FILENAME=pyarrow-%ARROW_VERSION%-cp%PY_VERSION_NO_PERIOD%-cp%PY_VERSION_NO_PERIOD%%ABI_TAG%-win_amd64.whl

-@rem Requires GNU Wget for Windows
-wget --no-check-certificate -O %WHEEL_FILENAME% https://apache.jfrog.io/artifactory/arrow/download_file?file_path=python-rc%%2F%ARROW_VERSION%-rc%RC_NUMBER%%%2F%WHEEL_FILENAME% || EXIT /B 1
-
-pip install %WHEEL_FILENAME% || EXIT /B 1
-
-pip install -r arrow/python/requirements-test.txt || EXIT /B 1
-
-py.test %CONDA_ENV_PATH%\Lib\site-packages\pyarrow --pdb -v || EXIT /B 1
-
+pip install python-rc\%ARROW_VERSION%-rc%RC_NUMBER%\%WHEEL_FILENAME% || EXIT /B 1
 python -c "import pyarrow" || EXIT /B 1
 python -c "import pyarrow.parquet" || EXIT /B 1
 python -c "import pyarrow.flight" || EXIT /B 1
 python -c "import pyarrow.dataset" || EXIT /B 1
+
+pip install -r arrow\python\requirements-test.txt || EXIT /B 1
+pytest %CONDA_ENV_PATH%\Lib\site-packages\pyarrow --pdb -v || EXIT /B 1

 :done


add build script for dependencies, ref. issue #935, #1031

error: pathspec 'build/build-dependencies.bat' did not match any file(s) known to git

--- build/build-dependencies.bat
+++ build/build-dependencies.bat
@@ -0,0 +1,17 @@
+@echo off
+
+set configuration=Release
+set cmake_generator="Visual Studio 15 2017"
+
+:: init env for VS2017
+::call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
+
+:: build Visual Studio Project
+cmake ../dependencies -G %cmake_generator% -B../../fifengine-dependencies/build -DCMAKE_BUILD_TYPE=%configuration%
+
+:: build Dependencies
+cmake --build ../../fifengine-dependencies/build --target ALL_BUILD --config %configuration% -- /verbosity:minimal /maxcpucount
+
+echo Done.
+
+pause


update remote build script for vs2017

update remote build script for vs2017

--- build_and_copy_to_bucket.bat
+++ build_and_copy_to_bucket.bat
@@ -1,5 +1,5 @@
 SET PATH=C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin;%PATH%;
-CALL "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\VsDevCmd.bat"
+CALL "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat"
 git pull --recurse-submodules
 git submodule update
 msbuild /p:Configuration=Normal


fixed the batch file; delete a nuget packages and push any nuget package in directory.

--- DeployToNuGet.bat
+++ DeployToNuGet.bat
@@ -1,8 +1,7 @@
 nuget.exe update -self
+ECHO Y | DEL *.nupkg

 #NOTE - Using an account for factorygirl@meinershagen.net to publish to NuGet.org.  This can be changed in the future.
 nuget.exe setApiKey 57dc68f8-50fb-46fe-a99b-175c9099673e
 nuget.exe pack FactoryGirl.NET\FactoryGirl.NET.csproj
-
-#NOTE - The version for this package name will need to be updated if the Assembly Version of Assembly File Version are changed.
-nuget.exe push FactoryGirl.NET.1.0.0.0.nupkg+nuget.exe push *.nupkg