Adding a batch script for CI.

Adding a batch script for CI.

--- build.bat
+++ build.bat
@@ -0,0 +1,44 @@
+ECHO Adding Boost to path.
+IF %1.==. GOTO MissingBoost
+IF %2.==. GOTO MissingMacaroni
+goto Start
+
+:MissingBoost
+ECHO Argument 1 should be the path to the root of the Boost libraries (where BJAM and Boost Build live).
+exit 1
+
+:MissingMacaroni
+ECHO Argument 2 should be the path to the pre-existing version of Macaroni used to create this build.
+exit 1
+
+:Start
+
+SET BOOST_ROOT=%1
+SET MACARONI_ROOT=%2
+SET PATH=%PATH%;%BOOST_ROOT%
+ECHO Adding Macaroni to path.
+SET PATH=%PATH%;%MACARONI_ROOT%
+cd Main
+macaroni clean install
+If Errorlevel 0 Goto RunTests
+exit 1
+
+:RunTests
+ECHO Adding Cavatappi to path.
+SET PATH=%PATH%;%WORKSPACE%\Main\Cavatappi
+cd ..
+cd Tests
+macaroni clean install
+If Errorlevel 0 Goto RunRelease
+exit 1
+
+:RunRelease
+cd ..
+cd Release
+macaroni clean install
+If Errorlevel 0 Goto Finish
+exit 1
+
+:Finish
+ECHO All phase successful.
+exit 0


Improved build.bat

Improved build.bat

--- build.bat
+++ build.bat
@@ -5,24 +5,37 @@
 rem The contents of this file are subject to the terms and conditions defined
 rem within the file LICENSE.txt, located within this project's root directory.

+rem compiler, archiver, and runtime commands (could specify absolute paths)
+set JAVAC=javac
+set JAR=jar
+set JAVA=java
+
+rem output directory for class files
+set CLASSDIR=.\bin\classes
+
+rem application entry point
+set MAINCLASS=org.greydamian.netbatjava.Netbat
+
 set SRC=.\src\org\greydamian\netbatjava\Netbat.java
 set OUT=.\bin\netbat.jar

-set MAINCLASS=org.greydamian.netbatjava.Netbat
+rem extract bin directory from output path (dirname %OUT%)
+for %%f in (%OUT%) do set BINDIR=%%~dpf

-rem create output directory
-mkdir .\bin\classes
+rem create output directories
+mkdir %BINDIR%
+mkdir %CLASSDIR%

 rem compile java source code
-javac -d .\bin\classes %SRC%
+%JAVAC% -d %CLASSDIR% %SRC%

 rem create executable jar file
-jar cfe %OUT% %MAINCLASS% -C .\bin\classes\ .
+%JAR% cfe %OUT% %MAINCLASS% -C %CLASSDIR% .

 rem remove compiled class files
-rmdir /q /s .\bin\classes
+rmdir /q /s %CLASSDIR%

 rem create execution script
 echo @echo off >.\bin\netbat-java.bat
 echo. >>.\bin\netbat-java.bat
-echo java -jar %%~dp0.\netbat.jar %%* >>.\bin\netbat-java.bat
+echo %JAVA% -jar %%~dp0.\netbat.jar %%* >>.\bin\netbat-java.bat


build script looks solid now....

build script looks solid now....

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

 REM cleanup...

-del /q /s staging
-del /q /s nuget
+rd /q /s staging
+rd /q /s nuget

 pause


Added build batch file

Added build batch file

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

--- build.bat
+++ build.bat
@@ -0,0 +1,2 @@
+IslandScript asteroids.is asteroids.js
+"C:\Program Files (x86)\Google\Chrome\Application\chrome" asteroids.html


fix: include standard classpath

fix: include standard classpath

git-svn-id: 102839466c3b40dd9c7e25c0a1a6d26afc40150a@193301 13f79535-47bb-0310-9956-ffa450edef68

--- build.bat
+++ build.bat
@@ -12,7 +12,7 @@

 echo Starting Ant...

-%JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath %LOCALCLASSPATH% org.apache.tools.ant.Main %1 %2 %3 %4 %5
+%JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath %LOCALCLASSPATH%;%CLASSPATH% org.apache.tools.ant.Main %1 %2 %3 %4 %5

 goto end


build

build

--- build.bat
+++ build.bat
@@ -1,4 +1,8 @@
 call %NuGet% install scriptcs -Version 0.17.1 -Source https://www.myget.org/F/scriptcsnightly/api/v3/index.json
+
+dir
+
+dir packages

 packages\scriptcs.0.17.1\tools\scriptcs.exe -V


Use fsi from FSharp.Compiler.Tools

Use fsi from FSharp.Compiler.Tools

Avoids issues due to different compiler versions installed on the system.

--- build.cmd
+++ build.cmd
@@ -2,10 +2,7 @@
 REM NOTE: This file was auto-generated with `IB.exe prepare` from `IntelliFactory.Build`.

 setlocal
-set PATH=%PATH%;%ProgramFiles(x86)%\Microsoft SDKs\F#\3.1\Framework\v4.0
-set PATH=%PATH%;%ProgramFiles(x86)%\Microsoft SDKs\F#\3.0\Framework\v4.0
-set PATH=%PATH%;%ProgramFiles%\Microsoft SDKs\F#\3.1\Framework\v4.0
-set PATH=%PATH%;%ProgramFiles%\Microsoft SDKs\F#\3.0\Framework\v4.0
 set PATH=%PATH%;tools\NuGet
 nuget install IntelliFactory.Build -nocache -pre -ExcludeVersion -o tools\packages
-fsi.exe --exec build.fsx %*
+nuget install FSharp.Compiler.Tools -nocache -version 4.0.1.21 -excludeVersion -o tools/packages
+tools\packages\FSharp.Compiler.Tools\tools\fsi.exe --exec build.fsx %*


Do not use deprecated `dnvm -x86` switch

--- build.cmd
+++ build.cmd
@@ -20,9 +20,9 @@
 .nuget\NuGet.exe install Sake -version 0.2 -o packages -ExcludeVersion

 IF "%SKIP_DNX_INSTALL%"=="1" goto run
-CALL packages\KoreBuild\build\dnvm upgrade -runtime CLR -x86
-CALL packages\KoreBuild\build\dnvm install default -runtime CoreCLR -x86
+CALL packages\KoreBuild\build\dnvm upgrade -runtime CLR -arch x86
+CALL packages\KoreBuild\build\dnvm install default -runtime CoreCLR -arch x86

 :run
-CALL packages\KoreBuild\build\dnvm use default -runtime CLR -x86
+CALL packages\KoreBuild\build\dnvm use default -runtime CLR -arch x86
 packages\Sake\tools\Sake.exe -I packages\KoreBuild\build -f makefile.shade %*


Temporarily

Temporarily

--- build.cmd
+++ build.cmd
@@ -3,4 +3,4 @@
 REM set node environment
 call "%ProgramFiles%\nodejs\nodevars.bat"
 REM -------------------------
-grunt --force
+REM grunt --force


DBG packaging #3

DBG packaging #3

--- build.cmd
+++ build.cmd
@@ -2,6 +2,6 @@
 cls
 set config=%1
 if "%config%" == "" (
-   set config=release
+   set config=Release
 )
 msbuild Solution/.build\Build.proj /p:Configuration="%config%" /t:RunAll /v:M /fl /flp:LogFile=msbuild.log;Verbosity=Diagnostic /nr:false


Build: Re-adding version from appveyor

Build: Re-adding version from appveyor

--- build.cmd
+++ build.cmd
@@ -22,6 +22,15 @@
 )

+REM run only if gitversion has ran i.e. from appveyor
+ if not "%GitVersion_NuGetVersion%" == "" (
+     cd NOpenType
+     ECHO Setting version number to "%GitVersion_NuGetVersion%"
+     dotnet version "%GitVersion_NuGetVersion%"
+     cd ../
+     if not "%errorlevel%"=="0" goto failure
+ )
+
 ECHO Building nuget packages
 if not "%GitVersion_NuGetVersion%" == "" (
 	dotnet pack -c Release ./NOpenType/project.json


Disable building coreclr in microbuild

Disable building coreclr in microbuild

--- build.cmd
+++ build.cmd
@@ -102,7 +102,7 @@
 if /i '%ARG%' == 'microbuild' (
     set BUILD_PROTO=1
     set BUILD_NET40=1
-    set BUILD_CORECLR=1
+    set BUILD_CORECLR=0
     set BUILD_PORTABLE=1
     set BUILD_VS=1
     set BUILD_SETUP=1


Added git-sync.bat to allow syncing of forked repositories

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

--- Windows/git-sync.bat
+++ Windows/git-sync.bat
@@ -0,0 +1,131 @@
+@echo off
+
+    rem Synchronizes the changes to upstream repository (can be overridden)
+    rem
+    rem Source: https://help.github.com/articles/syncing-a-fork/
+
+    setlocal ENABLEDELAYEDEXPANSION
+
+    set THIS=%~nx0
+    set GS_REMOTE_DEFAULT=upstream
+
+    if /i "%~1" == "-h" goto usage
+    if /i "%~1" == "-help" goto usage
+    if /i "%~1" == "--help" goto usage
+    if /i "%~1" == "-?" goto usage
+    goto start
+
+:usage
+    echo.
+    echo usage: %THIS% [branch [remote]]
+    echo.
+    echo        branch - Branch to synchronize to ^(default is currently selected branch^)
+    echo        remote - Remote to synchronize to ^(default is "%GS_REMOTE_DEFAULT%"^)
+    echo.
+    exit /B 1
+
+:start
+    set GS_BRANCH=%~1
+    rem NOTE: if branch is not specified, then we accept the currently selected branch
+    set GS_REMOTE=%~2
+    if "%GS_REMOTE%" == "" set GS_REMOTE=%GS_REMOTE_DEFAULT%
+
+    if not exist ".git" (
+        echo.
+        echo FAIL: Current folder does not belong to a git repository
+        echo.
+        exit /B 1
+    )
+
+    echo.
+    echo Syncing checking with '%GS_REMOTE%' repository
+    echo.
+
+    set GS_VALID=0
+    echo Checking remotes...
+    for /F "tokens=1-4 delims= " %%A in ('git remote show') do (
+        if "%%A" == "!GS_REMOTE!" (
+            set GS_VALID=1
+        )
+    )
+
+    if "%GS_VALID%" == "0" (
+        echo.
+        echo FAIL: Remote "%GS_REMOTE%" does not exist
+        echo.
+        exit /B 1
+    )
+
+    set GS_VALID=0
+    set GS_BRANCH_SELECTED=0
+    set GS_PREVIOUS_BRANCH=
+    echo Checking branches...
+    for /F "tokens=1-4 delims= " %%A in ('git branch --list') do (
+        if "%%A" == "*" (
+            set GS_PREVIOUS_BRANCH=%%B
+            if "!GS_BRANCH!" == "" (
+                echo Using default branch '%%B'
+                set GS_BRANCH=%%B
+                set GS_VALID=1
+                set GS_BRANCH_SELECTED=1
+            ) else (
+                if "!GS_BRANCH!" == "%%B" (
+                    set GS_VALID=1
+                    set GS_BRANCH_SELECTED=1
+                )
+            )
+        ) else (
+            if not "!GS_BRANCH!" == "" (
+                if "!GS_BRANCH!" == "%%A" set GS_VALID=1
+            )
+        )
+    )
+
+    if "%GS_VALID%" == "0" (
+        echo.
+        if not "%GS_BRANCH%" == "" (
+            echo FAIL: Branch "%GS_BRANCH%" does not exist
+        ) else (
+            echo FAIL: Default branch cannot be identified
+        )
+        echo.
+        exit /B 1
+    )
+
+    echo Fetching "%GS_REMOTE%" information...
+    (git fetch "%GS_REMOTE%") || (
+        echo.
+        echo FAIL: 'git fetch "%GS_REMOTE%"' failed.
+        echo.
+        exit /B 1
+    )
+
+    if "%GS_BRANCH_SELECTED%" == "0" (
+        echo Checking out "%GS_BRANCH%"...
+        (git checkout "%GS_BRANCH%") || (
+            echo.
+            echo FAIL: 'git fetch "%GS_BRANCH%"' failed.
+            echo.
+            exit /B 1
+        )
+    )
+
+    echo Merging "%GS_REMOTE%" "%GS_BRANCH%"...
+    (git merge "%GS_REMOTE%/%GS_BRANCH%") || (
+        echo.
+        echo FAIL: 'git merge "%GS_REMOTE%/%GS_BRANCH%"' failed.
+        echo.
+        exit /B 1
+    )
+
+    if not "%GS_BRANCH%" == "%GS_PREVIOUS_BRANCH%" (
+        echo.
+        echo NOTE: Branch '%GS_BRANCH%' is checked out ^(previously '%GS_PREVIOUS_BRANCH%' was^)
+        echo.
+    )
+
+    endlocal
+
+    echo.
+    echo Done
+    echo.


Added `-mgr-up` key for updating manager to version from '-dxp-version'. Also fixes `-pe-exp-list` when package does not exist.

--- Wizard/installer.bat
+++ Wizard/installer.bat
@@ -32,13 +32,14 @@
 set "gMsbPath="
 set "pkgLink="
 set "peExpList="
+set "mgrUp="

 set ERROR_SUCCESS=0
 set ERROR_FILE_NOT_FOUND=2
 set ERROR_PATH_NOT_FOUND=3

 set "args=%* "
-
+set "fManager=%~dpnx0"

 :: - - -
 :: Help command
@@ -88,6 +89,7 @@
 echo  -packages {path}      - A common directory for packages.
 echo  -server {url}         - Url for searching remote packages.
 echo  -pkg-link {uri}       - Direct link to package from the source via specified URI.
+echo  -mgr-up               - Updates this manager to version from '-dxp-version'.
 echo  -wz-target {path}     - Relative path to .target file of the Wizard.
 echo  -pe-exp-list {module} - To list all available exports from PE32/PE32+ module.
 echo  -eng                  - Try to use english language for all build messages.
@@ -124,7 +126,7 @@
     goto usage
 )

-set /a idx=1 & set cmdMax=17
+set /a idx=1 & set cmdMax=18
 :loopargs

     if "!args:~0,8!"=="-action " (
@@ -160,7 +162,6 @@
     if "!args:~0,13!"=="-dxp-version " (
         call :popars %1 & shift
         set dxpVersion=%2
-        echo Selected new DllExport version: !dxpVersion!
         call :popars %2 & shift
     )

@@ -186,6 +187,11 @@
         call :popars %1 & shift
         set pkgLink=%2
         call :popars %2 & shift
+    )
+
+    if "!args:~0,8!"=="-mgr-up " (
+        call :popars %1 & shift
+        set /a mgrUp=1
     )

     if "!args:~0,11!"=="-wz-target " (
@@ -260,11 +266,6 @@
     set "wPkgPath=!wPkgPath!.!dxpVersion!"
 )

-if defined peExpList (
-    !wPkgPath!\\tools\\PeViewer.exe -list -pemodule "!peExpList!"
-    exit /B %ERRORLEVEL%
-)
-
 set dxpTarget="!wPkgPath!\\!tWizard!"
 call :dbgprint "dxpTarget = '!dxpTarget!'"

@@ -293,6 +294,11 @@
     ) else (
         call :gntpoint !_gntC! >nul
     )
+)
+
+if defined peExpList (
+    !wPkgPath!\\tools\\PeViewer.exe -list -pemodule "!peExpList!"
+    exit /B %ERRORLEVEL%
 )

 if "!buildInfo!"=="1" (
@@ -343,6 +349,10 @@
 call :dbgprint "Target: !xMSBuild! !dxpTarget!"

 !xMSBuild! /nologo /v:m /m:4 !dxpTarget!
+
+if defined mgrUp (
+    (copy /B/Y "!wPkgPath!\\DllExport.bat" "%fManager%" > nul) & echo Manager has been updated. & exit /B 0
+)
 exit /B 0

 :: - - -


Created release 2015-04-14.

Created release 2015-04-14.

--- create-release.bat
+++ create-release.bat
@@ -14,7 +14,7 @@
 REM -- Create lib
 lib\utils\echoc 2 Creating release lib...
 mkdir %release_dir%\lib\
-lib\ILMerge\ILMerge.exe /v4 /out:%release_dir%\lib\solumlib.dll /wildcards bin\solum.*.dll bin\solum.exe bin\RaptorDB*.dll bin\Handlebars.dll bin\Newtonsoft.Json.dll bin\NLog.dll bin\System.Threading.Tasks.Dataflow.dll
+lib\ILMerge\ILMerge.exe /v4 /out:%release_dir%\lib\solumlib.dll /wildcards bin\solum.*.dll bin\solum.exe bin\RaptorDB*.dll bin\Handlebars.dll bin\System.Threading.Tasks.Dataflow.dll

 REM -- Display git status
 git status


Add many new entries

Add many new entries

--- resources/stage_2_de-bloat/programs_to_target_by_GUID.bat
+++ resources/stage_2_de-bloat/programs_to_target_by_GUID.bat
@@ -93,6 +93,9 @@
 :: DisableMSDefender
 start /wait msiexec /x {74FE39A0-FB76-47CD-84BA-91E2BBB17EF2} /qn /norestart

+:: Dropbox 15 GB (advertisement)
+start /wait msiexec /x {597A58EC-42D6-4940-8739-FB94491B013C} /qn /norestart
+
 :: DTS Sound
 start /wait msiexec /x {793B70D2-41E9-46AB-9DDC-B34C99D07DB5} /qn /norestart

@@ -152,6 +155,12 @@
 start /wait msiexec /x {1B444AF9-1DBE-4884-8F35-969BEFCF69A8} /qn /norestart
 start /wait msiexec /x {7D84E343-A23D-451C-B123-0195B2D903A6} /qn /norestart

+:: Intel(R) Trusted Execution Engine
+start /wait msiexec /x {E14B99BA-3282-4990-8BD7-20FD584A217F} /qn /norestart
+
+:: Intel(R) Trusted Execution Engine Driver
+start /wait msiexec /x {4021582A-4C27-4482-A287-5D49B80DB48F} /qn /norestart
+
 :: Intel(R) ME UninstallLegacy
 start /wait msiexec /x {FD37351B-3074-4652-8188-1B3FB784EC4E} /qn /norestart
 start /wait msiexec /x {C9A90201-B2DE-44D0-A618-EF8C9060D318} /qn /norestart
@@ -178,13 +187,15 @@

 :: Lenovo Metrics Collector SDK
 start /wait msiexec /x {DDAA788F-52E6-44EA-ADB8-92837B11BF26} /qn /norestart
+start /wait msiexec /x {C2B5B5B0-2545-4E94-B4BA-548D4BF0B196} /qn /norestart

 :: Lenovo Patch Utility
 start /wait MsiExec /X {C6FB6B4A-1378-4CD3-9CD3-42BA69FCBD43} /qn /norestart

-:: Lenovo Reach
+:: Lenovo Reach and REACHit
 start /wait msiexec /x {3245D8C8-7FE0-4FD4-B04B-2720A333D592} /qn /norestart
 start /wait msiexec /x {0B5E0E89-4BCA-4035-BBA1-D1439724B6E2} /qn /norestart
+start /wait msiexec /x {4532E4C5-C84D-4040-A044-ECFCC5C6995B} /qn /norestart

 :: Lenovo Registration
 start /wait msiexec /x {6707C034-ED6B-4B6A-B21F-969B3606FBDE} /qn /norestart
@@ -196,6 +207,7 @@
 start /wait msiexec /x {63942F7E-3646-45EC-B8A9-EAC40FEB66DB} /qn /norestart
 start /wait msiexec /x {13BD494D-9ACD-420B-A291-E145DED92EF6} /qn /norestart
 start /wait msiexec /x {4C2B6F96-3AED-4E3F-8DCE-917863D1E6B1} /qn /norestart
+start /wait msiexec /x {1CA74803-5CB2-4C03-BDBE-061EDC81CC7F} /qn /norestart

 :: Lenovo System Update
 start /wait msiexec /x {25C64847-B900-48AD-A164-1B4F9B774650} /qn /norestart


Add batch file that generates the local directory structure to allow the new AVR32 UC3 demo to be build using an Eclipse managed make project.

error: pathspec 'Demo/AVR32_UC3A_GCC/CreateProjectDirectoryStructure.bat' did not match any file(s) known to git

--- Demo/AVR32_UC3A_GCC/CreateProjectDirectoryStructure.bat
+++ Demo/AVR32_UC3A_GCC/CreateProjectDirectoryStructure.bat
@@ -0,0 +1,48 @@
+REM This file should be executed from the command line prior to the first
+REM build.  It will be necessary to refresh the Eclipse project once the
+REM .bat file has been executed (normally just press F5 to refresh).
+
+REM Copies all the required files from their location within the standard
+REM FreeRTOS directory structure to under the Eclipse project directory.
+REM This permits the Eclipse project to be used in 'managed' mode and without
+REM having to setup any linked resources.
+
+REM Have the files already been copied?
+IF EXIST FreeRTOS Goto END
+
+	REM Create the required directory structure.
+	MD FreeRTOS
+	MD FreeRTOS\include
+	MD FreeRTOS\portable\GCC\AVR32_UC3
+	MD FreeRTOS\portable\MemMang
+	MD Common_Demo_Tasks
+	MD Common_Demo_Tasks\Minimal
+	MD Common_Demo_Tasks\include
+
+	REM Copy the core kernel files.
+	copy ..\..\Source\*.* FreeRTOS
+
+	REM Copy the common header files
+	copy ..\..\Source\include\*.* FreeRTOS\include
+
+	REM Copy the portable layer files
+	copy ..\..\Source\portable\GCC\AVR32_UC3\*.* FreeRTOS\portable\GCC\AVR32_UC3
+
+	REM Copy the basic memory allocation files
+	copy ..\..\Source\portable\MemMang\heap_3.c FreeRTOS\portable\MemMang
+
+	REM Copy the files that define the common demo tasks.
+	copy ..\common\Minimal\BlockQ.c Common_Demo_Tasks\Minimal
+	copy ..\common\Minimal\comtest.c Common_Demo_Tasks\Minimal
+	copy ..\common\Minimal\death.c Common_Demo_Tasks\Minimal
+	copy ..\common\Minimal\dynamic.c Common_Demo_Tasks\Minimal
+	copy ..\common\Minimal\flash.c Common_Demo_Tasks\Minimal
+	copy ..\common\Minimal\flop.c Common_Demo_Tasks\Minimal
+	copy ..\common\Minimal\integer.c Common_Demo_Tasks\Minimal
+	copy ..\common\Minimal\PollQ.c Common_Demo_Tasks\Minimal
+	copy ..\common\Minimal\semtest.c Common_Demo_Tasks\Minimal
+
+	REM Copy the common demo file headers.
+	copy ..\common\include\*.* Common_Demo_Tasks\include
+
+: END


Made exrun.bat aware of new vc200x subdirectories

--- exrun.bat
+++ exrun.bat
@@ -2,7 +2,9 @@
 set PROG=%1
 if not exist %PROG% set PROG=%1.exe
 if not exist %PROG% set PROG=Debug\%1
-if not exist %PROG% set PROG=Debug\%1.exe
+if not exist %PROG% set PROG=vc2008\Debug\%1.exe
+if not exist %PROG% set PROG=vc2005\Debug\%1.exe
+if not exist %PROG% set PROG=vc2003\Debug\%1.exe
 shift

 set PATH=Debug;%PATH%


Change script for gen pasrer

Change script for gen pasrer

--- src/RNGLR.EBNFParser.Test/gen_parser.cmd
+++ src/RNGLR.EBNFParser.Test/gen_parser.cmd
@@ -1,4 +1,3 @@
 del log.txt

-..\..\Bin\Release\v40\YC.YaccConstructor.exe -i .\..\..\..\YC.Abstract.SQL\src\TSQL\mssqlNonAbstract.yrd -c Linearize -g "RNGLR.Generator -table LALR -o RNGLR.sql.yrd.fs"
-..\..\Bin\Release\v40\YC.YaccConstructor.exe -i .\..\..\..\YC.Abstract.SQL\src\TSQL\mssqlNonAbstract.yrd -c Linearize -g "RNGLR.EBNFGenerator -table LALR -o RNGLREBNF.sql.yrd.fs"+..\..\Bin\Release\v40\YC.YaccConstructor.exe -i .\..\..\..\YC.Abstract.SQL\src\Grammars\TSQL\mssqlNonAbstract.yrd  -c Linearize -g "RNGLR.EBNFGenerator -table LALR -o RNGLREBNF.sql.yrd.fs"


wikipedia batch file

wikipedia batch file

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

--- rnw-write.bat
+++ rnw-write.bat
@@ -0,0 +1 @@
+rnw.bat e:\wikipedia\wikipedia.json 2000000 2000000


ADAP-50: added setRdmUrl and setAssetesUrl

--- release/run.bat
+++ release/run.bat
@@ -1 +1 @@
-java -cp openfin-desktop-java-example-5.44.2.3.jar;openfin-desktop-java-adapter-5.44.2.3.jar;TableLayout-20050920.jar;jna-4.1.0.jar;jna-platform-4.1.0.jar;json-20140107.jar;slf4j-api-1.7.5.jar;slf4j-jdk14-1.6.1.jar -Djava.util.logging.config.file=logging.properties -Dcom.openfin.temp=%LocalAppData%\OpenFin\temp  com.openfin.desktop.demo.OpenFinDesktopDemo
+java -cp openfin-desktop-java-example-5.44.2.3.jar;openfin-desktop-java-adapter-5.44.2.4.jar;TableLayout-20050920.jar;jna-4.1.0.jar;jna-platform-4.1.0.jar;json-20140107.jar;slf4j-api-1.7.5.jar;slf4j-jdk14-1.6.1.jar -Djava.util.logging.config.file=logging.properties -Dcom.openfin.temp=%LocalAppData%\OpenFin\temp  com.openfin.desktop.demo.OpenFinDesktopDemo


next iteration

next iteration

Signed-off-by: Kenneth Reitz <b1c1d8736f20db3fb6c1c66bb1455ed43909f0d8@kennethreitz.org>

--- run-tests.bat
+++ run-tests.bat
@@ -1,4 +1,4 @@
-rem imdisk -P -a -s 9604515b -m R:-p "/FS:NTFS /Y"
+rem imdisk  -a -s 964515b -m R: -p "/FS:NTFS /Y"

 virtualenv R:\.venv
 R:\.venv\Scripts\pip install -e . --upgrade --upgrade-strategy=only-if-needed


Basic script to download Drupal files

Basic script to download Drupal files

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

--- install/drupal.bat
+++ install/drupal.bat
@@ -0,0 +1,7 @@
+cd \home\site
+echo $client = new-object System.Net.WebClient > download.ps1
+echo $client.DownloadFile("https://ftp.drupal.org/files/projects/drupal-8.1.8.zip","drupal.zip") >> download.ps1
+powershell -file download.ps1
+unzip ..\drupal.zip
+cd wwwroot
+unzip ..\drupal.zip


Adding simple script to install Gogs as a Windows service.

error: pathspec 'scripts/windows/install-as-service.bat' did not match any file(s) known to git

--- scripts/windows/install-as-service.bat
+++ scripts/windows/install-as-service.bat
@@ -0,0 +1,25 @@
+@ECHO off
+
+:: This script relies on nssm.exe to work.
+:: Please, download it and make it available on the system path,
+:: or copy it to the gogs path.
+:: https://nssm.cc/download
+:: This script itself should run in the gogs path, too.
+:: In case of startup failure, please read carefully the log file.
+:: Make sure Gogs work running manually with "gogs web" before running
+:: this script.
+:: And, please, read carefully the installation docs first:
+:: http://gogs.io/docs/installation
+:: To unistall the service, run "nssm remove gogs" and restart Windows.
+
+:: Set the folder where you extracted Gogs. Omit the last slash.
+SET gogspath=C:\gogs
+
+nssm install gogs "%gogspath%\gogs.exe"
+nssm set gogs AppParameters "web"
+nssm set gogs Description "A painless self-hosted Git service."
+nssm set gogs DisplayName "Gogs - Go Git Service"
+nssm set gogs Start SERVICE_DELAYED_AUTO_START
+nssm set gogs AppStdout "%gogspath%\gogs.log"
+nssm start gogs
+pause


Delete cea-workflow.bat

Delete cea-workflow.bat

--- bin/cea-workflow.bat
+++ bin/cea-workflow.bat
@@ -1,112 +0,0 @@
-rem cea-workflow.bat
-rem run a (complete) cea workflow for a given scenario
-
-rem configure variables used for the simulation
-if not defined CEA-SCENARIO (
-    echo please set CEA-SCENARIO first
-    exit /b 1
-)
-
-rem run each script, break on error
-
-rem copy-default-databases
-echo %date% %time% copy-default-databases begin >> %CEA-SCENARIO%\cea-workflow.log
-cea copy-default-databases --scenario %CEA-SCENARIO%
-if %errorlevel% neq 0 exit /b %errorlevel%
-echo %date% %time% copy-default-databases end >> %CEA-SCENARIO%\cea-workflow.log
-
-rem data-helper
-echo %date% %time% data-helper begin >> %CEA-SCENARIO%\cea-workflow.log
-cea data-helper
-if %errorlevel% neq 0 exit /b %errorlevel%
-echo %date% %time% data-helper end >> %CEA-SCENARIO%\cea-workflow.log
-
-rem radiation
-echo %date% %time% radiation begin >> %CEA-SCENARIO%\cea-workflow.log
-rem cea radiation
-if %errorlevel% neq 0 exit /b %errorlevel%
-echo %date% %time% radiation end >> %CEA-SCENARIO%\cea-workflow.log
-
-rem demand
-echo %date% %time% demand begin >> %CEA-SCENARIO%\cea-workflow.log
-cea demand --multiprocessing on
-if %errorlevel% neq 0 exit /b %errorlevel%
-echo %date% %time% demand end >> %CEA-SCENARIO%\cea-workflow.log
-
-rem emissions
-echo %date% %time% emissions begin >> %CEA-SCENARIO%\cea-workflow.log
-cea emissions
-if %errorlevel% neq 0 exit /b %errorlevel%
-echo %date% %time% emissions end >> %CEA-SCENARIO%\cea-workflow.log
-
-rem network-layout
-echo %date% %time% network-layout begin >> %CEA-SCENARIO%\cea-workflow.log
-cea network-layout
-if %errorlevel% neq 0 exit /b %errorlevel%
-echo %date% %time% network-layout end >> %CEA-SCENARIO%\cea-workflow.log
-
-rem operation-costs
-echo %date% %time% operation-costs begin >> %CEA-SCENARIO%\cea-workflow.log
-cea operation-costs
-if %errorlevel% neq 0 exit /b %errorlevel%
-echo %date% %time% operation-costs end >> %CEA-SCENARIO%\cea-workflow.log
-
-rem photovoltaic
-echo %date% %time% photovoltaic begin >> %CEA-SCENARIO%\cea-workflow.log
-cea photovoltaic
-if %errorlevel% neq 0 exit /b %errorlevel%
-echo %date% %time% photovoltaic end >> %CEA-SCENARIO%\cea-workflow.log
-
-rem solar-collector
-echo %date% %time% solar-collector FP begin >> %CEA-SCENARIO%\cea-workflow.log
-cea solar-collector --type-scpanel FP
-if %errorlevel% neq 0 exit /b %errorlevel%
-echo %date% %time% solar-collector FP end >> %CEA-SCENARIO%\cea-workflow.log
-
-rem solar-collector
-echo %date% %time% solar-collector ET begin >> %CEA-SCENARIO%\cea-workflow.log
-cea solar-collector --type-scpanel ET
-if %errorlevel% neq 0 exit /b %errorlevel%
-echo %date% %time% solar-collector ET end >> %CEA-SCENARIO%\cea-workflow.log
-
-rem photovoltaic-thermal
-echo %date% %time% photovoltaic-thermal begin >> %CEA-SCENARIO%\cea-workflow.log
-cea photovoltaic-thermal
-if %errorlevel% neq 0 exit /b %errorlevel%
-echo %date% %time% photovoltaic-thermal end >> %CEA-SCENARIO%\cea-workflow.log
-
-rem sewage-potential
-echo %date% %time% sewage-potential begin >> %CEA-SCENARIO%\cea-workflow.log
-cea sewage-potential
-if %errorlevel% neq 0 exit /b %errorlevel%
-echo %date% %time% sewage-potential end >> %CEA-SCENARIO%\cea-workflow.log
-
-rem lake-potential
-echo %date% %time% lake-potential begin >> %CEA-SCENARIO%\cea-workflow.log
-cea lake-potential
-if %errorlevel% neq 0 exit /b %errorlevel%
-echo %date% %time% lake-potential end >> %CEA-SCENARIO%\cea-workflow.log
-
-rem thermal-network-matrix
-echo %date% %time% thermal-network-matrix begin >> %CEA-SCENARIO%\cea-workflow.log
-cea thermal-network-matrix
-if %errorlevel% neq 0 exit /b %errorlevel%
-echo %date% %time% thermal-network-matrix end >> %CEA-SCENARIO%\cea-workflow.log
-
-rem decentralized
-echo %date% %time% decentralized begin >> %CEA-SCENARIO%\cea-workflow.log
-cea decentralized
-if %errorlevel% neq 0 exit /b %errorlevel%
-echo %date% %time% decentralized end >> %CEA-SCENARIO%\cea-workflow.log
-
-rem optimization
-echo %date% %time% optimization begin >> %CEA-SCENARIO%\cea-workflow.log
-cea optimization --initialind 2 --ngen 2
-if %errorlevel% neq 0 exit /b %errorlevel%
-echo %date% %time% optimization end >> %CEA-SCENARIO%\cea-workflow.log
-
-rem plots
-echo %date% %time% plots begin >> %CEA-SCENARIO%\cea-workflow.log
-cea plots
-if %errorlevel% neq 0 exit /b %errorlevel%
-echo %date% %time% plots end >> %CEA-SCENARIO%\cea-workflow.log


Learning bat file

Learning bat file

git-svn-id: 27916816d6cfa57849e9a885196bf7392b80e1ac@10095 28e8926c-6b08-0410-baaa-805c5e19b8d6

--- bin/windows/init.bat
+++ bin/windows/init.bat
@@ -37,7 +37,7 @@
 	FOR %%j IN ("%PA_SCHEDULER%\lib\common\*.jar") DO SET JARS=!JARS!;%%j
 ) ELSE (
 	SET JARS=!JARS!;%PA_SCHEDULER%\dist\lib\ProActive.jar
-	FOR %%j IN %ADD_JARS% DO SET JARS=!JARS!;%PA_SCHEDULER%\dist\lib\%%j
+	FOR %%j IN (%ADD_JARS%) DO SET JARS=!JARS!;%PA_SCHEDULER%\dist\lib\%%j
 )

 SET CLASSPATH=%CLASSPATH%;%JARS%


Removed unactionable text

Removed unactionable text

BUG=
R=sergeyberezin@chromium.org

Review URL: https://codereview.chromium.org/1120203005

git-svn-id: 239fca9b83025a0b6f823aeeca02ba5be3d9fd76@295121 0039d316-1c4b-4281-b951-d872f2087c98

--- slave/run_slave.bat
+++ slave/run_slave.bat
@@ -3,7 +3,6 @@
 title Build slave
 if not exist %~dp0..\..\depot_tools\. (
   echo You must put a copy of depot_tools in %~dp0..\depot_tools
-  echo Did you read the instructions carefully??
   goto :EOF
 )
 set PATH=%~dp0..\..\depot_tools;%PATH%


no message

no message

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

--- build-msvc-debug.bat
+++ build-msvc-debug.bat
@@ -0,0 +1 @@
+scons withMSVC=1 custom=custom-msvc-debug.py useJack=0 buildCsoundVST=1 buildvst4cs=1 buildInterfaces=1 buildCsoundAC=1 buildJavaWrapper=1 useOSC=1 buildPythonOpcodes=1 buildLoris=0 buildStkOpcodes=1 buildWinsound=1 noFLTKThreads=0 noDebug=0 buildPDClass=1 buildVirtual=1 buildCsound5GUI=1 buildTclcsound=1 buildLua=1 useDouble=1 dynamicCsoundLibrary=1 buildCSEditor=1 %1 %2 %3 %4


Upgrading Bazel Windows RBE to 0.26 too.

--- tools/internal_ci/windows/bazel_rbe.bat
+++ tools/internal_ci/windows/bazel_rbe.bat
@@ -14,7 +14,7 @@

 @rem TODO(jtattermusch): make this generate less output
 @rem TODO(jtattermusch): use tools/bazel script to keep the versions in sync
-choco install bazel -y --version 0.24.1 --limit-output
+choco install bazel -y --version 0.26.0 --limit-output

 cd github/grpc
 set PATH=C:\tools\msys64\usr\bin;C:\Python27;%PATH%


Update in case people have 64bit git installed

--- build/InstallGit.cmd
+++ build/InstallGit.cmd
@@ -6,14 +6,14 @@
 GOTO :EOF

 :trydefaultpath
-path=C:\Program Files (x86)\Git\cmd;%PATH%
+path=C:\Program Files (x86)\Git\cmd;C:\Program Files\Git\cmd;%PATH%
 git.exe 2> NUL
 if %ERRORLEVEL%==9009 GOTO :showerror
 GOTO :EOF

 :showerror
 path=%oldPath%
-ECHO Git is not in your path and could not be found in C:\Program Files (x86)\Git\bin
+ECHO Git is not in your path and could not be found in C:\Program Files (x86)\Git\cmd
 set /p install=" Do you want to install Git through Chocolatey [y/n]? " %=%
 if %install%==y (
 	GOTO :installgit


Update kafka-run-class.bat (#6291)

Update kafka-run-class.bat (#6291)

Removed quotes from LogDir variable generation as there are additional quotes in Line 127.
This caused problems when those batch files are invoked from a path that contains space characters.

--- bin/windows/kafka-run-class.bat
+++ bin/windows/kafka-run-class.bat
@@ -111,7 +111,7 @@

 rem Log directory to use
 IF ["%LOG_DIR%"] EQU [""] (
-    set LOG_DIR="%BASE_DIR%/logs"
+    set LOG_DIR=%BASE_DIR%/logs
 )

 rem Log4j settings


Create superfind.bat

Create superfind.bat

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

--- superfind.bat
+++ superfind.bat
@@ -0,0 +1,11 @@
+@echo off
+
+::Created and tested by falconflame a.k.a dr. F
+::Just a simple script to find specific file with batch
+
+::Remember the model --> for i in (set) do (command)
+::Change set to any extension you like
+for %%f in (mp4 mkv avi mpeg) do @attrib /s /d *%%f* | @find /i "love"  ::Change love to spesific word
+
+::Any comments or ideas? You can contact me at: flame_axoneme@yahoo.fr or flame.axoneme@gmail.com
+::Or you could visit my blog: http://fajarichwannoor.wordpress.com


Fix tests not being called (#128)

Fix tests not being called (#128)

--- customer_testing.bat
+++ customer_testing.bat
@@ -8,6 +8,6 @@
 REM Remember to also update the Posix version (customer_testing.sh) when
 REM changing this file.

-cd packages/animations
-flutter analyze
-flutter test
+CD packages/animations
+CALL flutter analyze
+CALL flutter test


Can't handle "help info" this way. Ignore for now.

git-svn-id: 88bbbf8f5798dc67c7e8670b837dd03176c2df4b@317 453b2852-3d18-0410-866e-d09c099698e4

--- test/help.cmd
+++ test/help.cmd
@@ -7,7 +7,6 @@
 ### ***   help commands         ***
 ### *******************************
 help foo
-help info
 # FIXME - the below should work
 # help
 # help step


update clean tool

update clean tool

--- tools/clean.cmd
+++ tools/clean.cmd
@@ -1,4 +1,4 @@
-del /s .\..\src\*.js
-del /s .\..\src\*.js.map
-del /s .\..\examples\*.html
-del /s .\..build\*.js
+del /s ..\build\*.js
+del /s ..\src\*.js
+del /s ..\src\*.js.map
+del /s ..\examples\*.html


Update update.bat - Update the Game Engine in Ring Android-LibSDL Version.

--- android/ringlibsdl/update_ring/update.bat
+++ android/ringlibsdl/update_ring/update.bat
@@ -4,4 +4,11 @@
 copy ..\..\..\src\*.c ..\project\jni\ring\src\
 copy ring_ext.c ..\project\jni\ring\src\
 copy ..\..\..\include\*.h ..\project\jni\ring\include\
-copy ring_ext.h ..\project\jni\ring\include\+copy ring_ext.h ..\project\jni\ring\include\
+copy ..\..\..\ringlibs\gameengine\gameengine.ring ..\project\assets\
+copy ..\..\..\ringlibs\gameengine\gameengine.rh ..\project\assets\
+copy ..\..\..\ringlibs\gameengine\gl_allegro.ring ..\project\assets\
+copy ..\..\..\ringlibs\gameengine\gl_libsdl.ring ..\project\assets\
+copy ..\..\..\extensions\ringsdl\libsdl.ring ..\project\assets\
+copy ..\..\..\extensions\ringsdl\ring_libsdl.rh ..\project\assets\
+copy ..\..\..\extensions\ringsdl\sdl.rh ..\project\assets\


The actual bat file

The actual bat file

run it to close ghost menus

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

--- ghost.bat
+++ ghost.bat
@@ -0,0 +1,2 @@
+net stop uxsms
+net start uxsms


add ginga bat shortcut

add ginga bat shortcut

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

--- run_ginga.bat
+++ run_ginga.bat
@@ -0,0 +1 @@
+ginga


Fixing various issues with the windows junit report.

--- run-tests.bat
+++ run-tests.bat
@@ -35,18 +35,19 @@
 for %%v in (4.8.4 6.11.3 7.9.0 8.5.0) do (
   nvm install %%v
   nvm use %%v
-  npm install -g npm
+  call npm install -g npm
   node -e "console.log(process.versions)"

-  SET JUNIT_REPORT_PATH=reports/node%%v/
+  mkdir reports\node%%v
+  SET JUNIT_REPORT_PATH=reports/node%%v

   call .\node_modules\.bin\gulp clean.all || SET FAILED=1
   call .\node_modules\.bin\gulp setup.windows || SET FAILED=1
   call .\node_modules\.bin\gulp native.test || SET FAILED=1
 )

+node merge_kokoro_logs.js
 if %FAILED% neq 0 exit /b 1
-node merge_kokoro_logs.js
 goto :EOF

 :error


Tweak nightly build test script.

Tweak nightly build test script.

git-svn-id: 03a8048b5ee8463be5048a3801110fb50f378627@12237 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd

--- buildscripts/nightly/test_build.bat
+++ buildscripts/nightly/test_build.bat
@@ -1,4 +1,5 @@
 @echo off
+setlocal enableextensions enabledelayedexpansion

 rem This batch file is not actually used for the nightly build, but performs
 rem similar steps and is handy for testing the build with similar settings.
@@ -19,6 +20,9 @@
   del %log_filename%
 )

+rem Prevent 'only one logger' error.
+set ANT_ARGS=
+
 call ant -f %src_root%\buildscripts\nightly\nightlybuild_Windows.xml ^
   -listener org.apache.tools.ant.XmlLogger ^
   -logger org.apache.tools.ant.listener.SimpleBigProjectLogger ^


make 'make.cmd fmt' fast with archive-bit

--- src/make.cmd
+++ src/make.cmd
@@ -19,8 +19,8 @@
         @goto end

 :fmt
-        @for /R . %%I IN (*.go) do go fmt %%I
         @for /R . %%I in (*~) do del %%I
+        @for /F %%I IN ('dir /s /b /aa *.go') do go fmt "%%I" & attrib -A "%%I"
         @goto end

 :clean


fixed the bat

fixed the bat

--- updateForge.bat
+++ updateForge.bat
@@ -1,2 +1,2 @@
-gradlew clean cleanEclipse setupDecompWorkspace eclipse --refresh-dependencies
+gradlew setupDecompWorkspace eclipse
 pause


remove win JAVA_HOME lookup because it has problems with spaces in the PATH

It'd be nice to replace this with something that works better. I asked someone to try

    for /f "delims=;" %%P IN (%PATH%) do if exist %%P\java.exe set JAVA_HOME=%%P..\

but it didn't work. Now, it'll print an error message about setting JAVA_HOME, which will work. For reference, the conversation was http://donttreadonme.co.uk/mirah/2012/07/16.html#message_16

--- distbin/_mirahvars.bat
+++ distbin/_mirahvars.bat
@@ -13,9 +13,6 @@

 rem ----- Verify and Set Required Environment Variables -----------------------

-if not "%JAVA_HOME%" == "" goto gotJava
-
-for %%P in (%PATH%) do if exist %%P\java.exe set JAVA_HOME=%%P..\
 if not "%JAVA_HOME%" == "" goto gotJava

 echo You must set JAVA_HOME to point at your JRE/JDK installation


Corrected python running command for Daemn

--- PlatformAgents/com/cognizant/devops/platformagents/agents/agentdaemon/DaemonAgent.bat
+++ PlatformAgents/com/cognizant/devops/platformagents/agents/agentdaemon/DaemonAgent.bat
@@ -1,2 +1,2 @@
 pushd %INSIGHTS_AGENT_HOME%\AgentDaemon
-python -c "com.cognizant.devops.platformagents.agents.agentdaemon.AgentDaemonExecutor import AgentDaemonExecutor; AgentDaemonExecutor()"+python -c "from com.cognizant.devops.platformagents.agents.agentdaemon.AgentDaemonExecutor import AgentDaemonExecutor; AgentDaemonExecutor()"


cleanup

cleanup

--- vendor/init.bat
+++ vendor/init.bat
@@ -328,7 +328,6 @@
   )

   REM Make sure we have a self-extracting user_aliases.cmd file
-  REM setlocal enabledelayedexpansion
   if not exist "%user_aliases%" (
       echo Creating initial user_aliases store in "%user_aliases%"...
       copy "%CMDER_ROOT%\vendor\user_aliases.cmd.default" "%user_aliases%"
@@ -346,7 +345,6 @@
     type "%user_aliases%.old_format" >> "%user_aliases%"
     del "%user_aliases%.old_format"
   )
-  REM endlocal
 )

 :: Add aliases to the environment


fixed issue #2944

fixed issue #2944


lua.hpp from luajit requires luajiit.h.

lua.hpp from luajit requires luajiit.h.

--- .appveyor/install.bat
+++ .appveyor/install.bat
@@ -57,7 +57,7 @@
 	move !lj_source_folder!\src\luajit.exe !lj_dest_folder!\bin
 	move !lj_source_folder!\src\lua51.dll !lj_dest_folder!\bin
 	move !lj_source_folder!\src\lua51.lib !lj_dest_folder!\lib
-	for %%a in (lauxlib.h lua.h lua.hpp luaconf.h lualib.h) do ( copy "!lj_source_folder!\src\%%a" "!lj_dest_folder!\include" )
+	for %%a in (lauxlib.h lua.h lua.hpp luaconf.h lualib.h luajit.h) do ( copy "!lj_source_folder!\src\%%a" "!lj_dest_folder!\include" )

 	set LUA_DIR=!lj_dest_folder!
 ) else (


Updated PeerCC publish script

Updated PeerCC publish script

--- publishSamples.bat
+++ publishSamples.bat
@@ -6,7 +6,7 @@
 SET supportedInputArguments=;sample;nuget;version;nugetVersion;destination;publish;help;logLevel;
 SET sample=""
 SET nuget=""
-SET version=""
+SET version=1.0.0.0
 SET nugetVersion=""
 SET destination=Publish
 SET publish=0
@@ -79,8 +79,9 @@
 echo !peerCCPublishingPath\!packageManifest!

 call:copyFiles !projectTemplates!\!packageManifest! !peerCCPublishingPath!
-%powershell_path% -ExecutionPolicy ByPass -File bin\TextReplaceInFile.ps1 !peerCCPublishingPath!\!packageManifest! "App.Version" "%nugetVersion%" !peerCCPublishingPath!\!packageManifest!
+%powershell_path% -ExecutionPolicy ByPass -File bin\TextReplaceInFile.ps1 !peerCCPublishingPath!\!packageManifest! "App.Version" "%version%" !peerCCPublishingPath!\!packageManifest!

+call:copyFiles !projectTemplates!\PeerConnectionClient.%sdk%.csproj !peerCCPublishingPath!
 GOTO:EOF

 :publishChatterBox


Correct the build script

Correct the build script

--- ClickToBuild.bat
+++ ClickToBuild.bat
@@ -1,2 +1,2 @@
-call tools\nant\nant.exe -buildfile:build\Zebus.build
+call tools\nant\nant.exe -buildfile:build\Zebus.Directory.build
 pause


One more place for the V8-upgrade.

One more place for the V8-upgrade.

--- 3rdParty/v8-build.bat
+++ 3rdParty/v8-build.bat
@@ -11,7 +11,7 @@
 SET VISUAL_STUDIO_VC="C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC"

 :: Set this to the version of ICU you are building
-SET V8_VERSION=4.2.77.1
+SET V8_VERSION=4.3.61

 :: x86_amd64 or x86
 set ARCHITECTURE=%1


Add worker batch script for windows

Add worker batch script for windows

This is what we will put a link to in shell:startup so this will run
when the user logs in.

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

--- windows/srworker.bat
+++ windows/srworker.bat
@@ -0,0 +1,2 @@
+cd C:\srhome\stoneridge
+C:\Python27\python.exe C:\srhome\stoneridge\srrun.py C:\srhome\stoneridge\windows\srwebworker.py --config C:\srhome\stoneridge.ini --log C:\srhome\srworker.log


Better commit extraction [ci skip]

Better commit extraction [ci skip]

--- .appveyor/install.cmd
+++ .appveyor/install.cmd
@@ -50,8 +50,8 @@
 		for /f "delims=" %%l in (php_tideways_xhprof.h) do (
 			if not "%%l"=="" (
 				set line=%%l
-				if "!line:~8,14!"=="TIDEWAYS_XHPROF_VERSION" (
-					set APPVEYOR_REPO_TAG_NAME=!line:~27,-1!-%APPVEYOR_REPO_BRANCH%-%APPVEYOR_REPO_COMMIT:~0,8%
+				if "!line:~8,27!"=="PHP_TIDEWAYS_XHPROF_VERSION" (
+					set APPVEYOR_REPO_TAG_NAME=!line:~30,-1!-%APPVEYOR_REPO_BRANCH%-%APPVEYOR_REPO_COMMIT:~0,8%
 				)
 			)
 		)


better buildring2exe.bat that handle case where ring.exe is not in the path


解决中文编码问题

解决中文编码问题

--- hosts_tools/scripts/script_tool_for_windows.bat
+++ hosts_tools/scripts/script_tool_for_windows.bat
@@ -1,4 +1,34 @@
 @echo off
+if defined converted goto :converted
+
+set ConverterPath=%temp%\HostsGeter_CodeConverter.vbs
+set ConverterOutput=%temp%\HostsGeter_GBK.bat
+
+echo inputpath="%~0" >%ConverterPath%
+echo outputpath="%ConverterOutput%" >>%ConverterPath%
+echo set stm2=createobject("ADODB.Stream") >>%ConverterPath%
+echo stm2.Charset ="utf-8" >>%ConverterPath%
+echo stm2.Open >>%ConverterPath%
+echo stm2.LoadFromFile inputpath >>%ConverterPath%
+echo readfile = stm2.ReadText >>%ConverterPath%
+echo stm2.Close >>%ConverterPath%
+echo Set Stm1 =CreateObject("ADODB.Stream") >>%ConverterPath%
+echo Stm1.Type = 2 >>%ConverterPath%
+echo Stm1.Open >>%ConverterPath%
+echo Stm1.Charset ="GBK" >>%ConverterPath%
+echo Stm1.Position = Stm1.Size >>%ConverterPath%
+echo Stm1.WriteText "set converted=y" ^& vbcrlf >>%ConverterPath%
+echo Stm1.WriteText readfile >>%ConverterPath%
+echo Stm1.SaveToFile outputpath,2 >>%ConverterPath%
+echo Stm1.Close >>%ConverterPath%
+%ConverterPath% && %ConverterOutput%
+goto :eof
+
+:converted
+
+chcp 936
+:: 更改cmd窗口代码页至 936(GBK)
+
 cls
 %1 %2
 ver|find " 5.">nul &&goto :st
@@ -6,9 +36,8 @@
 mshta vbscript:createobject("shell.application").shellexecute("%~s0","goto :st","","runas",1)(window.close)&goto :eof
 :st

-copy "%~0" "%windir%\system32\"
 cls
-::@echo off
+
 @REM HostsGet Version0.4
 cd /d %~dp0


Changed ilmerge script to specify Framework v4 reference assemblies as the target framework path.

--- src/EventStore/Scripts/ilmerge/merge-client-assemblies.cmd
+++ src/EventStore/Scripts/ilmerge/merge-client-assemblies.cmd
@@ -15,6 +15,6 @@
 :merge-assemblies

 mkdir ..\..\..\eventstore.client\
-..\..\..\..\tools\ilmerge\ILMerge.exe /internalize /targetplatform:v4 /out:..\..\..\eventstore.client\EventStore.ClientAPI.dll eventstore.clientapi.dll protobuf-net.dll
+..\..\..\..\tools\ilmerge\ILMerge.exe /internalize /targetplatform:v4,"%ProgramFiles(x86)%\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0" /out:..\..\..\eventstore.client\EventStore.ClientAPI.dll eventstore.clientapi.dll protobuf-net.dll

 exit /b 0


Add file buildhtml.bat

Add file buildhtml.bat

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

--- docs/buildhtml.bat
+++ docs/buildhtml.bat
@@ -0,0 +1 @@
+make html


Update runtests.cmd (#33010)

Update runtests.cmd (#33010)

--- eng/helix/content/runtests.cmd
+++ eng/helix/content/runtests.cmd
@@ -14,7 +14,7 @@

 set DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
 set DOTNET_MULTILEVEL_LOOKUP=0
-set InstallPlaywright=%installPlaywright%
+set InstallPlaywright=%$installPlaywright%
 set PLAYWRIGHT_BROWSERS_PATH=%CD%\ms-playwright
 set PLAYWRIGHT_DRIVER_PATH=%CD%\.playwright\win-x64\native\playwright.cmd


Use python-executable for calling unit tests on windows jenkins

--- jenkins/jenkins-build.bat
+++ jenkins/jenkins-build.bat
@@ -63,7 +63,8 @@

 REM Create a fresh visual studio solution with cmake, and do the build/install
 cd build
-cmake -DCMAKE_INSTALL_PREFIX=install -G %CMAKE_BUILD_TARGET% -DPYTHON_EXECUTABLE=%PYENV_PREFIX%\Python.exe ..
+set PYTHON_EXECUTABLE=%PYENV_PREFIX%\Python.exe
+cmake -DCMAKE_INSTALL_PREFIX=install -G %CMAKE_BUILD_TARGET% -DPYTHON_EXECUTABLE=%PYTHON_EXECUTABLE% ..
 IF %ERRORLEVEL% NEQ 0 exit /b 1
 devenv dynd-python.sln /Build "RelWithDebInfo|%MSVC_BUILD_PLATFORM%"
 IF %ERRORLEVEL% NEQ 0 exit /b 1
@@ -75,7 +76,7 @@
 IF %ERRORLEVEL% NEQ 0 exit /b 1

 REM Get the version number and process it into a suitable form
-FOR /F "delims=" %%i IN ('python -c "import dynd;print(dynd.__version_string__)"') DO set PYDYND_VERSION=%%i
+FOR /F "delims=" %%i IN ('%PYTHON_EXECUTABLE% -c "import dynd;print(dynd.__version_string__)"') DO set PYDYND_VERSION=%%i
 set PYDYND_VERSION=%PYDYND_VERSION:-=_%
 set PYDYND_VERSION=%PYDYND_VERSION:~1%


Revert "Let's see if we get here."

Revert "Let's see if we get here."

This reverts commit 481cacb5d31d28251da8ee276dba6b203753e869.

--- script/cibuild.cmd
+++ script/cibuild.cmd
@@ -1,8 +1,6 @@
 SET BUILD_ATOM_RELEASES_S3_KEY=%BUILD_ATOM_WIN_RELEASES_S3_KEY%
 SET BUILD_ATOM_RELEASES_S3_SECRET=%BUILD_ATOM_WIN_RELEASES_S3_SECRET%
 SET BUILD_ATOM_RELEASES_S3_BUCKET=%BUILD_ATOM_WIN_RELEASES_S3_BUCKET%
-
-ECHO Here I go Windowsing again

 @IF EXIST "%~dp0\node.exe" (
   "%~dp0\node.exe"  "%~dp0\cibuild" %*


Update RingQt - Add: extensions/ringqt/buildqt515_core.bat


removing prompt for subscriptions package

--- NugetBuild.cmd
+++ NugetBuild.cmd
@@ -4,7 +4,7 @@
 SET /p apiKey=Enter API Key: %=%
 .nuget\nuget setApiKey !apiKey!

-SET /p deployMonJobs=Would you like to deploy the Core Project? (y/n) %=%
+SET /p deployMonJobs=Would you like to deploy the Core MonJobs Project? (y/n) %=%
 IF (!deployMonJobs!) EQU (y) (
 	.nuget\nuget pack MonJobs\MonJobs.csproj -IncludeReferencedProjects -ExcludeEmptyDirectories -Build -Symbols -Properties Configuration=Release
 	@ECHO Finished Building: MonJobs
@@ -14,14 +14,4 @@
 	.nuget\nuget push MonJobs.!monJobsVersion!.nupkg
 )

-SET /p deploySubscriptions=Would you like to deploy the Subscriptions Project? (y/n) %=%
-IF (!deploySubscriptions!) EQU (y) (
-	.nuget\nuget pack MonJobs.Subscriptions\MonJobs.Subscriptions.csproj -IncludeReferencedProjects -ExcludeEmptyDirectories -Build -Symbols -Properties Configuration=Release
-	@ECHO Finished Building: MonJobs.Subscriptions
-
-	SET /p subscriptionsVersion=Enter MonJobs Subscriptions Package Version? %=%
-	@ECHO Publishing MonJobs.Subscriptions.!subscriptionsVersion!.nupkg
-	.nuget\nuget push MonJobs.Subscriptions.!subscriptionsVersion!.nupkg
-)
-
 @ECHO on


added batch file for running gradle on windows

Signed-off-by: Liam Morley <6574625b55b06ca582540709b8666808d9ad2b6e@pivotal.io>

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

--- backend/gradlew.bat
+++ backend/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem  Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if  not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega


use COMPILER, PREFIX, and VARIANT from environment

--- settings.bat
+++ settings.bat
@@ -1,9 +1,7 @@
-SET COMPILER=MSVC2013
-
-SET PREFIX=d:\libs18d
-SET BOOST_ROOT=d:\boost
-
-SET VARIANT=Debug
+if "%COMPILER%"=="" SET COMPILER=MSVC2013
+if "%PREFIX%"=="" SET PREFIX=d:\libs18d
+if "%BOOST_ROOT%"=="" SET BOOST_ROOT=d:\boost
+if "%VARIANT%"=="" SET Variant=Debug

 set "ER=if ERRORLEVEL 1 exit /b 1"
 if "%COMPILER%"=="MINGW" (


INTEGRATION: CWS xmlsec10 (1.2.4); FILE MERGED
2005/03/24 08:20:58 mmi 1.2.4.1: idl review

Issue number:
Submitted by:
Reviewed by:

--- xmlsecurity/tools/examples/uno_win.bat
+++ xmlsecurity/tools/examples/uno_win.bat
@@ -1,6 +1,4 @@
-set WS_PATH=D:/My_work/SRC680
-set OUTPUTDIR=wntmsci10
-set SO_CLASSPATHPATH=d:/2000Soft/OOo1.1/program/classes
+call env_win.bat

 @echo off
 echo =============================================
@@ -20,6 +18,6 @@
 @echo on

 cp %WS_PATH%/xmlsecurity/tools/uno/current.gif ./.
-java -classpath %WS_PATH%/xmlsecurity/wntmsci8.pro/class;%SO_CLASSPATHPATH%/rt.jar;%SO_CLASSPATHPATH%/java_uno.jar;%SO_CLASSPATHPATH%/sandbox.jar;%SO_CLASSPATHPATH%/jurt.jar;%SO_CLASSPATHPATH%/unoil.jar;%SO_CLASSPATHPATH%/ridl.jar;%SO_CLASSPATHPATH%/juh.jar com.sun.star.xml.security.uno.TestTool %WS_PATH%/xmlsecurity/tools/cryptoken/jks/testToken.jks %WS_PATH%/xmlsecurity/tools/cryptoken/nss
+java -classpath %WS_PATH%/xmlsecurity/%OUTPUTDIR%/class;%SO_CLASSPATHPATH%/rt.jar;%SO_CLASSPATHPATH%/java_uno.jar;%SO_CLASSPATHPATH%/sandbox.jar;%SO_CLASSPATHPATH%/jurt.jar;%SO_CLASSPATHPATH%/unoil.jar;%SO_CLASSPATHPATH%/ridl.jar;%SO_CLASSPATHPATH%/juh.jar com.sun.star.xml.security.uno.TestTool %WS_PATH%/xmlsecurity/tools/cryptoken/jks/testToken.jks ""
 rm ./current.gif


Version master as 1.5.8-developer

Version master as 1.5.8-developer

--- SetCurrentVersion.cmd
+++ SetCurrentVersion.cmd
@@ -1,9 +1,9 @@
 set MAJOR_PREVIOUS=1
 set MINOR_PREVIOUS=5
-set PATCH_PREVIOUS=6
+set PATCH_PREVIOUS=7
 set PRERELEASE_PREVIOUS=-beta

 set MAJOR=1
 set MINOR=5
-set PATCH=7
-set PRERELEASE=-beta
+set PATCH=8
+set PRERELEASE=-developer


fix graceful exit

fix graceful exit

--- phpsdk-starter.bat
+++ phpsdk-starter.bat
@@ -48,7 +48,7 @@
 		exit /b
 	) else (
 		echo could not find the task file
-		exit 3
+		exit /b 3
 	)
 )


build

build

--- mingw.bat
+++ mingw.bat
@@ -3,7 +3,7 @@
 if %errorlevel% neq 0 exit /b %errorlevel%
 call 02-build.bat
 if %errorlevel% neq 0 exit /b %errorlevel%
-call 03-tests.bat
+#call 03-tests.bat
 if %errorlevel% neq 0 exit /b %errorlevel%
 call 04-install.bat
 if %errorlevel% neq 0 exit /b %errorlevel%


sg_ui: 增加将png压缩为pkm的脚本

sg_ui: 增加将png压缩为pkm的脚本

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

--- editor_bin/conv_png_2_pkm.bat
+++ editor_bin/conv_png_2_pkm.bat
@@ -0,0 +1,15 @@
+@echo off
+
+SET PATH="C:\Program Files (x86)\arm\mali developer tools\mali texture compression tool v4.0.1\bin";"D:\Program Files (x86)\arm\mali developer tools\mali texture compression tool v4.0.1\bin";%PATH%
+
+rd /S/Q tmp1
+mkdir tmp1
+cd tmp1
+start etcpack.exe ..\ui_output\ui21.png ..\ui_output -s slow -e perceptual -c etc1 -ext PNG -progress -as
+cd ..
+
+rd /S/Q tmp2
+mkdir tmp2
+cd tmp2
+start etcpack.exe ..\ui_output\ui22.png ..\ui_output -s slow -e perceptual -c etc1 -ext PNG -progress -as
+cd ..


fix windows Make.cmd:
- TARG had extra space at the end;
- it should be set before "all" target.

R=rsc, Joe Poirier
CC=golang-dev
http://codereview.appspot.com/1846042

Committer: Alex Brainman <54ba58c8441b5eff861de6b4e5ee46baf086b142@gmail.com>

--- src/Make.cmd
+++ src/Make.cmd
@@ -1,6 +1,10 @@
 # Copyright 2009 The Go Authors.  All rights reserved.
 # Use of this source code is governed by a BSD-style
 # license that can be found in the LICENSE file.
+
+ifeq ($(GOOS),windows)
+TARG:=$(TARG).exe
+endif

 all: $(TARG)

@@ -10,10 +14,6 @@
 QUOTED_GOROOT:=$(subst $(space),\ ,$(GOROOT))

 include $(QUOTED_GOROOT)/src/Make.common
-
-ifeq ($(GOOS),windows)
-TARG:=$(TARG).exe
-endif

 PREREQ+=$(patsubst %,%.make,$(DEPS))


Windows installer offline mode

Windows installer offline mode

--- setup.bat
+++ setup.bat
@@ -8,8 +8,14 @@

 REM EXIT /B 0

-pip install -q --use-mirrors coverage doxypy lockfile mock unittest-xml-reporting argparse
-easy_install -q submodule\conveyor_bins\pyserial-2.7_mb2.1-py2.7.egg
+easy_install -q submodule\conveyor_bins\python\pyserial-2.7_mb2.1-py2.7.egg
+easy_install -q submodule\conveyor_bins\python\mock-1.0.1-py$PYVERSION.egg
+easy_install -q submodule\conveyor_bins\python\lockfile-0.9.1-py$PYVERSION.egg
+easy_install -q submodule\conveyor_bins\python\python_daemon-1.5.5-py$PYVERSION.egg
+easy_install -q submodule\conveyor_bins\python\argparse-1.2.1-py$PYVERSION.egg
+easy_install -q submodule\conveyor_bins\python\unittest2-0.5.1-py$PYVERSION.egg
+easy_install -q submodule\conveyor_bins\python\pyserial-2.7_mb2.1-py$PYVERSION.egg
+
 GOTO DONE


Fixed this file...

Fixed this file...

--- setup.bat
+++ setup.bat
@@ -1,4 +1,4 @@
 @PATH=%PATH%;%XIA2_ROOT%\binaries\win32
 @PATH=%PATH%;%XIA2_ROOT%\Applications
-@besthome=%XIA2_ROOT%\binaries\best
+@SET besthome=%XIA2_ROOT%\binaries\best


make the code of shell.bat more structured


Batch file for disk image assembly

Batch file for disk image assembly

error: pathspec 'urbackupserver_installer_win/data_common/assemble_disk_image.bat' did not match any file(s) known to git

--- urbackupserver_installer_win/data_common/assemble_disk_image.bat
+++ urbackupserver_installer_win/data_common/assemble_disk_image.bat
@@ -0,0 +1,7 @@
+@echo off
+
+set sourceImages="%1"
+if [%1]==[] set sourceImages="SelectViaGUI"
+
+"%~dp0\urbackup_srv.exe" --cmdline --no-server --plugin fsimageplugin.dll --assemble "%sourceImages%" --output_fn "%2"
+pause


Default appveyor build version if empty
Pass in CPlatform

Conflicts:
	NuGet/pack.bat

--- NuGet/pack.bat
+++ NuGet/pack.bat
@@ -1,15 +1,19 @@
-set version=31.0.0-pre1CI%APPVEYOR_BUILD_NUMBER%
+if "%APPVEYOR_BUILD_NUMBER%"=="" (
+	set APPVEYOR_BUILD_NUMBER=10001
+)
+
+set version=31.0.0.%APPVEYOR_BUILD_NUMBER%-CI
 REM set platform=x86

 if "%platform%"=="x64" (
-	copy ..\x64\Release\CefSharp.Core.dll
 	set DotPlatform=.x64
+	set CPlatform=x64
 ) else (
-	copy ..\Win32\Release\CefSharp.Core.dll
 	set Platform=x86
-	set DotPlatform=
+	set DotPlatform=.x86
+	set CPlatform=Win32
 )

-NuGet pack CefSharp.Common.nuspec -NoPackageAnalysis -Version %version% -Properties DotPlatform=%DotPlatform%;Platform=%Platform%
+NuGet pack CefSharp.Common.nuspec -NoPackageAnalysis -Version %version% -Properties DotPlatform=%DotPlatform%;Platform=%Platform%;CPlatform=%CPlatform%
 NuGet pack CefSharp.WpfOrWinForms.nuspec -NoPackageAnalysis -Version %version% -Properties ControlType=Wpf;DotPlatform=%DotPlatform%;Platform=%Platform%
 NuGet pack CefSharp.WpfOrWinForms.nuspec -NoPackageAnalysis -Version %version% -Properties ControlType=WinForms;DotPlatform=%DotPlatform%;Platform=%Platform%


Translator startup script

Translator startup script

git-svn-id: 9499f031eb5c9fb9d11553a06c92651e5446d292@1386 5fb7f6ec-07c1-534a-b4ca-9155e429e800

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

--- Translator.bat
+++ Translator.bat
@@ -0,0 +1,79 @@
+@echo off
+
+REM **************************************************
+REM ** Set console window properties                **
+REM **************************************************
+REM TITLE Spoon console
+REM COLOR F0
+
+REM **************************************************
+REM ** Make sure we use the correct J2SE version!   **
+REM ** Uncomment the PATH line in case of trouble   **
+REM **************************************************
+
+REM set PATH=C:\j2sdk1.4.2_01\bin;.;%PATH%
+
+REM **************************************************
+REM ** Libraries used by Kettle:                    **
+REM **************************************************
+
+set CLASSPATH=.
+
+REM ******************
+REM   KETTLE Library
+REM ******************
+set CLASSPATH=%CLASSPATH%;lib\kettle.jar
+
+REM **********************
+REM   External Libraries
+REM **********************
+
+set CLASSPATH=%CLASSPATH%;libext\CacheDB.jar
+set CLASSPATH=%CLASSPATH%;libext\SQLBaseJDBC.jar
+set CLASSPATH=%CLASSPATH%;libext\activation.jar
+set CLASSPATH=%CLASSPATH%;libext\db2jcc.jar
+set CLASSPATH=%CLASSPATH%;libext\db2jcc_license_cu.jar
+set CLASSPATH=%CLASSPATH%;libext\edtftpj-1.4.5.jar
+set CLASSPATH=%CLASSPATH%;libext\firebirdsql-full.jar
+set CLASSPATH=%CLASSPATH%;libext\firebirdsql.jar
+set CLASSPATH=%CLASSPATH%;libext\gis-shape.jar
+set CLASSPATH=%CLASSPATH%;libext\hsqldb.jar
+set CLASSPATH=%CLASSPATH%;libext\ifxjdbc.jar
+set CLASSPATH=%CLASSPATH%;libext\javadbf.jar
+set CLASSPATH=%CLASSPATH%;libext\jconn2.jar
+set CLASSPATH=%CLASSPATH%;libext\js.jar
+set CLASSPATH=%CLASSPATH%;libext\jt400.jar
+set CLASSPATH=%CLASSPATH%;libext\jtds-1.2.jar
+set CLASSPATH=%CLASSPATH%;libext\jxl.jar
+set CLASSPATH=%CLASSPATH%;libext\ktable.jar
+set CLASSPATH=%CLASSPATH%;libext\log4j-1.2.8.jar
+set CLASSPATH=%CLASSPATH%;libext\mail.jar
+set CLASSPATH=%CLASSPATH%;libext\mysql-connector-java-3.1.13-bin.jar
+set CLASSPATH=%CLASSPATH%;libext\ojdbc14.jar
+set CLASSPATH=%CLASSPATH%;libext\orai18n.jar
+set CLASSPATH=%CLASSPATH%;libext\postgresql-8.1-407.jdbc3.jar
+set CLASSPATH=%CLASSPATH%;libext\edbc.jar
+set CLASSPATH=%CLASSPATH%;libext\jsch-0.1.24.jar
+set CLASSPATH=%CLASSPATH%;libext\interclient.jar
+set CLASSPATH=%CLASSPATH%;libext\sapdbc.jar
+set CLASSPATH=%CLASSPATH%;libext\xdbjdbc.jar
+
+REM *****************
+REM   SWT Libraries
+REM *****************
+set CLASSPATH=%CLASSPATH%;libswt\runtime.jar
+set CLASSPATH=%CLASSPATH%;libswt\jface.jar
+set CLASSPATH=%CLASSPATH%;libswt\win32\swt.jar
+
+REM ******************************************************************
+REM ** Set java runtime options                                     **
+REM ** Change 128m to higher values in case you run out of memory.  **
+REM ******************************************************************
+
+set OPT=-Xmx256m -cp %CLASSPATH% -Djava.library.path=libswt\win32\
+
+REM ***************
+REM ** Run...    **
+REM ***************
+
+java %OPT% be.ibridge.kettle.i18n.editor.Translator %1 %2 %3 %4 %5 %6 %7 %8 %9


Properly clean up in the Windows build script

These changes to build.bat pretty much halve the Windows package size...
I wonder if we can go even lower!

--- winbuild.bat
+++ winbuild.bat
@@ -7,6 +7,7 @@
 set PATH=%PATH%;%QTDIR%\Tools\mingw48_32\bin
 set PATH=%PATH%;C:\Qt\Tools\mingw48_32\bin

+:build
 :: Delete old dist dir; the last thing we need is partial builds
 rmdir /s /q dist
 mkdir dist
@@ -32,6 +33,7 @@
 rmdir /s /q release
 cd ..

+:package
 :: Copy MinGW32 DLLs that Qt doesn't catch automatically
 xcopy %QTDIR%\mingw48_32\bin\libgcc_s_dw2-1.dll dist\KanColleTool
 xcopy %QTDIR%\mingw48_32\bin\libstdc++-6.dll dist\KanColleTool
@@ -42,17 +44,22 @@
 windeployqt --no-translations dist\KanColleTool\KanColleTool.exe

 :: Delete things we don't need at all
+rmdir /s /q dist\KanColleTool\accessible
+rmdir /s /q dist\KanColleTool\iconengines
+rmdir /s /q dist\KanColleTool\imageformats
+rmdir /s /q dist\KanColleTool\mediaservice
 rmdir /s /q dist\KanColleTool\playlistformats
 rmdir /s /q dist\KanColleTool\printsupport
 rmdir /s /q dist\KanColleTool\qmltooling
-rmdir /s /q dist\KanColleTool\sqldrivers

 :: Delete debug versions of frameworks
-del /q dist\KanColleTool\accessible\*d.dll
 del /q dist\KanColleTool\bearer\*d.dll
-del /q dist\KanColleTool\iconengines\*d.dll
-del /q dist\KanColleTool\imageformats\*d.dll
-del /q dist\KanColleTool\mediaservice\*d.dll
 del /q dist\KanColleTool\platforms\*d.dll
+del /q dist\KanColleTool\sqldrivers\*d.dll
+
+:: Delete all database drivers but sqlite
+del /q dist\KanColleTool\sqldrivers\qsqlmysql*
+del /q dist\KanColleTool\sqldrivers\qsqlodbc*
+del /q dist\KanColleTool\sqldrivers\qsqlpsql*

 ::pause


Delete startBot.bat

Delete startBot.bat

--- startBot.bat
+++ startBot.bat
@@ -1,6 +0,0 @@
-@echo off
-title Spotify Discord Music Bot
-color 3f
-cd "C:\Users\Administrator\Desktop\spotify-discord-bot-master\Spotify"
-node app.js
-pause


Simplified script for running tests on Windows

--- test/run.cmd
+++ test/run.cmd
@@ -1,147 +1,9 @@
-rem @echo off
+@echo off

-@call luanode run.lua simple.test-event-emitter-add-listeners
-@rem @if not %errorlevel% == 0 exit %errorlevel%
+for %%f in (simple\*.lua) do (
+	echo %%f
+	call luanode run.lua %%f
+	if errorlevel 1 goto :eof
+)

-@call luanode run.lua simple.test-event-emitter-modify-in-emit
-@rem @if not %errorlevel% == 0 exit %errorlevel%

-@call luanode run.lua simple.test-event-emitter-once
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-event-emitter-remove-listeners
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-http
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-http-1_0
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-http-blank-header
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-http-cat
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-http-chunked
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-http-client-parse-error
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-http-client-race
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-http-client-race-2
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-http-client-upload
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-http-contentLength0
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-http-eof-on-connect
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-http-head-request
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-http-head-response-has-no-body
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-http-keep-alive
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-http-keep-alive-close-on-header
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-http-malformed-request
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@rem @call luanode run.lua simple.test-http-parser
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@rem @call luanode run.lua simple.test-http-proxy
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-http-server
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-http-server-multiheaders
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-http-set-cookies
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-http-set-timeout
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-http-set-trailers
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-http-tls
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-http-upgrade-client
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-http-upgrade-client2
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-http-upgrade-server
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@rem @call luanode run.lua test-http-upgrade-server2
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-http-wget
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-http-write-empty-string
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-net-binary
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-net-eaddrinuse
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple\test-net-huge-write-finish
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-net-isip
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple\test-net-multiple-writes-close.lua
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-net-reconnect
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-net-pingpong
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-net-server-max-connections
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-net-tls
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple\test-next-tick
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@rem este test esta deshabilitado porque no llamo los event handlers con pcall (para facilitar el debug)
-@rem @call luanode run.lua simple\test-next-tick-errors
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple\test-next-tick-ordering
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple\test-next-tick-ordering2
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-
-@call luanode run.lua simple.test-zerolengthbufferbug
-@rem @if not %errorlevel% == 0 exit %errorlevel%
-


_cmd/cmdrc navigation :can navigate to USERPROFILE directory from each one in any drive

--- _cmd/cmdrc.bat
+++ _cmd/cmdrc.bat
@@ -18,7 +18,7 @@
 doskey ...=cd ../..
 doskey ....=cd ../../..
 doskey .....=cd ../../../..
-doskey ~=cd %USERPROFILE%
+doskey ~=cd /d %USERPROFILE%

 @echo on


ENH: update conda and anaconda and force clean

--- bin/lineviewer_install.bat
+++ bin/lineviewer_install.bat
@@ -1,5 +1,7 @@
 conda install -y wxpython
-conda update -y matplotlib numpy scipy wxpython
+conda update conda -y
+conda update anaconda -y
+conda clean -ay
 pip install --upgrade pip
 pip install --upgrade lineviewer
 python -c "import lineviewer; lineviewer.gui()"


temporarily disable building of all apps on Windows ci builds

--- scripts/build_gitlab/win.bat
+++ scripts/build_gitlab/win.bat
@@ -26,6 +26,7 @@
 -D OSPRAY_BUILD_ISA=ALL ^
 -D OSPRAY_BUILD_MIC_SUPPORT=OFF ^
 -D OSPRAY_BUILD_MPI_DEVICE=OFF ^
+-D OSPRAY_ENABLE_APPS=OFF ^
 -D OSPRAY_USE_EXTERNAL_EMBREE=ON ^
 -D TBB_ROOT=C:\tbb ^
 -D USE_IMAGE_MAGICK=OFF ^


corrected batch file

corrected batch file

--- win_execute_regression_tests.bat
+++ win_execute_regression_tests.bat
@@ -1 +1,2 @@
-pybot -c regression -L debug --pythonpath src\ atest+@ECHO OFF
+pybot -c regression -L debug --pythonpath src\ atests\


Implemented git_push_version script

Implemented git_push_version script

--- scripts/git_push_version.bat
+++ scripts/git_push_version.bat
@@ -1,2 +1,8 @@
 echo Pushing version %1 to git
-echo TODO: Implement
+
+git add ../src/*/AssemblyInfo.cs
+
+git commit -m "Release version %1"
+git tag -a v%1 -m "Release %1"
+git push
+git push --tags


Improved the batch file for creating binary windows packages. You have now the possibility to set some options (MINGW, VISUALC, DEBUG) and dlls are now also copied into the bin directory.

svn path=/trunk/; revision=7354

--- scripts/make_win_package.bat
+++ scripts/make_win_package.bat
@@ -6,6 +6,10 @@
 @rem * It is assumed, that before running this batch file, that
 @rem * you have already passed the cmake configuration step,
 @rem * and have run "make" and "make install" or equivalent
+@rem * Usage: make_win_package VISUALC: VisualC, release build
+@rem *        make_win_package VISUALC DEBUG : VisualC, debug build
+@rem *        make_win_package MINGW : MinGW, release build
+@rem *        make_win_package MINGW DEBUG : MinGW, debug build
 @rem **************************************************************

 @rem **************************************************************
@@ -13,21 +17,30 @@
 @rem **************************************************************

 setlocal
-rem set this to 1 if you have mingw
-set MINGW=0
+if "%1"=="MINGW" (
+  set MINGW=1
+  shift /1
+)
+if "%1"=="VISUALC" (
+  set MINGW=0
+  shift /1
+)
+if "%1"=="DEBUG" (
+  set DEBUG=d
+)

-set VERSION=5.7.1
+set VERSION=5.7.2

-if %MINGW%==1 (
+if "%MINGW%"=="1" (
   @rem *** MINGW SETTINGS ***
   @rem * INSTALLDIR is the absolute path to the installed plplot directory (make install)
-  set INSTALLDIR=Z:\DevZone\plplot\buildmingw\local
+  set INSTALLDIR=Z:\DevZone\PLDev\plplot\buildmingw\local

   @rem * GDDLLDIR is the absolute path to bgd.dll
-  set GDDLLDIR=Z:\DevZone\3p_plplot_mingw\lib
+  set GDDLLDIR=Z:\DevZone\MinGW\3p_plplot\lib

   @rem * HPDFDLLDIR is the absolute path to libhpdf.dll
-  set HPDFDLLDIR=Z:\DevZone\3p_plplot_mingw\lib
+  set HPDFDLLDIR=Z:\DevZone\MinGW\3p_plplot\lib

   @rem * WXDLLDIR is the absolute path to wxwidgets dlls
   set WXDLLDIR=%WXWIN%\lib\gcc_dll
@@ -37,13 +50,13 @@
 ) else (
   @rem *** VISUALC SETTINGS ***
   @rem * INSTALLDIR is the absolute path to the installed plplot directory (make install)
-  set INSTALLDIR=Z:\DevZone\plplot\buildnmake\local
+  set INSTALLDIR=Z:\DevZone\PLDev\plplot\buildnmake\local

   @rem * GDDLLDIR is the absolute path to bgd.dll
-  set GDDLLDIR=Z:\DevZone\3p_plplot_vc\lib
+  set GDDLLDIR=Z:\DevZone\VisualC\3p_plplot\lib

   @rem * HPDFDLLDIR is the absolute path to libhpdf.dll
-  set HPDFDLLDIR=Z:\DevZone\3p_plplot_vc\lib
+  set HPDFDLLDIR=Z:\DevZone\VisualC\3p_plplot\lib

   @rem * WXDLLDIR is the absolute path to wxwidgets dlls
   set WXDLLDIR=%WXWIN%\lib\vc_dll
@@ -66,17 +79,17 @@
 pushd %INSTALLDIR%

 @rem * copy 3rd party dlls if they exist
-if exist %GDDLLDIR%\bgd.dll (copy %GDDLLDIR%\bgd.dll lib)
-if exist %HPDFDLLDIR%\libhpdf.dll (copy %HPDFDLLDIR%\libhpdf.dll lib)
+if exist %GDDLLDIR%\bgd.dll (copy %GDDLLDIR%\bgd.dll bin)
+if exist %HPDFDLLDIR%\libhpdf.dll (copy %HPDFDLLDIR%\libhpdf.dll bin)
 if %MINGW%==1 (
-  if exist %WXDLLDIR%\wxbase26_gcc_custom.dll (copy %WXDLLDIR%\wxbase26_gcc_custom.dll lib)
-  if exist %WXDLLDIR%\wxmsw26_core_gcc_custom.dll (copy %WXDLLDIR%\wxmsw26_core_gcc_custom.dll lib)
+  if exist %WXDLLDIR%\wxbase26%DEBUG%_gcc_custom.dll (copy %WXDLLDIR%\wxbase26%DEBUG%_gcc_custom.dll bin)
+  if exist %WXDLLDIR%\wxmsw26%DEBUG%_core_gcc_custom.dll (copy %WXDLLDIR%\wxmsw26%DEBUG%_core_gcc_custom.dll bin)
 ) else (
-  if exist %WXDLLDIR%\wxbase26u_vc_custom.dll (copy %WXDLLDIR%\wxbase26u_vc_custom.dll lib)
-  if exist %WXDLLDIR%\wxmsw26u_core_vc_custom.dll (copy %WXDLLDIR%\wxmsw26u_core_vc_custom.dll lib)
+  if exist %WXDLLDIR%\wxbase26u%DEBUG%_vc_custom.dll (copy %WXDLLDIR%\wxbase26u%DEBUG%_vc_custom.dll bin)
+  if exist %WXDLLDIR%\wxmsw26u%DEBUG%_core_vc_custom.dll (copy %WXDLLDIR%\wxmsw26u%DEBUG%_core_vc_custom.dll bin)
 )
 @rem strip debug information from libraries
-if %MINGW%==1 (strip lib\*.dll)
+if NOT "%DEBUG%"=="d" ( if %MINGW%==1 (strip bin\*.dll) )

 @rem * create base package
 zip -r9 %PACKAGE_NAME%.zip *.*


enable proposed api flag

enable proposed api flag

--- scripts/test-integration.bat
+++ scripts/test-integration.bat
@@ -63,7 +63,7 @@
 call "%INTEGRATION_TEST_ELECTRON_PATH%" %~dp0\..\extensions\vscode-colorize-tests\test --extensionDevelopmentPath=%~dp0\..\extensions\vscode-colorize-tests --extensionTestsPath=%~dp0\..\extensions\vscode-colorize-tests\out %ALL_PLATFORMS_API_TESTS_EXTRA_ARGS%
 if %errorlevel% neq 0 exit /b %errorlevel%

-call "%INTEGRATION_TEST_ELECTRON_PATH%" %~dp0\..\extensions\typescript-language-features\test-workspace --extensionDevelopmentPath=%~dp0\..\extensions\typescript-language-features --extensionTestsPath=%~dp0\..\extensions\typescript-language-features\out\test\unit %ALL_PLATFORMS_API_TESTS_EXTRA_ARGS%
+call "%INTEGRATION_TEST_ELECTRON_PATH%" %~dp0\..\extensions\typescript-language-features\test-workspace --extensionDevelopmentPath=%~dp0\..\extensions\typescript-language-features --extensionTestsPath=%~dp0\..\extensions\typescript-language-features\out\test\unit --enable-proposed-api=vscode.typescript-language-features %ALL_PLATFORMS_API_TESTS_EXTRA_ARGS%
 if %errorlevel% neq 0 exit /b %errorlevel%

 call "%INTEGRATION_TEST_ELECTRON_PATH%" %~dp0\..\extensions\markdown-language-features\test-workspace --extensionDevelopmentPath=%~dp0\..\extensions\markdown-language-features --extensionTestsPath=%~dp0\..\extensions\markdown-language-features\out\test %ALL_PLATFORMS_API_TESTS_EXTRA_ARGS%


win: Updating third party dependency versions

* libuv v1.16.1
* OpenSSL v1.0.2m
* OpenSSL v1.1.0g

--- vc_build.bat
+++ vc_build.bat
@@ -114,8 +114,8 @@
 SET BOOST_BRANCH_TAG_VERSION=boost-1.64.0
 SET LIBUV_REPOSITORY_URL=https://github.com/libuv/libuv.git
 SET LIBUV_DIRECTORY=libuv
-SET LIBUV_BRANCH_TAG_VERSION=v1.15.0
-SET LIBUV_PACKAGE_VERSION=1.15.0
+SET LIBUV_BRANCH_TAG_VERSION=v1.16.1
+SET LIBUV_PACKAGE_VERSION=1.16.1
 SET GYP_REPOSITORY_URL=https://chromium.googlesource.com/external/gyp.git
 SET LIBSSH2_REPOSITORY_URL=https://github.com/libssh2/libssh2.git
 SET LIBSSH2_DIRECTORY=libssh2
@@ -123,9 +123,9 @@
 SET LIBSSH2_PACKAGE_VERSION=1.8.0
 SET OPENSSL_REPOSITORY_URL=https://github.com/openssl/openssl.git
 SET OPENSSL_DIRECTORY=openssl
-SET OPENSSL_1_0_BRANCH_TAG_VERSION=OpenSSL_1_0_2l
-SET OPENSSL_1_1_BRANCH_TAG_VERSION=OpenSSL_1_1_0f
-SET OPENSSL_PACKAGE_VERSION=1.0.2l
+SET OPENSSL_1_0_BRANCH_TAG_VERSION=OpenSSL_1_0_2m
+SET OPENSSL_1_1_BRANCH_TAG_VERSION=OpenSSL_1_1_0g
+SET OPENSSL_PACKAGE_VERSION=1.0.2m
 SET "SUPPORTED_OPENSSL_VERSIONS=1_0 1_1"
 SET "SUPPORTED_OPENSSL_DISPLAY_VERSIONS=1.0 1.1"
 SET ZLIB_REPOSITORY_URL=https://github.com/madler/zlib.git


Add even more debug prints to the AppVeyor scripts, switch from pip to pip3 and put the MinGW binary dir as the end of PATH instead of the beginning.

--- extras/scripts/postsubmit.bat
+++ extras/scripts/postsubmit.bat
@@ -3,12 +3,28 @@

 set PATH=C:\Windows\system32;C:\Windows;%PYTHON3_PATH%;%CMAKE_PATH%;

-rem TODO: Remove this.
-dir "%CMAKE_PATH%"
-
 if not "%VCVARSALL_DIR%" == "" CALL "%VCVARSALL_DIR%\vcvarsall.bat" amd64

-if not "%MINGW_PATH%" == "" SET PATH=%MINGW_PATH%;%PATH%
+if not "%MINGW_PATH%" == "" SET PATH=%PATH%%MINGW_PATH%;
+
+rem TODO: Remove this.
+dir "C:\Program Files (x86)"
+dir "C:\Program Files (x86)\Microsoft Visual Studio"
+dir "C:\Program Files (x86)\Microsoft Visual Studio\2017"
+dir "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community"
+dir "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7"
+dir "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE"
+dir "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE"
+dir "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions"
+dir "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft"
+dir "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake"
+dir "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake"
+dir "%CMAKE_PATH%"
+dir "%PYTHON3_PATH%"
+where python.exe
+where python3.exe
+where pip.exe
+where pip3.exe

 mkdir C:\Fruit\build-%CONFIGURATION%
 cd C:\Fruit\build-%CONFIGURATION%
@@ -22,6 +38,6 @@
   msbuild ALL_BUILD.vcxproj || exit /b 1
 )

-pip install nose2
+pip3 install nose2

 ctest.exe -j 1 --output-on-failure -C %CONFIGURATION% || exit /b 1


Update stage_2_de-bloat.bat

Update stage_2_de-bloat.bat

--- resources/stage_2_de-bloat/stage_2_de-bloat.bat
+++ resources/stage_2_de-bloat/stage_2_de-bloat.bat
@@ -155,7 +155,7 @@

 :: Stage complete
-call :log "%CUR_DATE% %TIME%   stage_2_de-bloat jobs complete."
+call :log "%CUR_DATE% %TIME%   stage_2_de-bloat complete."


Fixed classpath.

Fixed classpath.

git-svn-id: a96931f52205710513bdd6b78fe0280cb7e9dc06@314 e25e3cd6-ff2c-412d-a5cc-22119c6ca403

--- platforms/private-lan-platform/bin/eg.cmd
+++ platforms/private-lan-platform/bin/eg.cmd
@@ -43,7 +43,7 @@
 rem set cliExt=""
 set command_line=%*
 set launchTarget=com.elasticgrid.tools.cli.CLI
-set classpath=-cp "%EG_HOME%\lib\rio-cli.jar";"%JINI_LIB%\jsk-lib.jar";"%JINI_LIB%\jsk-platform.jar";"%EG_HOME%\lib\spring\spring.jar";"%EG_HOME%\lib\jakarta-commons\commons-logging.jar";"%EG_HOME%\lib\groovy\groovy-all-1.6.0.jar"
+set classpath=-cp "%EG_HOME%\lib\rio-cli.jar";"%JINI_LIB%\jsk-lib.jar";"%JINI_LIB%\jsk-platform.jar";"%EG_HOME%\lib\spring\spring.jar";"%EG_HOME%\lib\jakarta-commons\commons-logging.jar";"%EG_HOME%\lib\groovy\groovy-all-1.6.0.jar";"%EG_HOME%\lib\elastic-grid\slf4j-api-1.5.6.jar";"%EG_HOME%\lib\elastic-grid\slf4j-logj12-1.5.6.jar";"%EG_HOME%\lib\elastic-grid\elastic-grid-cli-${pom.version}.jar";"%EG_HOME%\lib\elastic-grid\amazon-ec2-provisioner-${pom.version}.jar";"%EG_HOME%\lib\elastic-grid\private-lan-provisioner-${pom.version}.jar"
 set props="-DRIO_HOME=%RIO_HOME% -DJINI_HOME=%JINI_HOME%"
 "%JAVACMD%" %classpath% -Xms256m -Xmx256m ^
     -Djava.util.logging.config.file="%EG_HOME%\config\eg-cli.logging.properties" ^


Use AbittiUSB paths to get .dd images (if present)

--- abitti_createvm.bat
+++ abitti_createvm.bat
@@ -1,6 +1,34 @@
 @ECHO OFF
 SET VBM="c:\program files\oracle\virtualbox\vboxmanage.exe"

+rem Make sure we have the dd images (use AbittiUSB to download these)
+IF NOT EXIST %LOCALAPPDATA%\YtlDigabi\koe.dd GOTO no_image_prof
+IF NOT EXIST %LOCALAPPDATA%\YtlDigabi\ktp.dd GOTO no_image_prof
+ECHO Images were found at %LOCALAPPDATA%\YtlDigabi\
+SET KOE_PATH="%LOCALAPPDATA%\YtlDigabi\koe.dd"
+SET KTP_PATH="%LOCALAPPDATA%\YtlDigabi\ktp.dd"
+ECHO Using images from the profile:
+ECHO KOE image path: %KOE_PATH%
+ECHO KTP image path: %KTP_PATH%
+GOTO create_vms
+
+:no_image_prof
+ECHO Images missing (%LOCALAPPDATA%\YtlDigabi\*.dd)
+IF NOT EXIST .\koe.dd GOTO no_image_here
+IF NOT EXIST .\ktp.dd GOTO no_image_here
+SET KOE_PATH=".\koe.dd"
+SET KTP_PATH=".\ktp.dd"
+ECHO Using images from the current directory:
+ECHO KOE image path: %KOE_PATH%
+ECHO KTP image path: %KTP_PATH%
+GOTO create_vms
+
+:no_image_here
+ECHO Images missing (.\*.dd)
+ECHO Use either standard AbittiUSB or your browser to download the images.
+GOTO end
+
+:create_vms
 rem Shutdown existing VM:s
 %VBM% controlvm Abitti-KOE poweroff
 %VBM% controlvm Abitti-KTP poweroff
@@ -9,20 +37,41 @@
 %VBM% unregistervm Abitti-KOE --delete
 %VBM% unregistervm Abitti-KTP --delete

+rem Make sure there are no settings directory
+IF NOT EXIST "%USERPROFILE%\VirtualBox VMs" GOTO vbox_directory_missing
+IF EXIST "%USERPROFILE%\VirtualBox VMs\Abitti-KOE" GOTO vbox_vm_dir_exists
+IF EXIST "%USERPROFILE%\VirtualBox VMs\Abitti-KTP" GOTO vbox_vm_dir_exists
+GOTO check_vdifiles
+
+:vbox_vm_dir_exists
+ECHO You have at least one of these two directories:
+ECHO 1) %USERPROFILE%\VirtualBox VMs\Abitti-KOE
+ECHO 2) %USERPROFILE%\VirtualBox VMs\Abitti-KTP
+ECHO Please delete these directories and re-run this script.
+GOTO end
+
+:vbox_directory_missing
+ECHO Directory %USERPROFILE%\Virtualbox VMs is missing.
+ECHO Execute VirtualBox at least once to create it.
+GOTO end
+
+:check_vdifiles
 rem Delete existing disk images
-IF NOT EXIST *.vdi GOTO Create_VMs
+IF NOT EXIST *.vdi GOTO convert_disks

 SET /P ANSWER=VDI files exist. Delete vdi files? (Y/N)?
 IF /i {%ANSWER%}=={y} (GOTO Remove_Disks)
-GOTO Create_VMs
+GOTO convert_disks

 :Remove_Disks
 del *.vdi

-:Create_VMs
+:convert_disks
 rem Convert disk images
-%VBM% convertfromraw ktp.dd ktp.vdi --format vdi
-%VBM% convertfromraw koe.dd koe.vdi --format vdi
+%VBM% convertfromraw %KTP_PATH% ktp.vdi --format vdi
+%VBM% convertfromraw %KOE_PATH% koe.vdi --format vdi
+rem %VBM% convertfromraw ktp_padded.dd ktp.vdi --format vdi
+rem %VBM% convertfromraw koe_padded.dd koe.vdi --format vdi

 rem Add more size to KTP/KOE image
 %VBM% modifyhd "%CD%\ktp.vdi" --resize 8192
@@ -42,11 +91,13 @@
 %VBM% storageattach Abitti-KOE --storagectl "SATA" --device 0 --port 0 --type hdd --medium "%CD%\koe.vdi"
 %VBM% storageattach Abitti-KTP --storagectl "SATA" --device 0 --port 0 --type hdd --medium "%CD%\ktp.vdi"

-%VBM% modifyvm Abitti-KOE --audiocontroller hda
+REM If you have problems with audio try different audio controllers: "ac97", "hda", "sb16"
+%VBM% modifyvm Abitti-KOE --audiocontroller ac97

 rem Take initial snapshots
 %VBM% snapshot Abitti-KOE take "Before first boot"
 %VBM% snapshot Abitti-KTP take "Before first boot"

-echo "All Done!"
-pause
+echo All Done!
+:end
+pause


Oops, forgot to remove comment to turn echo off

--- launcher/bin/mboss.bat
+++ launcher/bin/mboss.bat
@@ -1,4 +1,4 @@
-REM @echo off
+@echo off

 @if not "%ECHO%" == ""  echo %ECHO%
 @if "%OS%" == "Windows_NT" setlocal


add substr.bat

add substr.bat

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

--- bin/substr.bat
+++ bin/substr.bat
@@ -0,0 +1,28 @@
+@echo off
+setlocal
+if "%~1"=="" call :USAGE & goto :eof
+
+rem pCv
+if "%~1"=="\o" (
+	for /f "usebackq tokens=*" %%i in (`findstr .*`) do (
+		call :MAIN "%%i" "%~2" "%~3"
+	)
+) else (
+	call :MAIN "%~1" "%~2" "%~3"
+)
+
+goto :eof
+
+rem ********************************************************************************
+:USAGE
+echo USAGE:
+echo  SUBSTR str start [len]
+echo  SUBSTR \o start [len] ^< stdIn
+exit /b
+
+:MAIN
+set str=%~1
+set start=%~2
+if not "%~3"=="" set len=^^,%~3
+for /f "usebackq tokens=*" %%i in (`echo %%str:~%start%%len%%%`) do @echo %%i
+exit /b


build-msvc.cmd: Turn echo on before building. Hide the pause prompt command.

--- build-msvc.cmd
+++ build-msvc.cmd
@@ -7,7 +7,8 @@
 )

 rem Build Picol with MSVC.
+echo on
 call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
 echo on
 nmake /F Makefile.nmake
-if "%flag_batch%"=="0" pause
+@if "%flag_batch%"=="0" pause


Added sample windows build cmd script.

Added sample windows build cmd script.

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

--- win_build.cmd
+++ win_build.cmd
@@ -0,0 +1,9 @@
+SET BOOST_ROOT=c:/local/boost_1_58_0/
+SET BOOST_LIBRARYDIR=c:/local/boost_1_58_0/lib64-msvc-12.0/
+SET MONGO_ROOT=c:/local/mongo-cxx-driver/
+SET ASSIMP_ROOT=c:/local/assimp/
+
+mkdir build
+cd build
+cmake -G "Visual Studio 12 Win64" ../
+msbuild ALL_BUILD.vcxproj


build script: set the default file encoding for ant. Closes #729.

--- runbuildscript.bat
+++ runbuildscript.bat
@@ -2,4 +2,5 @@
 # If you're on a mac or linux, just run `ant build` from this folder in Terminal

 set MYDIR=%~dp0
+set ANT_OPTS=-D"file.encoding=UTF-8"
 ant build


Recompiled libraries with ImageMagick 7.

--- ImageMagick/Source/Checkout.cmd
+++ ImageMagick/Source/Checkout.cmd
@@ -1,7 +1,7 @@
 @echo off

 set REPOS=http://git.imagemagick.org/repos
-set DATE=2015-11-09 00:01
+set DATE=2015-11-09 20:23

 set BASH="%PROGRAMFILES%\Git\bin\bash.exe"
 if exist %BASH% goto EXECUTE


Bug 61529 : Migration to Java 9 , fix unused ADD_MODS on windows
Bugzilla Id: 61529

git-svn-id: 5ccfe34f605a6c2f9041ff2965ab60012c62539a@1822407 13f79535-47bb-0310-9956-ffa450edef68

--- bin/jmeter.bat
+++ bin/jmeter.bat
@@ -178,7 +178,7 @@
 rem Collect the settings defined above
 set ARGS=%SERVER% %DUMP% %HEAP% %VERBOSE_GC% %GC_ALGO% %DDRAW% %SYSTEM_PROPS% %RUN_IN_DOCKER%

-%JM_START% %JM_LAUNCH% %ARGS% %JVM_ARGS% -jar "%JMETER_BIN%ApacheJMeter.jar" %JMETER_CMD_LINE_ARGS%
+%JM_START% %JM_LAUNCH% %ADD_MODS% %ARGS% %JVM_ARGS% -jar "%JMETER_BIN%ApacheJMeter.jar" %JMETER_CMD_LINE_ARGS%

 rem If the errorlevel is not zero, then display it and pause


Adding AppVeyor.com for CI on Windows.

Adding AppVeyor.com for CI on Windows.

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

--- .appveyor.bat
+++ .appveyor.bat
@@ -0,0 +1,11 @@
+rem Build and Test Script for STXXL
+
+cd /D %BuildFolder%
+cmake %SrcFolder% -G"Visual Studio 11" -DBUILD_TESTS=ON
+
+rem Build default project
+rem cmake --build .
+msbuild %MSBuildLogger%\my-msbuild-log.xml stxxl.sln
+
+rem Run test suite
+rem cmake --build . --target RUN_TESTS


Add a simple Windows command-line build script (#6674)

Batch file that offers a single command line and sensible defaults to:
initialize the primary Visual Studio build environment, handle directory
creation/cleaning, run cmake, launch msbuild, etc.

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

--- build_win.bat
+++ build_win.bat
@@ -0,0 +1,190 @@
+@setlocal disableDelayedExpansion enableExtensions
+@echo off
+GOTO :MAIN
+:HELP
+@ECHO Performs initial build or rebuild of the app (build) and deps (build/deps).
+@ECHO Default options are determined from build directories and system state.
+@ECHO.
+@ECHO Usage: build_win [-ARCH ^<arch^>] [-CONFIG ^<config^>] [-DESTDIR ^<directory^>]
+@ECHO                  [-STEPS ^<all^|all-dirty^|app^|app-dirty^|deps^|deps-dirty^>]
+@ECHO.
+@ECHO  -a -ARCH        Target processor architecture
+@ECHO                  Default: %PS_ARCH_HOST%
+@ECHO  -c -CONFIG      MSVC project config
+@ECHO                  Default: %PS_CONFIG_DEFAULT%
+@ECHO  -s -STEPS       Performs only the specified build steps:
+@ECHO                    all - clean and build deps and app
+@ECHO                    all-dirty - build deps and app without cleaning
+@ECHO                    app - build main project/application
+@ECHO                    app-dirty - does not build main project/application
+@ECHO                    deps - clean and build deps
+@ECHO                    deps-dirty - build deps without cleaning
+@ECHO                  Default: %PS_STEPS_DEFAULT%
+@ECHO  -d -DESTDIR     Deps destination directory
+@ECHO                  %PS_DESTDIR_DEFAULT_MSG%
+@ECHO.
+@ECHO  Example usage:
+@ECHO                  First build:  build_win -d "c:\src\PrusaSlicer-deps"
+@ECHO                  Deps change:  build_win -s all
+@ECHO                  App rebuild:  build_win
+GOTO :END
+
+:MAIN
+SET START_TIME=%TIME%
+pushd %~dp0
+REM Probe build directories and sytem state for reasonable default arguments
+SET PS_CONFIG=RelWithDebInfo
+SET PS_ARCH=%PROCESSOR_ARCHITECTURE%
+CALL :TOLOWER PS_ARCH
+SET DEPS_PATH_FILE=%~dp0deps\build\.DEPS_PATH.txt
+SET PS_DESTDIR=
+IF EXIST %DEPS_PATH_FILE% (
+    FOR /F "tokens=* USEBACKQ" %%I IN ("%DEPS_PATH_FILE%") DO SET PS_DESTDIR=%%I
+    IF EXIST build/ALL_BUILD.vcxproj (
+        SET PS_STEPS=app-dirty
+    ) ELSE SET PS_STEPS=app
+) ELSE SET PS_STEPS=all
+
+REM Set up parameters used by help menu
+SET PS_CONFIG_DEFAULT=%PS_CONFIG%
+SET PS_ARCH_HOST=%PS_ARCH%
+SET PS_STEPS_DEFAULT=%PS_STEPS%
+IF "%PS_DESTDIR%" NEQ "" (
+    SET PS_DESTDIR_DEFAULT_MSG=Default: %PS_DESTDIR%
+) ELSE (
+    SET PS_DESTDIR_DEFAULT_MSG=Argument required ^(no default available^)
+)
+
+REM Parse arguments
+SET EXIT_STATUS=1
+SET PARSER_STATE=
+SET PARSER_FAIL=
+FOR %%I in (%*) DO CALL :PARSE_OPTION "ARCH CONFIG DESTDIR STEPS" PARSER_STATE "%%~I"
+IF "%PARSER_FAIL%%PARSER_STATE%" NEQ "" GOTO :HELP
+
+REM Validate arguments
+CALL :PARSE_OPTION_NAME "all all-dirty deps-dirty deps app-dirty app" PS_STEPS -%PS_STEPS%
+IF "%PS_STEPS%" EQU "" GOTO :HELP
+(echo %PS_STEPS%)| findstr /I /C:"dirty">nul && SET PS_STEPS_DIRTY=1
+CALL :TOLOWER PS_STEPS
+CALL :TOLOWER PS_ARCH
+IF "%OPTION_NAME%" NEQ "" GOTO :HELP
+IF "%PS_STEPS_DIRTY%%PS_DESTDIR%" EQU "" GOTO :HELP
+
+REM Set up MSVC environment
+SET EXIT_STATUS=2
+@ECHO **********************************************************************
+@ECHO ** Build Config: %PS_CONFIG%
+@ECHO ** Target Arch:  %PS_ARCH%
+@ECHO ** Build Steps:  %PS_STEPS%
+@ECHO ** Using Microsoft Visual Studio installation found at:
+SET VSWHERE="%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
+IF NOT EXIST %VSWHERE% SET VSWHERE="%ProgramFiles%\Microsoft Visual Studio\Installer\vswhere.exe"
+FOR /F "tokens=* USEBACKQ" %%I IN (`%VSWHERE% -nologo -property installationPath`) DO SET MSVC_DIR=%%I
+@ECHO **  %MSVC_DIR%
+CALL "%MSVC_DIR%\Common7\Tools\vsdevcmd.bat" -arch=%PS_ARCH% -host_arch=%PS_ARCH_HOST% -app_platform=Desktop || GOTO :END
+IF /I "%PS_STEPS:~0,3%" EQU "app" GOTO :BUILD_APP
+
+REM Build deps
+:BUILD_DEPS
+SET EXIT_STATUS=3
+IF "%PS_STEPS_DIRTY%" EQU "" CALL :MAKE_OR_CLEAN_DIRECTORY deps\build
+cd deps\build || GOTO :END
+IF "%PS_STEPS_DIRTY%" EQU "" cmake.exe .. -DDESTDIR="%PS_DESTDIR%" || GOTO :END
+(echo %PS_DESTDIR%)> "%DEPS_PATH_FILE%"
+msbuild /m ALL_BUILD.vcxproj /p:Configuration=%PS_CONFIG% || GOTO :END
+cd ..\..
+IF /I "%PS_STEPS:~0,4%" EQU "deps" GOTO :PROLOGUE
+
+REM Build app
+:BUILD_APP
+SET EXIT_STATUS=4
+IF "%PS_STEPS_DIRTY%" EQU "" CALL :MAKE_OR_CLEAN_DIRECTORY build
+cd build || GOTO :END
+IF "%PS_STEPS_DIRTY%" EQU "" cmake.exe .. -DCMAKE_PREFIX_PATH="%PS_DESTDIR%\usr\local" || GOTO :END
+msbuild /m ALL_BUILD.vcxproj /p:Configuration=%PS_CONFIG% || GOTO :END
+
+:PROLOGUE
+SET EXIT_STATUS=%ERRORLEVEL%
+:END
+@ECHO Script started at %START_TIME% and completed at %TIME%.
+popd
+endlocal
+exit /B %EXIT_STATUS%
+
+GOTO :EOF
+REM Functions and stubs start here.
+
+:PARSE_OPTION
+REM Argument parser called for each argument
+REM %1 - Valid option list
+REM %2 - Variable name for parser state; must be unset when parsing finished
+REM %3 - Current argument value
+REM PARSER_FAIL will be set on an error
+REM Note: Must avoid delayed expansion since filenames may contain ! character
+setlocal disableDelayedExpansion
+CALL SET LAST_ARG=%%%2%%
+IF "%LAST_ARG%" EQU "" (
+    CALL :PARSE_OPTION_NAME %1 %~2 %~3 1
+    SET ARG_TYPE=NAME
+) ELSE (
+    SET PS_SET_COMMAND=^&SET PS_%LAST_ARG%=%~3
+    SET ARG_TYPE=LAST_ARG
+    SET %~2=
+)
+CALL SET LAST_ARG=%%%2%%
+IF "%LAST_ARG%" EQU "" IF "%ARG_TYPE%" EQU "NAME" SET PARSER_FAIL=1
+endlocal & (SET PARSER_FAIL=%PARSER_FAIL%) & (SET %~2=%LAST_ARG%) %PS_SET_COMMAND%
+GOTO :EOF
+
+:PARSE_OPTION_NAME
+REM Parses an option name
+REM %1 - Valid option list
+REM %2 - Out variable name; unset on error
+REM %3 - Current argument value
+REM $4 - Boolean indicating single character switches are valid
+REM Note: Delayed expansion safe because ! character is invalid in option name
+setlocal enableDelayedExpansion
+IF "%4" NEQ "" FOR %%I IN (%~1) DO (
+    SET SHORT_NAME=%%~I
+    SET SHORT_ARG_!SHORT_NAME:~0,1!=%%~I
+)
+SET OPTION_NAME=%~3
+(echo %OPTION_NAME%)| findstr /R /C:"[-/]..*">nul || GOTO :PARSE_OPTION_NAME_FAIL
+SET OPTION_NAME=%OPTION_NAME:~1%
+IF "%4" NEQ "" (
+    IF "%OPTION_NAME%" EQU "%OPTION_NAME:~0,1%" (
+        IF "!SHORT_ARG_%OPTION_NAME:~0,1%!" NEQ "" SET OPTION_NAME=!SHORT_ARG_%OPTION_NAME:~0,1%!
+    )
+)
+(echo %OPTION_NAME%)| findstr /R /C:".[ ][ ]*.">nul && GOTO :PARSE_OPTION_NAME_FAIL
+(echo  %~1 )| findstr /I /C:" %OPTION_NAME% ">nul || GOTO :PARSE_OPTION_NAME_FAIL
+endlocal & SET %~2=%OPTION_NAME%
+GOTO :EOF
+:PARSE_OPTION_NAME_FAIL
+endlocal & SET %~2=
+GOTO :EOF
+
+:MAKE_OR_CLEAN_DIRECTORY
+REM Create directory if it doesn't exist or clean it if it does
+REM %1 - Directory path to clean or create
+setlocal disableDelayedExpansion
+IF NOT EXIST "%~1" (
+    ECHO Creating %~1
+    mkdir "%~1" && GOTO :EOF
+)
+ECHO Cleaning %~1 ...
+for /F "usebackq delims=" %%I in (`dir /a /b "%~1"`) do (
+    (rmdir /s /q  "%~1\%%I" 2>nul ) || del /q /f "%~1\%%I")
+GOTO :EOF
+
+:TOLOWER
+REM Converts supplied environment variable to lowercase
+REM %1 - Input/output variable name
+REM Note: This is slow on very long strings, but is used only on very short ones
+setlocal disableDelayedExpansion
+FOR %%b IN (a b c d e f g h i j k l m n o p q r s t u v w x y z) DO CALL set %~1=%%%1:%%b=%%b%%
+CALL SET OUTPUT=%%%~1%%
+endlocal & SET %~1=%OUTPUT%
+GOTO :EOF
+


CI: dev_env script for windows runner

CI: dev_env script for windows runner

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

--- CI/dev_env.bat
+++ CI/dev_env.bat
@@ -0,0 +1,68 @@
+@echo off
+:: check input arguments
+if %1.==. (
+  echo "No arch"
+  call :Help
+  goto :eof
+)
+
+if /I "%1"=="help" (
+  call :Help
+  goto :eof
+)
+
+if /I "%1"=="/help" (
+  call :Help
+  goto :eof
+)
+
+if /I "%1"=="-help" (
+  call :Help
+  goto :eof
+)
+
+set ARCH=%1
+
+if %2.==. (
+  set TARGET=10.0.17763.0
+) else (
+  set TARGET=%2
+)
+
+if %3.==. (
+  set VCVER=14.0
+) else (
+  set VCVER=%3
+)
+
+:: Setup Python
+set PATH=%PATH%;C:\tools\Python35-%ARCH%
+set PATH=%PATH%;C:\tools\Python35-%ARCH%\Scripts
+
+:: Setup compiler
+call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\VC\vcvarsall.bat" %ARCH% %TARGET% -vcvars_ver=%VCVER%
+
+:: Setup Clcache
+set CLCACHE_DIR=C:\clcache\%ARCH%-%TARGET%-%VCVER%
+set CLCACHE_HARDLINK=1
+set CLCACHE_SERVER=1
+set CLCACHE_CL=
+for /F %%a in ('where cl.exe') do @if defined CLCACHE_CL (break ) else (set CLCACHE_CL=%%a)
+
+echo CL path: "%CLCACHE_CL%"
+
+:: if we need to change cache max size: clcache -M <size-in-bytes>
+
+goto :eof
+
+:Help
+setlocal
+echo "Usage: dev_env.bat <compiler_arch>  [<target-os>  [<vc_version>]]"
+echo "  <compiler_arch> : 'x86' | 'x64'"
+echo "  <target-os>     : '8.1' | '10.0.17763.0' (default)"
+echo "  <vc_version>    :"
+echo "    '14.20' (i.e. VS 2019)"
+echo "    '14.16' (i.e. VS 2017)"
+echo "    '14.0'  (i.e. VS 2015) (default)"
+endlocal
+goto :eof


Added a way to locate the path in bat script

--- cmd/smoke.bat
+++ cmd/smoke.bat
@@ -1 +1,5 @@
-java %JAVA_OPTIONS% -cp "%CLASSPATH%;target/sparql-query-bm-cli.jar" net.sf.sparql.benchmarking.commands.SmokeCommand %*+@echo off
+rem locate where the batch is running
+for /f %%i in ("%0") do set curpath=%%~dpi
+cd /d %curpath%
+java %JAVA_OPTIONS% -cp "%CLASSPATH%;%curpath%sparql-query-bm-cli.jar" net.sf.sparql.benchmarking.commands.SmokeCommand %*


see: http://stackoverflow.com/questions/4367930/errorlevel-inside-if

--- bin/busted.bat
+++ bin/busted.bat
@@ -1,4 +1,5 @@
 @ECHO OFF
+setlocal ENABLEDELAYEDEXPANSION
 for /f "delims=" %%i in ('cd') do set cwd=%%i
 for %%X in (luajit.exe) do (set FOUND=%%~$PATH:X)
 if defined FOUND (
@@ -18,6 +19,6 @@
     ("%cmd%" "%~dp0busted_bootstrap" %*)
   ) else (
     ("%cmd%" "%~dp0busted_bootstrap" --cwd="%cwd%\\" %*)
-    exit /B %ERRORLEVEL%
+    exit /B !ERRORLEVEL!
   )
 )


Correct comments. On windows these are rem instead of #.

Bugzilla Id: 61970

git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1822029 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: b57585af58d2763b2aaeb6f512a1586323d527b5

--- bin/jmeter.bat
+++ bin/jmeter.bat
@@ -27,8 +27,8 @@
 rem   =====================================================

 setlocal
-# Set language
-# Default to en_EN
+rem Set language
+rem Default to en_EN
 set JVM_ARGS=-Duser.language="en" -Duser.region="EN"
 rem Minimal version to run JMeter
 set MINIMAL_VERSION=1.8.0


Bug 61694 : add -server option to jmeter.bat, fix (thank to Pascal Schumacher)

git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1813727 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: b3a1ca252a4c44a50852a26e118910a1983b2c74

--- bin/jmeter.bat
+++ bin/jmeter.bat
@@ -127,7 +127,7 @@
 set SERVER=-server

 rem Collect the settings defined above
-set ARGS=%DUMP% %DUMP% %HEAP% %VERBOSE_GC% %GC_ALGO% %DDRAW% %SYSTEM_PROPS% %RUN_IN_DOCKER%
+set ARGS=%SERVER% %DUMP% %HEAP% %VERBOSE_GC% %GC_ALGO% %DDRAW% %SYSTEM_PROPS% %RUN_IN_DOCKER%

 %JM_START% %JM_LAUNCH% %ARGS% %JVM_ARGS% -jar "%JMETER_BIN%ApacheJMeter.jar" %JMETER_CMD_LINE_ARGS%


add mounta command

add mounta command

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

--- bin/mounta.bat
+++ bin/mounta.bat
@@ -0,0 +1,3 @@
+@echo off
+net use
+subst


Quote executable path on Windows, closes #9242 (#9243)

--- bin/elixir.bat
+++ bin/elixir.bat
@@ -156,9 +156,9 @@
   set beforeExtra=-noshell -s elixir start_cli !beforeExtra!
 )
 if defined useWerl (
-  start !ERTS_BIN!werl.exe !ext_libs! !ELIXIR_ERL_OPTIONS! !parsErlang! !beforeExtra! -extra !parsElixir!
+  start "" "!ERTS_BIN!werl.exe" !ext_libs! !ELIXIR_ERL_OPTIONS! !parsErlang! !beforeExtra! -extra !parsElixir!
 ) else (
-  !ERTS_BIN!erl.exe !ext_libs! !ELIXIR_ERL_OPTIONS! !parsErlang! !beforeExtra! -extra !parsElixir!
+  "!ERTS_BIN!erl.exe" !ext_libs! !ELIXIR_ERL_OPTIONS! !parsErlang! !beforeExtra! -extra !parsElixir!
 )
 :end
 endlocal


Updated windows elixir.bat to use -pa instead of -env ERL_LIBS

Fixes #1469

--- bin/elixir.bat
+++ bin/elixir.bat
@@ -51,7 +51,7 @@
 shift
 if "%par%"=="" (
   rem if no parameters defined
-  goto :run
+  goto :expand_erl_libs
 )
 rem ******* ERLANG PARAMETERS **********************
 for /f "usebackq" %%m in (`echo %par%^|findstr \--detached`) do (
@@ -115,5 +115,11 @@
   goto:startloop
 )
 rem ******* assume all pre-params are parsed ********************
+:expand_erl_libs
+rem ******* expand all ebin paths as Windows does not support the ..\*\ebin wildcard ********************
+set ext_libs=
+for  /d %%d in ("%originPath%..\lib\*.") do (
+  set ext_libs=!ext_libs! -pa "%%~fd\ebin"
+)
 :run
-erl -env ERL_LIBS %ERL_LIBS%;"%originPath%\..\lib" -noshell %ELIXIR_ERL_OPTS% %parsErlang% -s elixir start_cli %beforeExtra% -extra %*
+erl %ext_libs% -noshell %ELIXIR_ERL_OPTS% %parsErlang% -s elixir start_cli %beforeExtra% -extra %*


Echo commands and exit on error

Echo commands and exit on error

--- recipes/clingo/bld.bat
+++ recipes/clingo/bld.bat
@@ -1,3 +1,5 @@
+echo ON
+
 mkdir build

 cmake -G "%CMAKE_GENERATOR%" -H. -Bbuild ^
@@ -10,6 +12,10 @@
     -DCLINGO_BUILD_WITH_LUA=OFF ^
     -DCLINGO_MANAGE_RPATH=OFF ^
     -DCMAKE_INSTALL_BINDIR="."
-
+if errorlevel 1 exit 1
+
 cmake --build build --config Release
+if errorlevel 1 exit 1
+
 cmake --build build --config Release --target install
+if errorlevel 1 exit 1


scripts: lein clean first, just in case

scripts: lein clean first, just in case

--- lein_jar.bat
+++ lein_jar.bat
@@ -4,7 +4,7 @@
 @echo off
 set JAVA_CMD="c:\program files\java\jdk1.6.0_31\bin\java.exe"
 @rem note that this won't be enough(use uberjar instead) if your project deps have anything newer than what cljminecraft project has FIXME:
-call lein jar
+call lein do clean, jar

 set deployDIR=deploy
 rem %deployDIR% is a folder link to your running server's plugin folder


Fix inititial build after cloning repo.

Fix inititial build after cloning repo.

--- Bld/build.bat
+++ Bld/build.bat
@@ -45,13 +45,20 @@
 if /I "%1"=="nosync" set NoSync=true
 if /I "%1"=="clean" set CleanOnly=true
 if /I "%1"=="noclean" set NoClean=true
-if /I "%1"=="" goto :step2
+if /I "%1"=="" goto :initsub
 if /I "%1"=="/?" goto :help
 if /I "%1"=="/h" goto :help
 if /I "%1"=="/help" goto :help
 if /I "%1"=="help" goto :help
 shift
 goto :parseargs
+
+:initsub
+if exist "Ext\Formula\README.md" goto :updatesub
+
+echo ### Initializing your submodules
+git submodule init
+git submodule update

 :checksubmodule
 for /f "usebackq tokens=1,2*" %%i in (`git submodule summary %1`) do (
@@ -60,20 +67,20 @@

 goto :eof

-:step2
-
+:updatesub
 if "%NoSync%"=="true" goto :nosync

+echo ### Updating your submodules
 call :checksubmodule Ext/Formula
 call :checksubmodule Ext/Zing

 if "%SubmoduleOutOfDate%"=="false" goto :nosync

-
 :sync
 echo ### Fixing your submodules so they are up to date...
 git submodule sync --recursive
 git submodule update --init --recursive
+goto :nosync

 :nosync
 cd ext\zing