Made a version that works on Windows

Made a version that works on Windows

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

--- cabin.bat
+++ cabin.bat
@@ -0,0 +1,42 @@
+@echo off
+setlocal
+set cabinfile=cabin.pkg
+if not exist %cabinfile% goto :missing_file
+if not exist Public mkdir Public
+for /f "tokens=*" %%i in (%cabinfile%) do call :main "%%i"
+goto :eof
+
+:fetch_pkg
+set pkg=%1
+set repo=%2
+set ver=%3
+set url="https://github.com/%repo%"
+cd Public
+if not exist %pkg% (
+	@echo on
+	git clone %url: =% %pkg%
+	cd %pkg%
+	@echo off
+) else (
+	cd %pkg%
+)
+call :checkout_ver %ver%
+cd ..
+cd ..
+goto :eof
+
+:checkout_ver
+@echo on
+git fetch --tags
+git checkout %1
+@echo off
+goto :eof
+
+:main
+@echo off
+for /f "tokens=1-3 delims= " %%a in (%1) do call :fetch_pkg %%a %%b %%c
+goto :eof
+
+:missing_file
+echo Missing file %cabinfile%
+exit /b


[Misc] Add remove_empty_lines script

[Misc] Add remove_empty_lines script

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

--- miscellaneous/remove_empty_lines.bat
+++ miscellaneous/remove_empty_lines.bat
@@ -0,0 +1,12 @@
+REM This Windows batch script removes empty lines from a text file.
+
+IF "%1"=="" (
+    ECHO Error: An absolute file path must be provided as the argument.
+    EXIT /B 1
+)
+
+REM [%DATE%-%TIME%] Removing empty lines from file %1
+
+COPY %1 %1.tmp
+FINDSTR "." %1.tmp > %1
+DEL %1.tmp


Add more software

Add more software

--- installSoftware.cmd
+++ installSoftware.cmd
@@ -1,5 +1,12 @@
 choco install google-chrome-x64
 choco install googlechrome.canary
 choco install chromedriver2
+choco install firefox
 choco install autohotkey.portable
 choco install nodejs.install
+choco install git
+choco install tortoisegit
+choco install cmder
+choco install python
+choco install ruby
+choco install rubygems


New build script for windows.

New build script for windows.

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

--- win-release-build.bat
+++ win-release-build.bat
@@ -0,0 +1,5 @@
+md build
+cd build
+cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CONFIGURATION_TYPES=Release -G "Visual Studio 12 2013" ..
+devenv musicgame.sln /build
+pause


Update install_bigfix.bat

Update install_bigfix.bat

--- CMD/install_bigfix.bat
+++ CMD/install_bigfix.bat
@@ -1,6 +1,6 @@
 :<<"::CMDLITERAL"

-IF [%1] == [] ECHO no args && EXIT /B
+IF [%1] == [] ECHO please provide FQDN for root or relay && EXIT /B
 SET MASTHEADURL=http://%1:52311/masthead/masthead.afxm
 SET BASEFOLDER=C:\Windows\Temp


GERONIMO-4540 add system error output to geronimo.out

git-svn-id: 0d16bf2c240b8111500ec482b35765e5042f5526@1171483 13f79535-47bb-0310-9956-ffa450edef68

--- framework/configs/karaf-framework/src/main/distribution/windows-text/bin/internalLauncher.bat
+++ framework/configs/karaf-framework/src/main/distribution/windows-text/bin/internalLauncher.bat
@@ -26,6 +26,6 @@
 set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1

 :doneSetArgs
-%_RUNJAVA% %JAVA_OPTS% %GERONIMO_OPTS% %JAVA_AGENT_OPTS% %CONSOLE_OPTS% -Dorg.apache.geronimo.home.dir="%GERONIMO_HOME%"  -Dkaraf.home="%GERONIMO_HOME%" -Dkaraf.base="%GERONIMO_HOME%" -Djava.util.logging.config.file="%GERONIMO_HOME%\etc\java.util.logging.properties" -Djava.endorsed.dirs="%GERONIMO_HOME%\lib\endorsed;%JRE_HOME%\lib\endorsed" -Djava.ext.dirs="%GERONIMO_HOME%\lib\ext;%JRE_HOME%\lib\ext" -Djava.io.tmpdir="%GERONIMO_TMPDIR%" -classpath "%CLASSPATH%" %MAINCLASS% %_LONG_OPT% %CMD_LINE_ARGS% >> "%GERONIMO_HOME%\var\log\geronimo.out"
+%_RUNJAVA% %JAVA_OPTS% %GERONIMO_OPTS% %JAVA_AGENT_OPTS% %CONSOLE_OPTS% -Dorg.apache.geronimo.home.dir="%GERONIMO_HOME%"  -Dkaraf.home="%GERONIMO_HOME%" -Dkaraf.base="%GERONIMO_HOME%" -Djava.util.logging.config.file="%GERONIMO_HOME%\etc\java.util.logging.properties" -Djava.endorsed.dirs="%GERONIMO_HOME%\lib\endorsed;%JRE_HOME%\lib\endorsed" -Djava.ext.dirs="%GERONIMO_HOME%\lib\ext;%JRE_HOME%\lib\ext" -Djava.io.tmpdir="%GERONIMO_TMPDIR%" -classpath "%CLASSPATH%" %MAINCLASS% %_LONG_OPT% %CMD_LINE_ARGS% >> "%GERONIMO_HOME%\var\log\geronimo.out" 2>&1
 if not %errorlevel% == 0 pause
 exit %errorlevel%


[issue #2] Fix .bat script of the archetype

Strangely prefixing the line with an '@' seems to cause Maven to ignore it
when filtering

--- slick2d-basic-game-archetype/src/main/resources/archetype-resources/src/main/scripts/game.bat
+++ slick2d-basic-game-archetype/src/main/resources/archetype-resources/src/main/scripts/game.bat
@@ -1 +1,2 @@
-@java -jar -Djava.library.path="lib/" "${project.build.finalName}.${project.packaging}"
+@echo off
+java -jar -Djava.library.path="lib/" "${project.build.finalName}.${project.packaging}"


support FreeXL on MinGW+MSYS

support FreeXL on MinGW+MSYS

--- build_freexl.bat
+++ build_freexl.bat
@@ -6,11 +6,12 @@
 cd freexl-1.0.0g

 if "%COMPILER%" == "MINGW" (
-   echo "Sorry, MINGW is not supported for now"
-   exit /b 1
-)
-
-"%SEDC%" -i nmake.opt -e s@INSTDIR=.*@INSTDIR=\$\(PREFIX\)@"
+  if NOT EXIST Makefile (bash -c "./configure --prefix=%PREFIX:\=/%")
+  %ER%
+  bash -c "make install"
+  %ER%
+) else (
+"%SEDC%" -i nmake.opt -e "s@INSTDIR=.*@INSTDIR=\$\(PREFIX\)@"

 if "%Variant%" == "Debug" (
    "%SEDC%" -i nmake.opt -e "s@\/MD @\/MDd \/Zi @"
@@ -26,4 +27,5 @@
 "%SEDC%" -i "src/freexl.c" -e "s@lround (double@lround_old (double@"

 nmake -f makefile.vc install
-%ER%+%ER%
+)


retrieving matlab version in windows script

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

--- src/Extensions/org/objectweb/proactive/extensions/scheduler/ext/matlab/find_matlab_command.bat
+++ src/Extensions/org/objectweb/proactive/extensions/scheduler/ext/matlab/find_matlab_command.bat
@@ -1,6 +1,7 @@
 @echo off
 SETLOCAL ENABLEDELAYEDEXPANSION
 rem ************* We look at the Registry key where the Path to Matlab is stored *************
+rem *** retrieve the Matlab command
 FOR /F "usebackq skip=2 tokens=1,3 delims=	" %%i in ( `REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Mathworks\MATLAB" /s` ) DO (
 	rem ************** We look at the right key among the results, we exit at the first Matlab instance ***********************
 	IF "%%i" == "    MATLABROOT" (
@@ -8,5 +9,13 @@
 		break
 	)
 )
-echo win32
+echo bin\win32
+rem *** retrieve the Matlab version
+FOR /F "usebackq skip=2 tokens=1,2,3,4,5 delims=\" %%i in ( `REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Mathworks\MATLAB" /s` ) DO (
+	rem ************** We look at the right key among the results, we exit at the first Matlab instance ***********************
+	IF "%%m" NEQ "" (
+		echo %%m
+		break
+	)
+)
 ENDLOCAL


OSVR-Core now has an osvrCommon.dll we need.

--- ci-postbuild.cmd
+++ ci-postbuild.cmd
@@ -9,7 +9,7 @@
 xcopy %SRC%\bin\*-OpenThreads.dll %DEST% /Y

 for /D %%F in (%SRC%\bin\osgPlugins*) do xcopy %%F %DEST% /Y /S
-for %%F in (%SRC%\osvr-ver.txt,%SRC%\bin\osvrClientKit.dll,%SRC%\bin\osvrClient.dll,%SRC%\bin\osvrTransform.dll,%SRC%\bin\osvrUtil.dll) do ( xcopy %%F %DEST% /Y )
+for %%F in (%SRC%\osvr-ver.txt,%SRC%\bin\osvrClientKit.dll,%SRC%\bin\osvrClient.dll,%SRC%\bin\osvrTransform.dll,%SRC%\bin\osvrUtil.dll,%SRC%\bin\osvrCommon.dll) do ( xcopy %%F %DEST% /Y )

 xcopy redist\*.* %DEST% /Y


fix #131 doctoolchain.bat

fix #131 doctoolchain.bat

--- bin/doctoolchain.bat
+++ bin/doctoolchain.bat
@@ -15,30 +15,38 @@
 set GRADLECMD=%BASEDIR%gradlew.bat
 set WORKINGDIR=%cd%\

-@rem Execute docToolchain
+@REM Execute docToolchain

-%GRADLECMD% --project-cache-dir %BASEDIR%.gradle -p %BASEDIR% -PdocDir=%WORKINGDIR%%1 %2 %3 %4 %5 %6 %7 %8 %9
+@REM %GRADLECMD% --project-cache-dir %BASEDIR%.gradle -p %BASEDIR% -PdocDir=%WORKINGDIR%%1 %2 %3 %4 %5 %6 %7 %8 %9
+
+cd %BASEDIR%
+
+./gradlew --project-cache-dir %BASEDIR%/.gradle -PdocDir=%WORKINGDIR%%1 %2 %3 %4 %5 %6

 goto :end

 :help

+
 echo Usage: doctoolchain docDir [option...] [task...]
-echo
+echo.
 echo docDir - Absolute directory with the documentation.
-echo
+echo.
 echo You can use the same options and tasks as in underlying gradle.
 echo Use "doctoolchain . --help" to see available options.
 echo Use "doctoolchain . tasks" to see available tasks.
-echo
+echo.
 echo Examples:
-echo
+echo.
+echo   Init new project with arc42 tempalte
+echo     doctoolchain . -b init.gradle initArc42EN
+echo.
 echo   Generate PDF:
 echo     doctoolchain . generatePDF
-echo
+echo.
 echo   Generate HTML:
 echo     doctoolchain . generateHTML
-echo
+echo.
 echo   Publish HTML to Confluence:
 echo     doctoolchain . publishToConfluence -PconfluenceConfigFile=ConfluenceConfig.groovy --no-daemon -q
 goto :end


Remove other unneded file

Remove other unneded file

--- path/test_setup.bat
+++ path/test_setup.bat
@@ -1,8 +0,0 @@
-echo Test passed
-
-ping -n 5 localhost >nul
-
-cls
-
-goto end
-:end


Fix init.bat to set the classpath when running on dist/lib/.

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

--- bin/windows/init.bat
+++ bin/windows/init.bat
@@ -14,7 +14,7 @@

 rem ----
 rem Set up the classpath using classes dir or jar files
-rem
+rem ----

 IF DEFINED CLASSPATHEXT (
 	SET CLASSPATH=%CLASSPATHEXT%
@@ -22,22 +22,31 @@
 	SET CLASSPATH=.
 )

-
-rem Jars needed by the scheduler not included in the ProActive.jar jarindex
-set ADD_JARS="client.jar derby.jar derbytools.jar isorelax.jar js.jar msv.jar ProActive_resource-manager.jar ProActive_scheduler.jar ProActive_tests.jar relaxngDatatype.jar rngpack-1.1a.jar script-api.jar script-js.jar xsdlib.jar"
-
-
 rem Check if classes exists and is not empty
 IF EXIST "%PA_SCHEDULER%\classes\scheduler" (
 	SET CLASSPATH=%CLASSPATH%;%PA_SCHEDULER%\classes\resource-manager;%PA_SCHEDULER%\classes\scheduler
 	SET JARS=%PA_SCHEDULER%\lib\
 	FOR %%j IN ("%PA_SCHEDULER%\lib\*.jar") DO SET JARS=!JARS!;%%j
-rem Use jar index to avoid 'command too long'
+	rem Use jar index to avoid 'command too long'
 	SET JARS=!JARS!;%PA_SCHEDULER%\lib\ProActive\ProActive.jar
 	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
+	SET JARS=%PA_SCHEDULER%\dist\lib\ProActive.jar
+rem Jars needed by the scheduler not included in the ProActive.jar jarindex
+	SET JARS=!JARS!;%PA_SCHEDULER%\dist\lib\client.jar
+	SET JARS=!JARS!;%PA_SCHEDULER%\dist\lib\derby.jar
+	SET JARS=!JARS!;%PA_SCHEDULER%\dist\lib\derbytools.jar
+	SET JARS=!JARS!;%PA_SCHEDULER%\dist\lib\isorelax.jar
+	SET JARS=!JARS!;%PA_SCHEDULER%\dist\lib\js.jar
+	SET JARS=!JARS!;%PA_SCHEDULER%\dist\lib\msv.jar
+	SET JARS=!JARS!;%PA_SCHEDULER%\dist\lib\ProActive_resource-manager.jar
+	SET JARS=!JARS!;%PA_SCHEDULER%\dist\lib\ProActive_scheduler.jar
+	SET JARS=!JARS!;%PA_SCHEDULER%\dist\lib\ProActive_tests.jar
+	SET JARS=!JARS!;%PA_SCHEDULER%\dist\lib\relaxngDatatype.jar
+	SET JARS=!JARS!;%PA_SCHEDULER%\dist\lib\rngpack-1.1a.jar.jar
+	SET JARS=!JARS!;%PA_SCHEDULER%\dist\lib\script-api.jar.jar
+	SET JARS=!JARS!;%PA_SCHEDULER%\dist\lib\script-js.jar
+	SET JARS=!JARS!;%PA_SCHEDULER%\dist\lib\xsdlib.jar
 )

 SET CLASSPATH=%CLASSPATH%;%JARS%


windows_info.bat: initial checkin

windows_info.bat: initial checkin

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

--- bin/windows_info.bat
+++ bin/windows_info.bat
@@ -0,0 +1,2 @@
+@echo off
+cscript //i //nologo windows_info.vbs


Added redpen-server for Windows

Added redpen-server for Windows

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

--- redpen-server/bin/redpen-server.bat
+++ redpen-server/bin/redpen-server.bat
@@ -0,0 +1,80 @@
+@echo off
+rem
+rem RedPen Server startup script
+rem
+
+rem Find RedPen home
+set REDPEN_HOME=%~dp0\..
+
+rem Make REDPEN_HOME absolute
+pushd %REDPEN_HOME%
+set REDPEN_HOME=%CD%
+popd
+
+
+rem
+rem
+rem Configurations
+rem
+rem
+
+rem Port number for RedPen server
+set REDPEN_PORT=8080
+
+rem RedPen log file
+set REDPEN_LOG_DIR=%REDPEN_HOME%\logs
+set REDPEN_LOG_FILENAME=redpen.log
+
+rem
+rem
+rem Main procedure
+rem
+rem
+
+rem set command
+set COMMAND=start
+if not [%1] == [] (
+    set COMMAND=%1
+)
+
+set JAVA_OPTS=%JAVAOPTS% -Dfile.encoding=UTF-8
+set REDPEN_WAR_FILE=%REDPEN_HOME%\bin\redpen-server.war
+set JAVA_CMD=java.exe
+
+set JAVA_CMD_AT=
+@for %%i in (%JAVA_CMD%) do @if NOT "%%~$PATH:i"=="" set JAVA_CMD_AT="%%~$PATH"
+if ["%JAVA_CMD_AT%"] == [] (
+    if ["%JAVA_HOME%"] == [] (
+        echo Error: JAVA_HOME is not defined. Can not start RedPen
+        exit /b 1
+    ) else (
+        set JAVA_CMD="%JAVA_HOME%\bin\java.exe"
+        rem Assuming java.exe in its HOME is always executable under the Windows
+    )
+)
+
+if not exist "%REDPEN_LOG_DIR%" (
+    echo not found log dir: %REDPEN_LOG_DIR%
+    echo creating log dir: %REDPEN_LOG_DIR%
+    mkdir "%REDPEN_LOG_DIR%" 2>nul
+    if exist "%REDPEN_LOG_DIR%" (
+        echo created log dir: %REDPEN_LOG_DIR%
+    ) else (
+        if not ["%TEMP%"] == [] (
+            set REDPEN_LOG_DIR="%TEMP%"
+            echo temporarily changed log dir: %REDPEN_LOG_DIR%
+	) else (
+	    echo Error: TEMP is not defined.  Can not start RedPen
+	    exit /b 1
+	)
+    )
+)
+set REDPEN_LOG_FILE=%REDPEN_LOG_DIR%\%REDPEN_LOG_FILENAME%
+
+if ["%COMMAND%"] == ["start"] (
+    echo starting RedPen server [Ctrl-C to stop]...
+    "%JAVA_CMD%" -jar %JAVA_OPTS% "%REDPEN_WAR_FILE%" -p %REDPEN_PORT% >> "%REDPEN_LOG_FILE%" 2>&1
+) else (
+    echo Invalid command: %COMMAND%
+    exit /b 1
+)


Update for ping wait to use invalid address so timeouts are reached.

--- config/pidkill.bat
+++ config/pidkill.bat
@@ -11,15 +11,15 @@

 :LoopStart
 IF NOT EXIST %cd%\.pid%1 Goto EndClean
-ping 127.0.0.1 -n 1 -w 1000 > nul
+ping 1.1.1.1 -n 1 -w 1000 > nul
 IF %cntr%==5 Goto EndBad
 set /A cntr=%cntr%+1
 Goto LoopStart

 :EndClean
 REM Give an extra second to clean up
-ping 127.0.0.1 -n 1 -w 1000 > nul
+ping 1.1.1.1 -n 1 -w 1000 > nul
 EXIT /B 0

 :EndBad
-EXIT /B 1+EXIT /B 1


Make build bat work with VS 2019 professional as well.

--- src/build.bat
+++ src/build.bat
@@ -57,11 +57,27 @@
 set version_Integration_AspNetCore_Mvc_Core=%version_Core%
 set version_Integration_AspNetCore_Mvc=%version_Core%

-set vsvars32_bat="%programfiles(x86)%\Microsoft Visual Studio\2019\Community\Common7\Tools\VsMSBuildCmd.bat"
+set vsFolder=%programfiles(x86)%\Microsoft Visual Studio\2019
+
+if not exist %vsFolder% goto :vs_missing
+
+set vsEdition=""
+
+if exist "%vsFolder%\Community" (
+    set vsEdition="Community"
+) else if exist "%vsFolder%\Professional" (
+    set vsEdition="Professional"
+) else (
+    goto :vs_edition_missing
+)
+
+set vsEditionFolder=%vsFolder%\%vsEdition%
+
+set vsvars32_bat=%vsEditionFolder%\Common7\Tools\VsMSBuildCmd.bat
 if not exist %vsvars32_bat% goto :vsvars32_bat_missing
 @call %vsvars32_bat%

-set msbuild="%programfiles(x86)%\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe"
+set msbuild=%vsEditionFolder%\MSBuild\Current\Bin\MSBuild.exe
 if not exist %msbuild% goto :msbuild_exe_missing

 set attrib=%systemroot%\System32\attrib.exe
@@ -374,4 +390,12 @@

 :xcopy_missing
 echo Couldn't locate xcopy. Expected it to be here: %xcopy%
-GOTO :EOF+GOTO :EOF
+
+:vs_missing
+echo Couldn't locate Visual Studio. Expected it to be here: %vsFolder%
+GOTO :EOF
+
+:vs_edition_missing
+echo Couldn't locate Visual Studio edition in %vsFolder%. Expected a %vsFolder%\Community or %vsFolder%\Professional.
+GOTO :EOF


fixed alpha.exe

fixed alpha.exe

--- alpha.sh.bat
+++ alpha.sh.bat
@@ -8,7 +8,8 @@
 if [ ! -x godot ]; then
   echo&echo Please download, rename, and chmod the Godot Engine to: ./app/godot
 else
-  ./alpha
+  rem= # ./alpha
+  ../alpha
 fi
 cd ..
 exit
@@ -20,7 +21,7 @@
 if not exist "godot.exe" (
   echo.&echo Please download and rename the Godot Engine to: ./app/godot.exe
 ) else (
-  alpha.exe
+  ../alpha.exe
 )
 cd ..
 echo.&echo Press any key to close...&pause >nul


add stacked_rag bld.bat

add stacked_rag bld.bat

error: pathspec 'conda-recipe/bld.bat' did not match any file(s) known to git

--- conda-recipe/bld.bat
+++ conda-recipe/bld.bat
@@ -0,0 +1,83 @@
+mkdir build
+cd build
+
+REM ----------------------------------------------------------------------
+IF NOT DEFINED WITH_CPLEX (SET WITH_CPLEX=0)
+IF NOT DEFINED WITH_GUROBI (SET WITH_GUROBI=0)
+IF %WITH_CPLEX% == "" (SET WITH_CPLEX=0)
+IF %WITH_GUROBI% == "" (SET WITH_GUROBI=0)
+
+SET OPTIMIZER_ARGS=
+IF "%WITH_GUROBI%" == "1" (
+    IF NOT DEFINED GUROBI_ROOT_DIR (
+        ECHO "GUROBI_ROOT_DIR must be set for building!"
+        exit 1
+    )
+    IF "%GUROBI_ROOT_DIR%" == "" (
+        ECHO "GUROBI_ROOT_DIR cannot be empty for building!"
+        exit 1
+    ) ELSE (
+        ECHO "Using GUROBI_ROOT_DIR=%GUROBI_ROOT_DIR%"
+    )
+    IF NOT DEFINED GUROBI_ROOT_DIR (
+        ECHO "GUROBI_LIB_WIN must be set for building!"
+        exit 1
+    )
+    IF "%GUROBI_LIB_WIN%" == "" (
+        ECHO "GUROBI_LIB_WIN cannot be empty for building!"
+        exit 1
+    )
+    REM if we build with Gurobi, we need to configure the paths.
+    REM The GUROBI_ROOT_DIR should point to gurobiXYZ\win64
+    ECHO "found gurobi lib %GUROBI_LIB_WIN%"
+    :: ensure single double quotes with :"=
+    SET OPTIMIZER_ARGS=-DWITH_GUROBI=ON -DGUROBI_ROOT_DIR="%GUROBI_ROOT_DIR:"=%" ^
+      -DGUROBI_LIBRARY="%GUROBI_LIB_WIN:"=%" -DGUROBI_INCLUDE_DIR="%GUROBI_ROOT_DIR:"=%\include" ^
+      -DGUROBI_CPP_LIBRARY="%GUROBI_ROOT_DIR:"=%\lib\gurobi_c++md2015.lib"
+    rem set GUROBI_LIB=%%i
+    rem dir "%GUROBI_ROOT_DIR%\lib\gurobi*.lib" /s/b|findstr gurobi[0-9][0-9].lib>gurobilib.tmp
+    rem set /p GUROBI_LIB=<gurobilib.tmp
+)
+
+IF "%WITH_CPLEX%" == "1" (
+    :: ensure single double quotes with :"=
+    SET OPTIMIZER_ARGS=-DWITH_CPLEX=ON -DCPLEX_ROOT_DIR=%CPLEX_ROOT_DIR% -DCPLEX_WIN_VERSION=%CPLEX_WIN_VERSION%
+)
+
+REM ----------------------------------------------------------------------
+
+set CONFIGURATION=Release
+
+cmake .. -G "%CMAKE_GENERATOR%" -DCMAKE_PREFIX_PATH="%LIBRARY_PREFIX%" ^
+    -DCMAKE_INSTALL_PREFIX="%LIBRARY_PREFIX%"  ^
+    -DBOOST_ROOT="%LIBRARY%" ^
+    -DCMAKE_CXX_FLAGS="-DBOOST_ALL_NO_LIB /EHsc" ^
+    ^
+    %OPTIMIZER_ARGS% ^
+    ^
+    -DPYTHON_EXECUTABLE=%PYTHON% ^
+    -DBUILD_NIFTY_PYTHON=yes ^
+    -DBUILD_CPP_TEST=no ^
+    -DBUILD_CPP_EXAMPLES=no ^
+    -DWITH_GLPK=no ^
+    -DWITH_HDF5=yes ^
+    -DWITH_LP_MP=no ^
+    -DWITH_QPBO=no
+
+cmake --build . --target ALL_BUILD --config %CONFIGURATION%
+if errorlevel 1 exit 1
+cmake --build . --target INSTALL --config %CONFIGURATION%
+if errorlevel 1 exit 1
+
+
+IF "%WITH_GUROBI%" == "1" (
+    REM Rename the nifty package to 'nifty_with_gurobi'
+    cd "%SP_DIR%"
+    rename nifty nifty_with_gurobi
+)
+
+IF "%WITH_CPLEX%" == "1" (
+    REM Rename the nifty package to 'nifty_with_cplex'
+    cd "%SP_DIR%"
+    rename nifty nifty_with_cplex
+)


Do not wrap TBB_HOME in double quotes in order to make it work ok in CMake. Do not unnecessarily pass -DOGRE_HOME=%OGRE_HOME% -DBOOST_ROOT=%BOOST_ROOT% to Hydrax's CMake invocation.

--- tools/windows-build-deps.cmd
+++ tools/windows-build-deps.cmd
@@ -11,7 +11,7 @@
 set BUILD_RELEASE=FALSE
 set BUILD_OPENSSL=TRUE
 set USE_JOM=TRUE
-set USE_BOOST=TRUE
+set USE_BOOST=FALSE

 :: Validate user-defined variables
 IF NOT %BUILD_OPENSSL%==FALSE IF NOT %BUILD_OPENSSL%==TRUE (
@@ -571,7 +571,7 @@

 :: Use Intel Thread Building Blocks for Ogre's threading if Boost is not used.
 set TBB_VERSION=tbb41_20121003oss
-set TBB_HOME="%DEPS%\ogre-safe-nocrashes\Dependencies\tbb"
+set TBB_HOME=%DEPS%\ogre-safe-nocrashes\Dependencies\tbb
 IF %USE_BOOST%==FALSE (
     IF NOT EXIST %TBB_VERSION%_win.zip. (
         cecho {0D}Downloading Intel Thread Building Blocks prebuilt package.{# #}{\n}
@@ -581,7 +581,7 @@
         cecho {0C}Error downloading Intel Thread Building Blocks! Aborting!{# #}{\n}
         GOTO :ERROR
     )
-    IF NOT EXIST %TBB_HOME%. (
+    IF NOT EXIST "%TBB_HOME%". (
         cecho {0D}Extracting Intel Thread Building Blocks package.{# #}{\n}
         7za x -y %TBB_VERSION%_win.zip -oDependencies
         IF NOT %ERRORLEVEL%==0 GOTO :ERROR
@@ -682,7 +682,7 @@
 IF NOT EXIST Hydrax.sln. (
   cecho {0D}Running cmake for Hydrax.{# #}{\n}
   del /Q CMakeCache.txt
-  cmake . -G %GENERATOR% -DOGRE_HOME=%OGRE_HOME% -DBOOST_ROOT=%BOOST_ROOT%
+  cmake . -G %GENERATOR%
   IF NOT %ERRORLEVEL%==0 GOTO :ERROR
 )


Add test folder to the classpath.

Add test folder to the classpath.

--- bin/lein.bat
+++ bin/lein.bat
@@ -36,7 +36,7 @@
 )
 set LEIN_USER_PLUGINS=!LEIN_USER_PLUGINS!"

-set CLASSPATH="%LEIN_JAR%";%LEIN_USER_PLUGINS%;%LEIN_PLUGINS%;src;"%CLASSPATH%"
+set CLASSPATH="%LEIN_JAR%";%LEIN_USER_PLUGINS%;%LEIN_PLUGINS%;test;src;"%CLASSPATH%"

 if not "x%DEBUG%" == "x" echo CLASSPATH=%CLASSPATH%
 rem ##################################################


removed puase from ci build script

removed puase from ci build script

--- build-ci.bat
+++ build-ci.bat
@@ -56,6 +56,4 @@
 REM cleanup...

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


Removed NuGet package restore command

Removed NuGet package restore command

--- prestore.cmd
+++ prestore.cmd
@@ -1,23 +0,0 @@
-@echo off
-setlocal
-for %%i in (NuGet.exe) do set nuget_path=%%~dpnx$PATH:i
-if "%nuget_path%"=="" goto :nonuget
-set packages_path=%~dp0packages
-if exist "%packages_path%\repositories.config" (
-    for /f "usebackq delims=" %%p in (`PowerShell -C "[xml](Get-Content '%packages_path%\repositories.config') | Select-Xml //repository/@path | %%{$_.Node.Value}"`) do call :restore "%packages_path%\%%p" || exit /b 1
-) else (
-    for /r %%d in (.) do if exist "%%~d\packages.config" call :restore "%%~d\packages.config" || exit /b 1
-)
-goto :EOF
-
-:restore
-setlocal
-echo Restoring packages for "%~dp1"
-cd "%~dp1"
-"%nuget_path%" install %1 -OutputDirectory "%packages_path%"
-exit /b %errorlevel%
-
-:nonuget
-echo NuGet executable not found in PATH
-echo For more on NuGet, see http://nuget.codeplex.com
-exit /b 2


Create binary test folder if it does not exists.

--- src/Magick.Native/build/Build.cmd
+++ src/Magick.Native/build/Build.cmd
@@ -19,20 +19,28 @@

 cd ..\..\src\Magick.Native\bin\Debug%quantumName%\%platformName%

-copy /y Magick.Native-%quantumName%-%platformName%.dll ..\..\..\..\..\..\Magick.NET\tests\Magick.NET.Tests\bin\%config%%quantumName%\%platformName%\net452
-copy /y Magick.Native-%quantumName%-%platformName%.pdb ..\..\..\..\..\..\Magick.NET\tests\Magick.NET.Tests\bin\%config%%quantumName%\%platformName%\net452
-copy /y Magick.Native-%quantumName%-%platformName%.dll ..\..\..\..\..\..\Magick.NET\tests\Magick.NET.Tests\bin\%config%%quantumName%\%platformName%\netcoreapp3.1
-copy /y Magick.Native-%quantumName%-%platformName%.pdb ..\..\..\..\..\..\Magick.NET\tests\Magick.NET.Tests\bin\%config%%quantumName%\%platformName%\netcoreapp3.1
+set testfolder=..\..\..\..\..\..\Magick.NET\tests

-copy /y Magick.Native-%quantumName%-%platformName%.dll ..\..\..\..\..\..\Magick.NET\tests\Magick.NET.SystemDrawing.Tests\bin\%config%%quantumName%\%platformName%\net452
-copy /y Magick.Native-%quantumName%-%platformName%.pdb ..\..\..\..\..\..\Magick.NET\tests\Magick.NET.SystemDrawing.Tests\bin\%config%%quantumName%\%platformName%\net452
-copy /y Magick.Native-%quantumName%-%platformName%.dll ..\..\..\..\..\..\Magick.NET\tests\Magick.NET.SystemDrawing.Tests\bin\%config%%quantumName%\%platformName%\netcoreapp3.1
-copy /y Magick.Native-%quantumName%-%platformName%.pdb ..\..\..\..\..\..\Magick.NET\tests\Magick.NET.SystemDrawing.Tests\bin\%config%%quantumName%\%platformName%\netcoreapp3.1
+if not exist %testfolder%\Magick.NET.Tests\bin\%config%%quantumName%\%platformName%\net452 mkdir %testfolder%\Magick.NET.Tests\bin\%config%%quantumName%\%platformName%\net452
+if not exist %testfolder%\Magick.NET.Tests\bin\%config%%quantumName%\%platformName%\netcoreapp3.1 mkdir %testfolder%\Magick.NET.Tests\bin\%config%%quantumName%\%platformName%\netcoreapp3.1
+copy /y Magick.Native-%quantumName%-%platformName%.dll %testfolder%\Magick.NET.Tests\bin\%config%%quantumName%\%platformName%\net452
+copy /y Magick.Native-%quantumName%-%platformName%.pdb %testfolder%\Magick.NET.Tests\bin\%config%%quantumName%\%platformName%\net452
+copy /y Magick.Native-%quantumName%-%platformName%.dll %testfolder%\Magick.NET.Tests\bin\%config%%quantumName%\%platformName%\netcoreapp3.1
+copy /y Magick.Native-%quantumName%-%platformName%.pdb %testfolder%\Magick.NET.Tests\bin\%config%%quantumName%\%platformName%\netcoreapp3.1

-copy /y Magick.Native-%quantumName%-%platformName%.dll ..\..\..\..\..\..\Magick.NET\tests\Magick.NET.SystemWindowsMedia.Tests\bin\%config%%quantumName%\%platformName%\net452
-copy /y Magick.Native-%quantumName%-%platformName%.pdb ..\..\..\..\..\..\Magick.NET\tests\Magick.NET.SystemWindowsMedia.Tests\bin\%config%%quantumName%\%platformName%\net452
-copy /y Magick.Native-%quantumName%-%platformName%.dll ..\..\..\..\..\..\Magick.NET\tests\Magick.NET.SystemWindowsMedia.Tests\bin\%config%%quantumName%\%platformName%\netcoreapp3.1
-copy /y Magick.Native-%quantumName%-%platformName%.pdb ..\..\..\..\..\..\Magick.NET\tests\Magick.NET.SystemWindowsMedia.Tests\bin\%config%%quantumName%\%platformName%\netcoreapp3.1
+if not exist %testfolder%\Magick.NET.SystemDrawing.Tests\bin\%config%%quantumName%\%platformName%\net452 mkdir %testfolder%\Magick.NET.SystemDrawing.Tests\bin\%config%%quantumName%\%platformName%\net452
+if not exist %testfolder%\Magick.NET.SystemDrawing.Tests\bin\%config%%quantumName%\%platformName%\netcoreapp3.1 mkdir %testfolder%\Magick.NET.SystemDrawing.Tests\bin\%config%%quantumName%\%platformName%\netcoreapp3.1
+copy /y Magick.Native-%quantumName%-%platformName%.dll %testfolder%\Magick.NET.SystemDrawing.Tests\bin\%config%%quantumName%\%platformName%\net452
+copy /y Magick.Native-%quantumName%-%platformName%.pdb %testfolder%\Magick.NET.SystemDrawing.Tests\bin\%config%%quantumName%\%platformName%\net452
+copy /y Magick.Native-%quantumName%-%platformName%.dll %testfolder%\Magick.NET.SystemDrawing.Tests\bin\%config%%quantumName%\%platformName%\netcoreapp3.1
+copy /y Magick.Native-%quantumName%-%platformName%.pdb %testfolder%\Magick.NET.SystemDrawing.Tests\bin\%config%%quantumName%\%platformName%\netcoreapp3.1
+
+if not exist %testfolder%\Magick.NET.SystemWindowsMedia.Tests\bin\%config%%quantumName%\%platformName%\net452 mkdir %testfolder%\Magick.NET.SystemWindowsMedia.Tests\bin\%config%%quantumName%\%platformName%\net452
+if not exist %testfolder%\Magick.NET.SystemWindowsMedia.Tests\bin\%config%%quantumName%\%platformName%\netcoreapp3.1 mkdir %testfolder%\Magick.NET.SystemWindowsMedia.Tests\bin\%config%%quantumName%\%platformName%\netcoreapp3.1
+copy /y Magick.Native-%quantumName%-%platformName%.dll %testfolder%\Magick.NET.SystemWindowsMedia.Tests\bin\%config%%quantumName%\%platformName%\net452
+copy /y Magick.Native-%quantumName%-%platformName%.pdb %testfolder%\Magick.NET.SystemWindowsMedia.Tests\bin\%config%%quantumName%\%platformName%\net452
+copy /y Magick.Native-%quantumName%-%platformName%.dll %testfolder%\Magick.NET.SystemWindowsMedia.Tests\bin\%config%%quantumName%\%platformName%\netcoreapp3.1
+copy /y Magick.Native-%quantumName%-%platformName%.pdb %testfolder%\Magick.NET.SystemWindowsMedia.Tests\bin\%config%%quantumName%\%platformName%\netcoreapp3.1

 goto done


remove --jobs 16 which can run out of memory

--- setup.bat
+++ setup.bat
@@ -17,7 +17,7 @@

 REM   This "initializes" the %BRANCH% refspec, to prevent 'git svn fetch' from scanning
 REM   the whole svn repo history for the branch commits we already synced above.
-echo "ref: refs/remotes/branch-heads/%BRANCH%" > .git/refs/remotes/origin/%BRANCH%
+echo ref: refs/remotes/branch-heads/%BRANCH% > .git/refs/remotes/origin/%BRANCH%

 REM   This should finish quickly, just doing a bit of git-svn housekeeping.
 REM   It might fetch a few recent revisions, if the git mirror is slightly out-of-date,
@@ -32,7 +32,7 @@
 call git config branch.branch_%BRANCH%.merge refs/heads/%BRANCH%
 call git config branch.branch_%BRANCH%.remote branch-heads
 REM   Checkout all the submodules at their branch DEPS revisions.
-call gclient sync --jobs 16
+call gclient sync
 call gclient runhooks --force

 REM Setup (2)


fix typo

fix typo

--- setup.bat
+++ setup.bat
@@ -36,7 +36,7 @@
 REM remove all .git and .gitmodules directories that came with the chromium clone
 RMDIR /S /Q .\.git\*.* .\breakpad\src\.git\*.* .\chrome\test\data\extensions\api_test\permissions\nacl_enabled\bin\.git\*.* .\chrome\test\data\perf\canvas_bench\.git\*.* .\chrome\test\data\perf\frame_rate\content\.git\*.* .\chrome\test\data\perf\third_party\octane\.git\*.* .\chrome\tools\test\reference_build\chrome_win\.git\*.* .\chrome_frame\tools\test\reference_build\chrome_win\.git\*.* .\media\cdm\ppapi\api\.git\*.* .\native_client\.git\*.* .\sdch\open-vcdiff\.git\*.* .\testing\gmock\.git\*.* .\testing\gtest\.git\*.* .\third_party\angle\.git\*.* .\third_party\angle_dx11\.git\*.* .\third_party\bidichecker\.git\*.* .\third_party\bison\.git\*.* .\third_party\brotli\src\.git\*.* .\third_party\cacheinvalidation\src\.git\*.* .\third_party\cld_2\src\.git\*.* .\third_party\cygwin\.git\*.* .\third_party\ffmpeg\.git\*.* .\third_party\flac\.git\*.* .\third_party\gnu_binutils\.git\*.* .\third_party\gperf\.git\*.* .\third_party\html_office\.git\*.* .\third_party\hunspell\.git\*.* .\third_party\hunspell_dictionaries\.git\*.* .\third_party\icu\.git\*.* .\third_party\jsoncpp\source\include\.git\*.* .\third_party\jsoncpp\source\src\lib_json\.git\*.* .\third_party\leveldatabase\src\.git\*.* .\third_party\libaddressinput\src\.git\*.* .\third_party\libc++\trunk\.git\*.* .\third_party\libc++abi\trunk\.git\*.* .\third_party\libexif\sources\.git\*.* .\third_party\libjingle\source\talk\.git\*.* .\third_party\libjpeg_turbo\.git\*.* .\third_party\libphonenumber\src\phonenumbers\.git\*.* .\third_party\libphonenumber\src\resources\.git\*.* .\third_party\libphonenumber\src\test\.git\*.* .\third_party\libsrtp\.git\*.* .\third_party\libvpx\.git\*.* .\third_party\libyuv\.git\*.* .\third_party\lighttpd\.git\*.* .\third_party\mesa\src\.git\*.* .\third_party\mingw-w64\mingw\bin\.git\*.* .\third_party\nacl_sdk_binaries\.git\*.* .\third_party\nss\.git\*.* .\third_party\openmax_dl\.git\*.* .\third_party\opus\src\.git\*.* .\third_party\ots\.git\*.* .\third_party\pefile\.git\*.* .\third_party\perl\.git\*.* .\third_party\psyco_win32\.git\*.* .\third_party\pyftpdlib\src\.git\*.* .\third_party\python_26\.git\*.* .\third_party\pywebsocket\src\.git\*.* .\third_party\safe_browsing\testing\.git\*.* .\third_party\scons-2.0.1\.git\*.* .\third_party\sfntly\cpp\src\.git\*.* .\third_party\skia\gyp\.git\*.* .\third_party\skia\include\.git\*.* .\third_party\skia\src\.git\*.* .\third_party\smhasher\src\.git\*.* .\third_party\snappy\src\.git\*.* .\third_party\speex\.git\*.* .\third_party\swig\Lib\.git\*.* .\third_party\swig\win\.git\*.* .\third_party\syzygy\binaries\.git\*.* .\third_party\trace-viewer\.git\*.* .\third_party\usrsctp\usrsctplib\.git\*.* .\third_party\webdriver\pylib\.git\*.* .\third_party\webgl\src\.git\*.* .\third_party\webgl_conformance\.git\*.* .\third_party\WebKit\.git\*.* .\third_party\WebKit\LayoutTests\w3c\csswg-test\.git\*.* .\third_party\WebKit\LayoutTests\w3c\web-platform-tests\.git\*.* .\third_party\webpagereplay\.git\*.* .\third_party\webrtc\.git\*.* .\third_party\xulrunner-sdk\.git\*.* .\third_party\yasm\binaries\.git\*.* .\third_party\yasm\source\patched-yasm\.git\*.* .\tools\deps2git\.git\*.* .\tools\grit\.git\*.* .\tools\gyp\.git\*.* .\tools\page_cycler\acid3\.git\*.* .\tools\swarming_client\.git\*.* .\v8\.git\*.* .\src\.gitmodules\*.* .\src\third_party\trace-viewer\third_party\Promises\.gitmodules\*.* .\src\third_party\WebKit\LayoutTests\w3c\web-platform-tests\.gitmodules\*.*

-# Step (3) init AMD repository and pull
+REM Step (3) init AMD repository and pull
 git init
 git remote rm origin 2> nul
 git remote add origin https://github.com/amd/Chromium-WebCL.git


Add setup file

Add setup file

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

--- setup.bat
+++ setup.bat
@@ -0,0 +1,41 @@
+REM Download ahmine and CanaryMod to set up coderdojobelfast Java room environment.
+
+@echo off
+setlocal
+
+REM get ahmine, from "Learn to Program with Minecraft Plugins", 2nd Edition, Andy Hunt, (c)2014 The Pragmatic Programmers.
+bitsadmin.exe /Transfer "Download ahmine" /Download http://media.pragprog.com/titles/ahmine2/code/ahmine2-code.zip %USERPROFILE%\Downloads\ahmine2-code.zip
+
+REM get CanaryMod
+md %USERPROFILE%\Desktop\server
+bitsadmin.exe /Transfer "Download CanaryMod" /Download https://canarymod.net/releases/CanaryMod-1.2.0_0.jar %USERPROFILE%\Desktop\server\CanaryMod.jar
+
+REM unpack ahmine
+cd /d %~dp0
+Call :UnZipFile "%USERPROFILE%\Downloads" "%USERPROFILE%\Downloads\ahmine2-code.zip"
+Move /y "%USERPROFILE%\Downloads\code" "%USERPROFILE%\Desktop"
+
+REM copy starter to server
+Copy /y "%USERPROFILE%\Desktop\code\runtime\start_minecraft.bat" "%USERPROFILE%\Desktop\server"
+
+REM Run canarymod first time
+cd "%USERPROFILE%\Desktop\server"
+.\"start_minecraft.bat"
+
+endlocal
+exit /b
+
+:UnZipFile <ExtractTo> <newzipfile>
+set vbs="%temp%\_.vbs"
+if exist %vbs% del /f /q %vbs%
+>%vbs%  echo Set fso = CreateObject("Scripting.FileSystemObject")
+>>%vbs% echo If NOT fso.FolderExists(%1) Then
+>>%vbs% echo fso.CreateFolder(%1)
+>>%vbs% echo End If
+>>%vbs% echo set objShell = CreateObject("Shell.Application")
+>>%vbs% echo set FilesInZip=objShell.NameSpace(%2).items
+>>%vbs% echo objShell.NameSpace(%1).CopyHere(FilesInZip)
+>>%vbs% echo Set fso = Nothing
+>>%vbs% echo Set objShell = Nothing
+cscript //nologo %vbs%
+if exist %vbs% del /f /q %vbs%


setup: Add comments

setup: Add comments

--- setup.bat
+++ setup.bat
@@ -20,6 +20,7 @@
 git config --global include.path "%BATDIR%git\config"
 call :COPY "%BATDIR%git/ignore" "%USERPROFILE%\.gitignore"

+REM VIM configurations
 call :MKDIR "%USERPROFILE%\_vim\autoload"
 call :MKLINK "%USERPROFILE%\_vim\vimrc"                 "%BATDIR%vimfiles\vimrc"
 call :MKLINK "%USERPROFILE%\_vim\autoload\plug.vim"     "%BATDIR%vimfiles\autoload\plug.vim"
@@ -30,6 +31,7 @@
 call :MKLINK "%USERPROFILE%\vimfiles\vimrc"             "%BATDIR%vimfiles\vimrc"
 call :MKLINK "%USERPROFILE%\vimfiles\autoload\plug.vim" "%BATDIR%vimfiles\autoload\plug.vim"

+REM Neovim configurations
 call :MKDIR "%USERPROFILE%\.config\nvim"
 call :MKLINK "%USERPROFILE%\.config\nvim\init.vim"      "%BATDIR%nvim\init.vim"
 goto :EOF


Changes a dumb

Changes a dumb

--- setup.bat
+++ setup.bat
@@ -8,7 +8,7 @@
 call npm install -g gulp-cli

 echo.
-echo Gulp installed...
+echo Gulp installed.

 echo.
 echo Linking everything...
@@ -19,10 +19,10 @@
 call npm link

 echo.
-echo Everything has been linked...
+echo Everything has been linked.

 echo.
-echo Setup complete...
+echo Setup complete.

 echo.
 pause


*** empty log message ***

*** empty log message ***

--- setup.bat
+++ setup.bat
@@ -0,0 +1,3 @@
+@echo off
+echo @echo off >ant.bat
+echo %~dp0ant.bat -Dtopbuild.dir=%CD% %%* >>ant.bat


fixed signtool path to change to x64-based systems (common)

--- build/sign.bat
+++ build/sign.bat
@@ -1,2 +1,2 @@
-set SDKDIR="C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin"
+set SDKDIR="C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin"
 %SDKDIR%\signtool.exe sign /f ..\src\limetree07.pfx /p %1 /t "http://www.trustcenter.de/codesigning/timestamp" %2


Update publishdocs.bat

Update publishdocs.bat

--- src/publishdocs.bat
+++ src/publishdocs.bat
@@ -5,6 +5,9 @@

 xcopy ..\das-payments-AcceptanceTests\AcceptanceTests\docs das-paymentsacceptancetesting /E /R /Y

+git config  user.email "kalim.akbar@fasst.org.uk"
+git config  user.name "das build agent"
+
 cd das-paymentsacceptancetesting
 git add --all
 git commit -m "Update docs for release %RELEASE_RELEASENAME%"


add beginnings of a 'bats' test suite

add beginnings of a 'bats' test suite

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

--- tests.bat
+++ tests.bat
@@ -0,0 +1,24 @@
+#!/usr/bin/env bats
+## tests with https://github.com/sstephenson/bats
+
+@test "running with no args prints usage & exit code 2." {
+  run ./dockhack
+  [ "$status" -eq 2 ]
+  # can't distinguish between stdout/err yet https://github.com/sstephenson/bats/pull/55
+  [[ "$output" =~ "Usage" ]]
+}
+
+@test "-h/--help print usage & exit code 0." {
+  run ./dockhack -h
+  [ "$status" -eq 0 ]
+  [[ "$output" =~ "Usage" ]]
+  run ./dockhack --help
+  [ "$status" -eq 0 ]
+  [[ "$output" =~ "Usage" ]]
+}
+
+@test "'dockhack lib' is a no-op" {
+  run ./dockhack lib
+  [ "$status" -eq 0 ]
+  [[ "$output" = "" ]]
+}


Add start-datastore.bat

Add start-datastore.bat

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

--- start-datastore.bat
+++ start-datastore.bat
@@ -0,0 +1 @@
+gcloud beta emulators datastore start --project=spine --host-port=localhost:8080 --consistency 1.0


Fix Windows installer for OS usernames with spaces

The Windows installer appends the location of `hub.exe` to user's PATH,
but that would break if the OS username has spaces.

--- script/install.bat
+++ script/install.bat
@@ -48,7 +48,7 @@
 IF EXIST %HUB_BIN_PATH% GOTO DIRECTORY_EXISTS
 mkdir %HUB_BIN_PATH%
 set "path=%PATH%;%HUB_BIN_PATH:"=%"
-call :appendToUserPath %HUB_BIN_PATH:"=%
+call :appendToUserPath "%HUB_BIN_PATH:"=%"
 :DIRECTORY_EXISTS

 :: Delete any existing programs


remove using full working directory in watch.bat command
due to bug with the tsc watcher.

this means the error output won't include links in the IDEA console.
Its not worth the hassle to try and improve this as both
Intellij have an upcoming feature with integration into tsc compiler
services and Microsoft have an unrelated upcoming feature or a copmilation
server.

Change-Id: Iac9bec2d7bbfc1a04d9f24e42e2d5dfef2d0389a

--- watch.bat
+++ watch.bat
@@ -1 +1 @@
-"C:\Program Files (x86)\Git\bin\sh.exe" --login -i -c "find $(pwd)/src/ $(pwd)/test/ $(pwd)/examples/ $(pwd)/libs/ -name "*.ts" | xargs tsc -w -t ES5 --sourcemap --outDir gen"+"C:\Program Files (x86)\Git\bin\sh.exe" --login -i -c "find ./src/ ./test/ ./examples/ ./libs/ -name "*.ts" | xargs tsc -w -t ES5 --sourcemap --outDir gen"


fix error in evaluate.bat

fix error in evaluate.bat

--- evaluate.bat
+++ evaluate.bat
@@ -1,8 +1,10 @@
 @ECHO OFF

-IF "%1" == "" && "%2" == "" (
-    ECHO "Usage: %0 path\to\input.boa output-dir [options]"
-    EXIT 1
+IF "%1" == "" (
+    IF "%2" == "" (
+        ECHO "Usage: %0 path\to\input.boa output-dir [options]"
+        EXIT 1
+    )
 )

 input="%1"


Compile both 32-bit and 64-bit releases

Compile both 32-bit and 64-bit releases


trial windows build

trial windows build

error: pathspec 'recipes/pugixml/bld.bat' did not match any file(s) known to git

--- recipes/pugixml/bld.bat
+++ recipes/pugixml/bld.bat
@@ -0,0 +1,16 @@
+setlocal EnableDelayedExpansion
+
+:: Make a build folder and change to it.
+mkdir build
+cd build
+
+:: Configure using the CMakeFiles
+%LIBRARY_BIN%\cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX:PATH="%LIBRARY_PREFIX%" -DCMAKE_BUILD_TYPE:STRING=Release ..
+if errorlevel 1 exit 1
+
+:: Build!
+nmake
+if errorlevel 1 exit 1
+
+nmake install
+if errorlevel 1 exit 1


smarter faster windows update batch script

--- Windows/update.bat
+++ Windows/update.bat
@@ -1,10 +1,11 @@
-set PROJ_ROOT=C:\Apps\TEKDB
+@echo off
+set CWD=%~dp0
+set PROJ_ROOT=%CWD%..
 set PYTHON=%PROJ_ROOT%\env\Scripts\python.exe
 cd %PROJ_ROOT%
 git pull
 %PYTHON% -m pip install -r %PROJ_ROOT%\TEKDB\requirements.txt
 %PYTHON% %PROJ_ROOT%\TEKDB\manage.py migrate
-%PYTHON% %PROJ_ROOT%\TEKDB\manage.py collectstatic
+%PYTHON% %PROJ_ROOT%\TEKDB\manage.py collectstatic --no-input
 %PYTHON% %PROJ_ROOT%\TEKDB\manage.py compress
-C:\Windows\System32\iisreset.exe
-PAUSE+C:\Windows\System32\iisreset.exe


#90 Кодовая страница при выводе инфы в cmd-файле изменена на UTF-8

--- tests/start-all.cmd
+++ tests/start-all.cmd
@@ -1,6 +1,7 @@
 @echo off

-chcp 866 > nul
+rem chcp 866 > nul
+chcp 65001

 setlocal
 set pathdir=%~dp0


Update bld.bat

Update bld.bat

--- recipes/nng/bld.bat
+++ recipes/nng/bld.bat
@@ -8,10 +8,11 @@
          -DCMAKE_PREFIX_PATH=%LIBRARY_PREFIX% ^
          -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^
          -DCMAKE_VERBOSE_MAKEFILE=ON
-
 if errorlevel 1 exit 1

 :: Build and install
+cd build
+if errorlevel 1 exit 1
 ninja
 if errorlevel 1 exit 1
 ninja install


Improve error detection of dependency bat file.

--- SMP/project_get_dependencies.bat
+++ SMP/project_get_dependencies.bat
@@ -13,8 +13,8 @@
 IF "%MSVC_VER%"=="" (
     git status >NUL 2>&1
     IF %ERRORLEVEL% NEQ 0 (
-      ECHO A working copy of git was not found. To use this script you must first install git for windows.
-      EXIT /B 1
+        ECHO A working copy of git was not found. To use this script you must first install git for windows.
+        GOTO exitOnError
     )
 )

@@ -30,9 +30,9 @@
     ECHO !PASSDEPENDENCIES! | FINDSTR /C:"%%I" >NUL 2>&1 || (
         REM Check if MSVC_VER environment variable is set
         IF "%MSVC_VER%"=="" (
-            CALL :cloneOrUpdateRepo "%%I" || GOTO exit
+            CALL :cloneOrUpdateRepo "%%I" || GOTO exitOnError
         ) ELSE (
-            CALL :downloadLibs "%%I" || GOTO exit
+            CALL :downloadLibs "%%I" || GOTO exitOnError
         )
     )
 )
@@ -67,6 +67,10 @@
     REM Clone from the origin repo
     SET REPOURL=%UPSTREAMURL%/%REPONAME%.git
     git clone !REPOURL! --quiet
+    IF %ERRORLEVEL% NEQ 0 (
+        ECHO %REPONAME%: Git clone failed.
+        GOTO exitOnError
+    )
     REM Initialise autocrlf options to fix cross platform interoperation
     REM  Once updated the repo needs to be reset to correct the local line endings
     cd %REPONAME%


Techie Inc. Autos:- Thu 07/20/2017.

Techie Inc. Autos:- Thu 07/20/2017.

--- Techie.bat
+++ Techie.bat
@@ -1,9 +1,23 @@
 @ECHO OFF
+REM Look up the Windows Credentials Manager during identity issues, delete git
+REM list all branches
+REM git config --system --unset credential.helper
+REM cmdkey /lis (list all credentials
+REM cmdkey /delete:git:https//...github.com... (removed credential)
+REM git config --global credential.helper wincred (resets the git credentials)
+REM git config credential.helper store (stores settings on disk)
+REM $ git config credential.helper (Better)
+REM git config credential.helper cache (use cache)
+REM git config credential.helper 'store [options]'
+REM git config credential.helper 'store file=C:\file.text'
+REM git remote prune Local
+REM git branch -a
+
 SET COMMITMESSAGE="Techie Inc. Autos:- %Date%".
 SET LOCALDIR=C:\WEB\WEBFILES\IYKEDAIRO\PTNigeria
 CD %LOCALDIR%

-
+REM git config --global --unset core.askpass
 git init
 xcopy C:\Web\WEBFILES\config %LOCALDIR%\.git\config /G /Y
 git config --unset --global user.name
@@ -16,7 +30,12 @@

 git config --local user.name PTNigeria
 git config --local user.password iykesMan22
-git config user.email PTNigeriaplc@gmail.com
+git config --global user.name PTNigeria
+git config --global user.password iykesMan22
+REM git config user.name PTNigeria
+REM git config user.password iykesMan22
+git config --local user.email PTNigeriaplc@gmail.com
+
 git remote add Local https://github.com/PTNigeria/CDN.git
 git remote set-url --add Local https://github.com/PTNigeria/CDN.git
 git pull Local master --allow-unrelated-histories


Bugfix: Apparently I copied random text here... Oops!

--- autoclean-prep.bat
+++ autoclean-prep.bat
@@ -61,7 +61,7 @@
 	echo CleanTech - Prep Stage
 	echo %horiz_line%
 	echo,
-DATE=`date +%Y-%m-%d-%H` && sudo ddrescue -n /dev/sdX CLIENT-NAME-$DATE.img CLIENT-NAME-$DATE.log && sudo ddrescue -r3 /dev/sdX CLIENT-NAME-$DATE.img CLIENT-NAME-$DATE.lo
+
 	:ingitializeVars
 		set netletter=
 		set lastname=


再配布禁止リソース対応

再配布禁止リソース対応

--- _build.bat
+++ _build.bat
@@ -12,7 +12,7 @@
 pushd "%~dp0"

 REM ---- For clean packaging
-del /S /Q VoiceroidUtil/bin/Release >nul 2>&1
+rmdir /S /Q VoiceroidUtil\bin\Release >nul 2>&1

 REM ---- NuGet (if installed)
 where nuget >nul 2>&1
@@ -24,11 +24,24 @@
     if errorlevel 1 goto ON_ERROR_POPD
 )

+REM ---- Overwrite resources
+if exist __resources (
+    rmdir /S /Q __resources_temp >nul 2>&1
+    xcopy /Y /E /I VoiceroidUtil\resources __resources_temp
+    xcopy /Y /E /I __resources VoiceroidUtil\resources
+)
+
 REM ---- Build solution
-MSBuild VoiceroidUtil.sln /p:Configuration=Debug
+MSBuild VoiceroidUtil.sln /t:Rebuild /p:Configuration=Debug
 if errorlevel 1 goto ON_ERROR_POPD
-MSBuild VoiceroidUtil.sln /p:Configuration=Release
+MSBuild VoiceroidUtil.sln /t:Rebuild /p:Configuration=Release
 if errorlevel 1 goto ON_ERROR_POPD
+
+REM ---- Reset resources
+if exist __resources (
+    xcopy /Y /E /I __resources_temp VoiceroidUtil\resources
+    rmdir /S /Q __resources_temp >nul 2>&1
+)

 popd


Whoops, didn't need parameters

Whoops, didn't need parameters

--- install/windows_post_run_1_2.bat
+++ install/windows_post_run_1_2.bat
@@ -7,7 +7,7 @@
 easy_install cython
 easy_install nose
 easy_install pip
-pip install simplecv 1.2
+pip install simplecv
 echo "The Download path is:"
 %1
 mkdir C:\Python27\Lib\site-packages\freenect


autopy.bat: handle the case of interpreting a script not in the CWD

--- autopy.bat
+++ autopy.bat
@@ -11,25 +11,26 @@
     setlocal

     if "%1"=="" goto :help
-    if not exist "%1" (
+    if not exist "%~1" (
         echo Input file '%1' not found
         goto :eof
     )

-    set FN=%1
     set last_fdate=x

-    title Batchography - Python auto re-interpreting '%FN%'
+    title Batchography - Python auto re-interpreting '%~1'
+    pushd "%~dp1"

     :repeat
         :: Get the file date/time (incl. seconds)
-        for /f "delims=" %%i in ('"forfiles /m %FN% /c "cmd /c echo @ftime" "') do set fdate=%%i
+        for /f "delims=" %%i in ('"forfiles /m "%~nx1" /c "cmd /c echo @ftime" "') do set fdate=%%i

         :: Different attributes found?
         if not "%last_fdate%"=="%fdate%" (
             cls
+            rem echo ftime=%fdate%
             :: Re-interpret
-            call python "%FN%"
+            call python "%~nx1"
         )

         :: Remember the new date/time


--- build-appveyor.cmd
+++ build-appveyor.cmd
@@ -4,6 +4,8 @@

 # Full build of solution takes place
 msbuild PocDeploy.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
+
+ECHO Hello ? :(

 node --version
 npm --version


Think I've found the problem with the web site rebuild

--- build/buildweb.bat
+++ build/buildweb.bat
@@ -40,7 +40,7 @@

 :build_www
-pushd www
+pushd ..\www
 call jekyll build
 IF ERRORLEVEL 1 EXIT /B 1
 popd


add ls command

add ls command

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


Added check to makezip.bat to use buildenv var for 7-zip

--- install/makezip.bat
+++ install/makezip.bat
@@ -6,6 +6,8 @@
 set ROOT=%DIR%\..
 set /p VERSION=<%ROOT%\io_scene_nif\VERSION
 set NAME=blender_nif_plugin
+
+if "%SEVENZIPHOME%" == "" goto sevenzipnotfounderror

 if exist "%DIR%\temp" rmdir /s /q "%DIR%\temp"
 pushd %ROOT%
@@ -32,7 +34,16 @@
 xcopy %ROOT%\CHANGELOG.rst io_scene_nif
 xcopy %ROOT%\LICENSE.rst io_scene_nif
 xcopy %ROOT%\README.rst io_scene_nif
-"%PROGRAMFILES%\7-Zip\7z.exe" a -tzip "%DIR%\%NAME%-%VERSION%.zip" -xr!__pycache__ -xr!.git -xr!.project -xr!fileformat.dtd io_scene_nif
+"%SEVENZIPHOME%\7z.exe" a -tzip "%DIR%\%NAME%-%VERSION%.zip" -xr!__pycache__ -xr!.git -xr!.project -xr!fileformat.dtd io_scene_nif
 popd

 rmdir /s /q %DIR%\temp
+
+:sevenzipnotfounderror
+echo.Please set SEVENZIPHOME to the folder where 7-zip is installed to, such as:
+echo.
+echo. set SEVENZIPHOME=%PROGRAMFILES%\7-Zip\
+echo.
+pause
+
+:end


update copyright format

update copyright format

git-svn-id: 5648d1bec6962b0a6d1d1b40eba8cf5cdb62da3d@11314 6f19259b-4bc3-4df7-8a09-765794883524

--- BaseTools/Bin/Win32/ImportTool.bat
+++ BaseTools/Bin/Win32/ImportTool.bat
@@ -1,6 +1,6 @@
 @REM
-@REM Copyright (c) 2008, Intel Corporation
-@REM All rights reserved. This program and the accompanying materials
+@REM Copyright (c) 2008, Intel Corporation. All rights reserved.<BR>
+@REM This program and the accompanying materials
 @REM are licensed and made available under the terms and conditions of the BSD License
 @REM which accompanies this distribution.  The full text of the license may be found at
 @REM http://opensource.org/licenses/bsd-license.php


win32: build-tcc.bat: figure out correct bitness of cl.exe

--- win32/build-tcc.bat
+++ win32/build-tcc.bat
@@ -3,12 +3,13 @@
 @rem ------------------------------------------------------

 @echo off
+setlocal

+set VSCOMNTOOLS=%VS150COMNTOOLS%
+if "%VSCOMNTOOLS%"=="" set VSCOMNTOOLS=%VS140COMNTOOLS%
+if "%VSCOMNTOOLS%"=="" set VSCOMNTOOLS=%VS130COMNTOOLS%
+if "%VSCOMNTOOLS%"=="" set VSCOMNTOOLS=%VS120COMNTOOLS%
 set CC=gcc -Os -s
-
-set T=32
-if %PROCESSOR_ARCHITECTURE%_==AMD64_ set T=64
-if %PROCESSOR_ARCHITEW6432%_==AMD64_ set T=64
 set /p VERSION= < ..\VERSION
 set INST=
 set DOC=no
@@ -68,6 +69,17 @@
 :a7
 if not (%1)==() goto :usage

+if not "%CC%"=="@call :cl" goto :p1
+if %T%_==32_ set CLVARS="%VSCOMNTOOLS%..\..\VC\bin\vcvars32.bat"
+if %T%_==64_ set CLVARS="%VSCOMNTOOLS%..\..\VC\bin\amd64\vcvars64.bat"
+if %T%_==_ set T=32& if %Platform%_==X64_ set T=64
+:p1
+if not %T%_==_ goto :p2
+set T=32
+if %PROCESSOR_ARCHITECTURE%_==AMD64_ set T=64
+if %PROCESSOR_ARCHITEW6432%_==AMD64_ set T=64
+:p2
+
 set D32=-DTCC_TARGET_PE -DTCC_TARGET_I386
 set D64=-DTCC_TARGET_PE -DTCC_TARGET_X86_64
 if %T%==64 goto :t64
@@ -85,6 +97,9 @@

 @echo on

+@if %CLVARS%_==_ goto :config.h
+call %CLVARS%
+
 :config.h
 echo>..\config.h #define TCC_VERSION "%VERSION%"
 echo>> ..\config.h #ifdef TCC_TARGET_X86_64
@@ -93,7 +108,7 @@
 echo>> ..\config.h #define CONFIG_TCC_LIBPATHS "{B}/lib/32;{B}/lib"
 echo>> ..\config.h #endif

-for %%f in (*tcc.exe tiny_*.exe *tcc.dll) do @del %%f
+@del /q *tcc.exe tiny_*.exe *tcc.dll

 :compiler
 %CC% -o libtcc.dll -shared ..\libtcc.c %D% -DONE_SOURCE -DLIBTCC_AS_DLL
@@ -153,7 +168,7 @@
 :doc-done

 :files-done
-for %%f in (*.o *.def *-m??.exe) do @del %%f
+@del /q *.o *.def *-m??.exe

 :copy-install
 @if (%INST%)==() goto :the_end


Check directory contents

Check directory contents

--- script/install-zpm.bat
+++ script/install-zpm.bat
@@ -13,7 +13,7 @@
 ) else (
     powershell -command "Invoke-WebRequest -Uri https://github.com/premake/premake-core/releases/download/v5.0.0-alpha11/premake-5.0.0-alpha11-windows.zip -OutFile premake5.zip"
 )
-
+dir
 echo Finished downloading premake...

 powershell -command Add-Type -AssemblyName System.IO.Compression.FileSystem ^


Output the documentation under the pywinauto folder

--- makedocs.bat
+++ makedocs.bat
@@ -2,7 +2,7 @@

 REM docs\build_autodoc_files.py
-sphinx-build -b html doc_src docs
+sphinx-build -b html doc_src pywinauto\docs

 REM c:\.temp\pudge\pudge\cli  --documents doc_source\index.rst,doc_source\controls_overview.rst,doc_source\howto.rst,doc_source\getting_started.rst,history.txt,license.txt,todo.txt --title pywinauto  -v  -d website  -m pywinauto.application,pywinauto.taskbar,pywinauto.clipboard,pywinauto.timings,pywinauto.findbestmatch,pywinauto.findwindows,pywinauto.handleprops,pywinauto.XMLHelpers,pywinauto.controls,pywinauto.tests   -t doc_source\template


TypeScript-STL v0.9.7

TypeScript-STL v0.9.7


Remove sigar from the x-pack windows script classpath

Original commit: elastic/x-pack-elasticsearch@247e945ff5968ce9b85d30966ad3a3978a27956b

--- elasticsearch/x-pack/bin/xpack/.in.bat
+++ elasticsearch/x-pack/bin/xpack/.in.bat
@@ -78,9 +78,9 @@
 set JAVA_OPTS=%JAVA_OPTS% -XX:+DisableExplicitGC
 REM Avoid empty elements in classpath to make JarHell happy
 if "%ES_CLASSPATH%" == "" (
-  set ES_CLASSPATH=%ES_HOME%/lib/*;%ES_HOME%/lib/sigar/*;%ES_HOME%/plugins/xpack/*
+  set ES_CLASSPATH=%ES_HOME%/lib/*;%ES_HOME%/plugins/xpack/*
 ) else (
-  set ES_CLASSPATH=%ES_CLASSPATH%;%ES_HOME%/lib/*;%ES_HOME%/lib/sigar/*;%ES_HOME%/plugins/xpack/*
+  set ES_CLASSPATH=%ES_CLASSPATH%;%ES_HOME%/lib/*;%ES_HOME%/plugins/xpack/*
 )
 set ES_PARAMS=-Des.path.home="%ES_HOME%"


nodeunit.cmd removed; my local npm was fixed

--- nodeunit.cmd
+++ nodeunit.cmd
@@ -1 +0,0 @@
-node node_modules\nodeunit\bin\nodeunit %*


add java path for 64bit windows in .bat

add java path for 64bit windows in .bat

--- sikuli-ide/target/win32/Sikuli-IDE.bat
+++ sikuli-ide/target/win32/Sikuli-IDE.bat
@@ -1,5 +1,8 @@
 @echo off
 PATH=%PATH%;%~d0%~p0tmplib
-java -Dfile.encoding=UTF-8 -Dpython.path="%~d0%~p0sikuli-script.jar/" -cp "%~d0%~p0jintellitype-1.3.2.jar;%~d0%~p0junit-3.8.1.jar;%~d0%~p0sikuli-ide.jar;%~d0%~p0sikuli-script.jar;%~d0%~p0swing-layout-1.0.1.jar" edu.mit.csail.uid.SikuliIDE %*
+set JAVA_EXE="java"
+REM 64bit Windows users: please uncomment the following line and make sure the path is pointed to your 32bit JRE
+REM set JAVA_EXE="C:\Program Files (x86)\Java\jre6\bin\java.exe"
+%JAVA_EXE% -Dfile.encoding=UTF-8 -Dpython.path="%~d0%~p0sikuli-script.jar/" -cp "%~d0%~p0jintellitype-1.3.2.jar;%~d0%~p0junit-3.8.1.jar;%~d0%~p0sikuli-ide.jar;%~d0%~p0sikuli-script.jar;%~d0%~p0swing-layout-1.0.1.jar" edu.mit.csail.uid.SikuliIDE %*


ADAP-142: removed ref to snap-dock library in docking.bat

--- release/docking.bat
+++ release/docking.bat
@@ -3,4 +3,4 @@
 REM For this example to work, layout.html needs to be hosted by a web server and its URL needs to be configured with -Dcom.openfin.demo.layout.url
 REM To set RVM path, add  -Dcom.openfin.demo.layout.rvm=C:\Users\username\AppData\Local\OpenFin\OpenFinRVM.exe

-java -cp openfin-desktop-java-example-7.1.1.jar;openfin-desktop-java-adapter-7.1.1-SNAPSHOT.jar;openfin-snap-dock-1.0.0.1.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;websocket-api-9.3.12.v20160915.jar;websocket-client-9.3.12.v20160915.jar;websocket-common-9.3.12.v20160915.jar;jetty-io-9.3.12.v20160915.jar;jetty-util-9.3.12.v20160915.jar -Dcom.openfin.demo.layout.url=http://localhost:8008/layout.html -Dcom.openfin.demo.layout.rvm=C:\Users\username\AppData\Local\OpenFin\OpenFinRVM.exe com.openfin.desktop.demo.LayoutServiceDemo
+java -cp openfin-desktop-java-example-7.1.1.jar;openfin-desktop-java-adapter-7.1.1-SNAPSHOT.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;websocket-api-9.3.12.v20160915.jar;websocket-client-9.3.12.v20160915.jar;websocket-common-9.3.12.v20160915.jar;jetty-io-9.3.12.v20160915.jar;jetty-util-9.3.12.v20160915.jar -Dcom.openfin.demo.layout.url=http://localhost:8008/layout.html -Dcom.openfin.demo.layout.rvm=C:\Users\wenju\AppData\Local\OpenFin\OpenFinRVM.exe com.openfin.desktop.demo.LayoutServiceDemo


Move AppVeyor tests to use intercom-cli

Move AppVeyor tests to use intercom-cli

--- scripts/ci.bat
+++ scripts/ci.bat
@@ -19,7 +19,7 @@
 popd

 REM Generate IDL and Manifest for the testlib.
-pushd intercom-utils
+pushd intercom-cli

 cargo run -- idl ..\test\testlib > ..\test\testlib\testlib.idl
 if %errorlevel% neq 0 exit /b %errorlevel%


rake 4 azure

rake 4 azure

--- deploy.cmd
+++ deploy.cmd
@@ -97,6 +97,8 @@
   echo Executing bundle install

   PUSHD "%DEPLOYMENT_TARGET%"
+  %JRUBY_EXE% -S "%JRUBY_GEM_CMD%" uninstall rake
+  %JRUBY_EXE% -S "%JRUBY_GEM_CMD%" uninstall rake

   %JRUBY_EXE% -S "%JRUBY_BUNDLER_CMD%" install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
   IF !ERRORLEVEL! NEQ 0 goto error
@@ -107,7 +109,6 @@
 PUSHD "%DEPLOYMENT_TARGET%"
 SET RAILS_ENV=production
 echo Precompiling assets in %cd%
-%JRUBY_EXE% -S "%JRUBY_BUNDLER_CMD%" update rake
 %JRUBY_EXE% -S "%JRUBY_BUNDLER_CMD%" exec rake assets:precompile
 POPD


Fix YaccConstructor.exe location

Fix YaccConstructor.exe location

--- YaccConstructor/YardFrontend/gen.cmd
+++ YaccConstructor/YardFrontend/gen.cmd
@@ -1,3 +1,3 @@
 @echo off
-..\Main\bin\Release\YaccConstructor.exe -f FsYaccFrontend -i Parser.fsy ^
+..\YaccConstructor\bin\Release\YaccConstructor.exe -f FsYaccFrontend -i Parser.fsy ^
     -g "RNGLRGenerator -o Parser.fs -module Yard.Frontends.YardFrontend.GrammarParser -pos Source.Position -token Source.t" > log.txt


windows jar builder

windows jar builder

error: pathspec 'src/client/userinterface/java/pack.bat' did not match any file(s) known to git

--- src/client/userinterface/java/pack.bat
+++ src/client/userinterface/java/pack.bat
@@ -0,0 +1,3 @@
+javac -deprecation -d classes -source 1.6 -target 1.6 -cp extlibs/jsch-0.1.44.jar;extlibs/ws-commons-util-1.0.2.jar;extlibs/commons-vfs-1.0.jar;extlibs/VFSJFileChooser-0.0.3.jar;extlibs/jcommon-1.0.16.jar;extlibs/jxl.jar;extlibs/ws-commons-util-1.0.2.jar;extlibs/xmlrpc-client-3.1.3.jar;extlibs/xmlrpc-common-3.1.3.jar src/*.java
+cd classes
+jar cf ../target/test.jar  Icons  *.class


Updated repack command

Updated repack command

--- Scripts/GoRepack.cmd
+++ Scripts/GoRepack.cmd
@@ -1,8 +1,8 @@
 call "%~dp0Cleanup.cmd"

-rem xcopy "%~dp0..\src\DeveMazeGenerator\bin\Release\netstandard1.1" "%~dp0Output\" /e /y
+rem xcopy "%~dp0..\src\DeveMazeGenerator\bin\Release\netstandard1.3" "%~dp0Output\" /e /y

-robocopy "%~dp0..\src\DeveMazeGenerator\bin\Release\netstandard1.1" "%~dp0Output" /E /xf *.pdb
+robocopy "%~dp0..\src\DeveMazeGenerator\bin\Release\netstandard1.3" "%~dp0Output" /E /xf *.pdb

 "%~dp0\7z_x64_1602\7za.exe" a -mm=Deflate -mfb=258 -mpass=15 "%~dp0DeveMazeGeneratorCore.zip" "%~dp0Output\*"
 "%~dp0\7z_x64_1602\7za.exe" a -t7z -m0=LZMA2 -mmt=on -mx9 -md=1536m -mfb=273 -ms=on -mqs=on -sccUTF-8 "%~dp0DeveMazeGeneratorCore.7z" "%~dp0Output\*"


Updated create_release_package.bat

Updated create_release_package.bat

--- .devtools/create_release_package.bat
+++ .devtools/create_release_package.bat
@@ -10,7 +10,7 @@
 del versiontemp.json

 del "%releasePath%\grocy_%version%.zip"
-7za a -r "%releasePath%\grocy_%version%.zip" "%projectPath%\*" -xr!.* -xr!build.bat -xr!composer.json -xr!composer.lock -xr!package.json -xr!yarn.lock
+7za a -r "%releasePath%\grocy_%version%.zip" "%projectPath%\*" -xr!.* -xr!build.bat -xr!composer.json -xr!composer.lock -xr!package.json -xr!yarn.lock -xr!docs
 7za a "%releasePath%\grocy_%version%.zip" "%projectPath%\public\.htaccess"
 7za rn "%releasePath%\grocy_%version%.zip" .htaccess public\.htaccess
 7za d "%releasePath%\grocy_%version%.zip" data\*.* data\storage data\viewcache\*


Update FirstRun.bat

Update FirstRun.bat

--- Windows/FirstRun.bat
+++ Windows/FirstRun.bat
@@ -235,8 +235,8 @@
 net accounts /minpwlen:10
 REM Passwords must be changed every 30 days
 net accounts /maxpwage:30
-REM Passwords can only be changed after 1 day has passed
-net accounts /minpwage:1
+REM Passwords can only be changed after 5 day has passed
+net accounts /minpwage:5
 REM Display current password policy
 echo "CURRENT POLICY"
 PAUSE


Adding code coverage packages and generation batch

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

--- GenerateCoverage.bat
+++ GenerateCoverage.bat
@@ -0,0 +1,2 @@
+%HOMEPATH%\.nuget\packages\OpenCover\4.6.519\tools\OpenCover.Console.exe -target:"C:\Program Files\dotnet\dotnet.exe" -targetargs:"test ""test\SNPN.Test""" -filter:"+[*]* -[xunit*]*" -output:coverage.xml -oldStyle -register:user
+%HOMEPATH%\.nuget\packages\ReportGenerator\2.5.2\tools\ReportGenerator.exe -reports:coverage.xml -targetdir:"coverage-report"


Fix typo in poor man's trybot.

Fix typo in poor man's trybot.

TBR=grt@chromium.org
BUG=none

Review URL: http://codereview.chromium.org/8754002

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@112272 0039d316-1c4b-4281-b951-d872f2087c98

--- chrome_frame/test/poor_mans_trybot.bat
+++ chrome_frame/test/poor_mans_trybot.bat
@@ -38,7 +38,7 @@
 set CLIENT_ROOT=%~dp0%..\..
 set CONFIG=%1

-if (%2)==() goto setdefaultbase
+if (%2)==() goto setdefault
 if (%3)==() goto usage
 set DRIVE=%2
 set INSTALL_ROOT=%3


Feature Development: Removed commands to update openPDC dependencies in UpdateDependencies.bat.

git-tfs-id: [https://tfs.codeplex.com/tfs/TFS07]$/siegate/Feature Development;C85553

--- Build/Scripts/UpdateDependencies.bat
+++ Build/Scripts/UpdateDependencies.bat
@@ -19,8 +19,6 @@
 SET tfs="%VS110COMNTOOLS%\..\IDE\tf.exe"
 SET source1="\\GPAWEB\NightlyBuilds\GridSolutionsFramework\Beta\Libraries\*.*"
 SET target1="..\..\Source\Dependencies\GSF"
-SET source2="\\GPAWEB\NightlyBuilds\openPDC\Beta-VS2012\Libraries\*.*"
-SET target2="..\..\Source\Dependencies\openPDC"
 SET solution="..\..\Source\SIEGate.sln"
 SET sourcetools=..\..\Source\Applications\SIEGate\SIEGateSetup\
 SET frameworktools=\\GPAWEB\NightlyBuilds\GridSolutionsFramework\Beta\Tools\
@@ -29,7 +27,6 @@
 ECHO.
 ECHO Getting latest version...
 %tfs% get %target1% /version:T /force /recursive /noprompt
-%tfs% get %target2% /version:T /force /recursive /noprompt
 %tfs% get "%sourcetools%ConfigCrypter.exe" /version:T /force /recursive /noprompt
 %tfs% get "%sourcetools%ConfigurationEditor.exe" /version:T /force /recursive /noprompt
 %tfs% get "%sourcetools%DataMigrationUtility.exe" /version:T /force /recursive /noprompt
@@ -47,7 +44,6 @@

 ECHO.
 ECHO Updating dependencies...
-XCOPY %source2% %target2% /Y /U
 XCOPY %source1% %target1% /Y /U
 XCOPY "%frameworktools%ConfigCrypter\ConfigCrypter.exe" "%sourcetools%ConfigCrypter.exe" /Y
 XCOPY "%frameworktools%ConfigEditor\ConfigEditor.exe" "%sourcetools%ConfigurationEditor.exe" /Y
@@ -66,7 +62,6 @@
 ECHO.
 ECHO Checking in dependencies...
 %tfs% checkin %target1% /noprompt /recursive /comment:"VS2012: Updated grid solutions framework dependencies."
-%tfs% checkin %target2% /noprompt /recursive /comment:"VS2012: Updated openPDC dependencies."
 %tfs% checkin "%sourcetools%ConfigCrypter.exe" /noprompt /comment:"VS2012: Updated grid solutions framework tool: ConfigCrypter."
 %tfs% checkin "%sourcetools%ConfigurationEditor.exe" /noprompt /comment:"VS2012: Updated grid solutions framework tool: ConfigurationEditor."
 %tfs% checkin "%sourcetools%DataMigrationUtility.exe" /noprompt /comment:"VS2012: Updated grid solutions framework tool: DataMigrationUtility."


Add a wrapper .bat script for the watchmedo command.

Signed-off-by: Gora Khargosh <a2078c57e3ac12c6dfb97b7c2c4e6d6d7db7e92f@gmail.com>

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

--- watchmedo.bat
+++ watchmedo.bat
@@ -0,0 +1,27 @@
+@REM Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
+@REM watchmedo.bat
+@echo off
+set SCRIPT_ERRORLEVEL=
+if "%OS%" == "Windows_NT" goto WinNT
+
+@REM Windows 9x/Me you better not have more than 9 arguments.
+python watchmedo %1 %2 %3 %4 %5 %6 %7 %8 %9
+@REM No way to set exit status of this script for 9x/Me
+goto endscript
+
+@REM Windows NT+
+:WinNT
+setlocal
+set path=%~dp0;%~dp0..;%path%
+python watchmedo %*
+endlocal & set SCRIPT_ERRORLEVEL=%ERRORLEVEL%
+
+if not "%COMSPEC%" == "%SystemRoot%\system32\cmd.exe" goto returncode
+if errorlevel 9009 echo You do not have python in your PATH environment variable.
+goto endscript
+
+:returncode
+exit /B %SCRIPT_ERRORLEVEL%
+
+:endscript
+call :returncode %SCRIPT_ERRORLEVEL%


2 2017-06-09

2 2017-06-09

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

--- web/start.bat
+++ web/start.bat
@@ -0,0 +1 @@
+python app.py


build_llvm_package.bat: Bootstrap with VS 2019

git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@372984 91177308-0d34-0410-b5e6-96231b3b80d8

--- utils/release/build_llvm_package.bat
+++ utils/release/build_llvm_package.bat
@@ -8,9 +8,9 @@

 REM Prerequisites:
 REM
-REM   Visual Studio 2017, CMake, Ninja, SVN, GNUWin32, SWIG, Python 3,
+REM   Visual Studio 2019, CMake, Ninja, SVN, GNUWin32, SWIG, Python 3,
 REM   NSIS with the strlen_8192 patch,
-REM   Visual Studio 2017 SDK and Nuget (for the clang-format plugin),
+REM   Visual Studio 2019 SDK and Nuget (for the clang-format plugin),
 REM   Perl (for the OpenMP run-time).
 REM
 REM
@@ -19,7 +19,7 @@

 REM You need to modify the paths below:
-set vsdevcmd=C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\Tools\VsDevCmd.bat
+set vsdevcmd=C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\Tools\VsDevCmd.bat

 set python32_dir=C:\Users\%USERNAME%\AppData\Local\Programs\Python\Python36-32
 set python64_dir=C:\Users\%USERNAME%\AppData\Local\Programs\Python\Python36
@@ -72,8 +72,7 @@
 set CXX=
 mkdir build32_stage0
 cd build32_stage0
-REM Work around VS2017 bug by using MinSizeRel.
-cmake -GNinja %cmake_flags% -DPYTHON_HOME=%python32_dir% -DPYTHON_EXECUTABLE=%python32_dir%\python.exe -DCMAKE_BUILD_TYPE=MinSizeRel ..\llvm || exit /b
+cmake -GNinja %cmake_flags% -DPYTHON_HOME=%python32_dir% -DPYTHON_EXECUTABLE=%python32_dir%\python.exe ..\llvm || exit /b
 ninja all || ninja all || ninja all || exit /b
 ninja check || ninja check || ninja check || exit /b
 ninja check-clang || ninja check-clang || ninja check-clang || exit /b
@@ -97,6 +96,8 @@
 REM The plug-in is built separately as it uses a statically linked clang-format.exe.
 mkdir build_vsix
 cd build_vsix
+REM Having VSSDKINSTALL set makes devenv *not* find the SDK for some reason.
+set VSSDKINSTALL=
 set CC=..\build32_stage0\bin\clang-cl
 set CXX=..\build32_stage0\bin\clang-cl
 cmake -GNinja %cmake_flags% -DLLVM_USE_CRT_RELEASE=MT -DBUILD_CLANG_FORMAT_VS_PLUGIN=ON -DPYTHON_HOME=%python32_dir% -DPYTHON_EXECUTABLE=%python32_dir%\python.exe ..\llvm || exit /b
@@ -111,8 +112,7 @@
 set CXX=
 mkdir build64_stage0
 cd build64_stage0
-REM Work around VS2017 bug by using MinSizeRel.
-cmake -GNinja %cmake_flags% -DPYTHON_HOME=%python64_dir% -DPYTHON_EXECUTABLE=%python64_dir%\python.exe -DCMAKE_BUILD_TYPE=MinSizeRel ..\llvm || exit /b
+cmake -GNinja %cmake_flags% -DPYTHON_HOME=%python64_dir% -DPYTHON_EXECUTABLE=%python64_dir%\python.exe ..\llvm || exit /b
 ninja all || ninja all || ninja all || exit /b
 ninja check || ninja check || ninja check || exit /b
 ninja check-clang || ninja check-clang || ninja check-clang || exit /b


Added windows installer script (#94)

Added windows installer script (#94)

error: pathspec 'src/tools/installer.cmd' did not match any file(s) known to git

--- src/tools/installer.cmd
+++ src/tools/installer.cmd
@@ -0,0 +1,33 @@
+REM Fixing Symlinks for OS.js dist-dev
+REM Run this as an administrator from OS.js root directory
+REM EX: src\tools\installer.cmd
+
+SET srcdir=%CD%
+SET dstdir=%CD%\dist-dev
+
+del %dstdir%\blank.css
+mklink "%dstdir%\blank.css" "%srcdir%\dist\blank.css"
+
+del %dstdir%\favicon.ico
+mklink "%dstdir%\favicon.ico" "%srcdir%\dist\favicon.ico"
+
+del %dstdir%\favicon.png
+mklink "%dstdir%\favicon.png" "%srcdir%\dist\favicon.png"
+
+del %dstdir%\settings.js
+mklink "%dstdir%\settings.js" "%srcdir%\dist\settings.js"
+
+del %dstdir%\css
+mklink /j "%dstdir%\css" "%srcdir%\src\stylesheets"
+
+del %dstdir%\js
+mklink /j "%dstdir%\js" "%srcdir%\src\javascript"
+
+del %dstdir%\packages
+mklink /j "%dstdir%\packages" "%srcdir%\src\packages"
+
+del %dstdir%\themes
+mklink /j "%dstdir%\themes" "%srcdir%\src\themes"
+
+npm install
+grunt


translation updates

translation updates

git-svn-id: 42973100b4634b3c653b0d04ba2ce8cb0267cb12@121 5d7abbe1-27f8-cb71-bef1-01d8ca34fe51

--- module/i18n.inc.bat
+++ module/i18n.inc.bat
@@ -89,61 +89,61 @@

 	set PHRASE_1_0=  Visual Studio is not installed
 	set PHRASE_1_1=Select a Visual Studio version to build PvPGN:
-	set PHRASE_1_2=%2 chosen as a build environment
+	set PHRASE_1_2=%2 is selected as a build environment
 	set PHRASE_1_3=Do you want to download/update the latest PvPGN source from the SVN (into %2 directory)?
-	set PHRASE_1_4=   PvPGN will update from the SVN
+	set PHRASE_1_4=   PvPGN will be updated from the SVN
 	set PHRASE_1_5=   PvPGN will not update
-	set PHRASE_1_6=Select a PvPGN interface:
+	set PHRASE_1_6=Select PvPGN interface:
 	set PHRASE_1_7=   1) Console (defaut)
 	set PHRASE_1_8=   2) GUI
-	set PHRASE_1_9=Choose a number
+	set PHRASE_1_9=Select a number
 	set PHRASE_1_10=   Set PvPGN interface as Console
 	set PHRASE_1_11=   Set PvPGN interface as GUI (Graphical User Interface)
 	set PHRASE_1_12=Select a database type:
 	set PHRASE_1_13=   1) Plain / CDB (default)
 	set PHRASE_1_14=
-	set PHRASE_1_15=   PvPGN will build without database support
+	set PHRASE_1_15=   PvPGN will be built without database support
 	set PHRASE_1_16=CMake configuration failed

 	set PHRASE_2_1=Available %2 versions (you can add your own into %3):
-	set PHRASE_2_2=   Choose a number
-	set PHRASE_2_3=   Wrong choice... try again
-	set PHRASE_2_4=   PvPGN will compile with support %2 v%3
+	set PHRASE_2_2=   Enter a number
+	set PHRASE_2_3=   Wrong number... try again
+	set PHRASE_2_4=   PvPGN will be compiled with %2 v%3 support
 	set PHRASE_2_5=Do you want to configure settings for %2 now?
 	set PHRASE_2_6=    Connection host
 	set PHRASE_2_7=    Connection user
 	set PHRASE_2_8=    Connection password
 	set PHRASE_2_9=    Database name
 	set PHRASE_2_10=    Tables prefix (default is %2)
-	set PHRASE_2_11=%2 configuration saved
+	set PHRASE_2_11=%2 configuration is saved

 	set PHRASE_3_1=Checking for update ...
 	set PHRASE_3_2="v%2" is your version
 	set PHRASE_3_3="v%2" is remote version
 	set PHRASE_3_4= You have the latest PvPGN Magic Builder
-	set PHRASE_3_5=Remote version of PvPGN Magic Builder is not equals with yours. Do you want to automatically update to the new version?
+	set PHRASE_3_5=Remote version of PvPGN Magic Builder doesn't equal yours. Do you want to update to the latest version automatically?
 	set PHRASE_3_6= Update was cancelled by user
-	set PHRASE_3_6_1= Can not connect to update server
+	set PHRASE_3_6_1= There is no connection with update server
 	set PHRASE_3_7=Starting update ...
 	set PHRASE_3_8= Downloading file %2 ...
-	set PHRASE_3_9=Update finished
+	set PHRASE_3_9=Update is finished
 	set PHRASE_3_10=Please, check file %2 for more information about changes

 	set PHRASE_4_1=Do you want to apply patch(es) to your PvPGN source code?
-	set PHRASE_4_2=Please, first put your patch files to the %2 directory. You could download patches from the url: %3
+	set PHRASE_4_2=Please, first put your patch files to the %2 directory. You can download patches from the url: %3
 	set PHRASE_4_3=*** WARNING ***
-	set PHRASE_4_4=Paths into your *.patch files should set to relative of the root to the source code (it placed in the SVN at %2)
-	set PHRASE_4_5=For example: you want to apply patch to %2, so path to this file should be %3
+	set PHRASE_4_4=Paths in your *.patch files should be relative to the root of the source code directory (it is in the SVN at %2)
+	set PHRASE_4_5=If you want to apply patch to %2, path to this file should be %3
 	set PHRASE_4_6=Are you ready to patch?
 	set PHRASE_4_7=Applying patch %2 ...
 	set PHRASE_4_8=Finished. Please, check for conflicts.
 	set PHRASE_4_9=Do you want to continue building a PvPGN?
-
+
 	set PHRASE_9_1=Select your D2GS version:
 	set PHRASE_9_2=Enter admin password for Telnet connection (listening on port 8888)
-	set PHRASE_9_3=Password hash will saved in %2
-	set PHRASE_9_4=Do you want to download needed original MPQ files? (size 1GB)
-	set PHRASE_9_9=^^!^^!^^! To completely setup D2GS edit d2gs.reg and run install.bat ^^!^^!^^!
+	set PHRASE_9_3=Password hash will be saved in %2
+	set PHRASE_9_4=Do you want to download essential original MPQ files? (size 1GB)
+	set PHRASE_9_9=^^!^^!^^! To complete setup D2GS edit d2gs.reg and run install.bat ^^!^^!^^!

 	goto switch_lang

@@ -196,8 +196,8 @@
 	set PHRASE_4_1=  ਬ ()  室  PvPGN?
 	set PHRASE_4_2=砫  䠩 祩   %2.     뫪: %3
 	set PHRASE_4_3=***   ***
-	set PHRASE_4_4=   *.patch 䠩   ⠭ ⭮⥫쭮 ୥   室  ( SVN  ࠧ頥  %2)
-	set PHRASE_4_5=ਬ:   ਬ   䠩 %2, ⮣   ⮬ 䠩   %3
+	set PHRASE_4_4=   *.patch 䠩   ⭮⥫묨  ୥  室  ( SVN  室  %2)
+	set PHRASE_4_5=᫨   ਬ   䠩 %2, ⮣   ⮬ 䠩   %3
 	set PHRASE_4_6= ⮢  ਬ 祩?
 	set PHRASE_4_7=ਬ  %2 ...
 	set PHRASE_4_8=襭. ஢ 稥 䫨⮢.
@@ -387,14 +387,20 @@

 	set PHRASE_4_1=Mochten Sie  Patch(es) auf die PvPGN-Programmcode anwenden?
 	set PHRASE_4_2=Bringen Sie zuerst die Patch-Dateien in den %2-Order. Die Patches konnen per Link %3 heruntergeladen werden:
-	set PHRASE_4_3=*** BEACHTEN SIE BITTE***
+	set PHRASE_4_3=*** BEACHTEN SIE BITTE ***
 	set PHRASE_4_4=Die Pfade in Ihren Patch-Dateien (*.patch) sollen bezuglich auf den Ordner zur Programmcode eingestellt werden (in SVN wird sie in %2 platziert)
-	set PHRASE_4_5=Zum Beispiel: Sie mochten einen Patch auf die %2-Datei anwenden, dann soll der Pfad zu dieser Datei %3 sein
+	set PHRASE_4_5=Wenn Sie einen Patch auf die %2-Datei anwenden wollen, dann soll der Pfad zu dieser Datei %3 sein
 	set PHRASE_4_6=Sind Sie bereit, Patches anzuwenden?
 	set PHRASE_4_7=Der Patch %2 wird angewendet ...
 	set PHRASE_4_8=Beendet. Prufen Sie, ob es Konflikte gibt.
 	set PHRASE_4_9=Mochten Sie die PvPGN-Compilierung fortsetzen?
-
+
+	set PHRASE_9_1=Wahlen Sie Ihre D2GS Version:
+	set PHRASE_9_2=Geben Sie das Admin-Passwort fur Telnet-Verbindungen (auf Port 8888)
+	set PHRASE_9_3=Passwort-Hash wird in der Datei %2 gespeichert
+	set PHRASE_9_4=Wollen Sie wesentliche ursprungliche MPQ-Dateien herunterladen? (1GB)
+	set PHRASE_9_9=^^!^^!^^! Andern Sie d2gs.reg und schliesswn Sie install.bat ab ^^!^^!^^!
+
 	goto echo_phrase

 :: Serbian - translation by kingW3


Update make_msvc_win64.bat

Update make_msvc_win64.bat

--- .github/workflows/make_msvc_win64.bat
+++ .github/workflows/make_msvc_win64.bat
@@ -2,7 +2,7 @@
 set config=MinSizeRel
 mkdir cmake-build\msvc_win64
 cd    cmake-build\msvc_win64
-cmake -G "Visual Studio 16 2019" -A x64 ..\..
+cmake -G "Visual Studio 17 2022" -A x64 ..\..
 cmake --build . --config %config% --target covscript
 cmake --build . --config %config% --target covscript_debug
 cmake --build . --config %config% --target cs
@@ -17,4 +17,4 @@
 mkdir csdev\include\covscript
 mkdir csdev\lib
 xcopy /E /Y include\covscript csdev\include\covscript
-xcopy /E /Y build\lib         csdev\lib\+xcopy /E /Y build\lib         csdev\lib\


Give message about how to run it.

Give message about how to run it.


Add '/B' to exit to avoid exiting the CMD.exe

--- bin/Windows/test.cmd
+++ bin/Windows/test.cmd
@@ -57,7 +57,7 @@

 :error
     CALL %bin_dir%\echoc.exe 4  "Usage: run.cmd test build_type(Debug|Release|RelWithDebInfo|MinSizeRel) build_dir"
-    exit -1
+    exit /B -1

 :exit
-    exit /b 0
+    exit /B 0


Update eclipse-dl.bat,

Update eclipse-dl.bat,

Copy Splash.bmp on plugins folder only if exist.

--- win32/eclipse-dl.bat
+++ win32/eclipse-dl.bat
@@ -68,3 +68,8 @@
 	echo Install eclipse plugins
 	%ECLIPSE_INSTDIR%\eclipse\eclipse -clean -purgeHistory -nosplash -consolelog -application org.eclipse.equinox.p2.director -repository %ECLIPSEREPOS% -installIU %ECLIPSEPKGS%
 )
+if exist %ECLIPSE_INSTDIR%\eclipse\plugins\org.eclipse.platform_* (
+	for /f "delims=" %%a in ('dir %ECLIPSE_INSTDIR%\eclipse\plugins\org.eclipse.platform_"*" /on /ad /b') do @set ECLIPSE_SPLASH_FOLDER=%%a
+	echo Replacing Eclipse splash.bmp
+	copy /y "%CD%\Images\splash.bmp" "%ECLIPSE_INSTDIR%\eclipse\plugins\%ECLIPSE_SPLASH_FOLDER%\splash.bmp"
+)


Fix up BuildBelle.bat

Fix up BuildBelle.bat

--- build/BuildBelle.bat
+++ build/BuildBelle.bat
@@ -49,21 +49,21 @@

     ECHO Change directory to %CD%\..\src\Umbraco.Web.UI.Client\
     CD %CD%\..\src\Umbraco.Web.UI.Client\
-
-    ECHO Do npm install and the gulp build of Belle
+
+    ECHO Clean npm cache
+    call npm cache clean

-    ECHO Clean npm cache
-    call npm cache clean --quiet
-
-	ECHO Installing gulp
-	call npm install -g gulp --quiet
-	ECHO Installing gulp cli
-    call npm install -g gulp-cli --quiet
     ECHO Installing bower
-    call npm install -g bower --quiet
-    ECHO Doing npm install
-    call npm install --quiet
-    ECHO Executing gulp build
+    call npm install -g bower
+
+    ECHO Installing gulp & gulp cli
+    call npm install -g gulp
+    call npm install -g gulp-cli
+
+    ECHO Executing npm install
+    call npm install
+
+    ECHO Do gulp build of Belle
     call gulp build --buildversion=%release%

     ECHO Move back to the build folder


バッチにコメントを追加

バッチにコメントを追加

--- hifive-test-explorer/startHSQLDB.bat
+++ hifive-test-explorer/startHSQLDB.bat
@@ -1 +1,2 @@
+@echo Must set the JAVA_HOME environment variable to point to the JRE or JDK.
 java -cp lib/hsqldb-2.3.2.jar org.hsqldb.Server --props src/main/resources/appConf/hsqldb.properties


Create png2mpg4.bat

Create png2mpg4.bat

Batch file to automate FFmpeg utility to create mpg4 video from png image sequences.

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

--- png2mpg4.bat
+++ png2mpg4.bat
@@ -0,0 +1,29 @@
+@echo off
+echo Batch File encodes a sequence of png files into mpeg-4 video using FFmpeg
+:
+REM File name: png2mpg4.bat
+REM Ron Fredericks, LectureMaker LLC, http://www.LectureMaker.com
+:
+REM Files of the form: bst_graph00001.png, counting up.
+REM Frame rate set to 1 seconds per frame on input and 12 fps on output.
+REM Output video will reside in the same directory as the PNG sequence images.
+REM Note the use of a double %% to encode sequence numbers in this batch file,
+REM      use only one % outside of the batch file.
+:
+REM ffmpg parameters used:
+REM	-f image2 forces input to image file demuxer, creating video from many images, following a pattern
+REM	-r 1 indicates reading input at 1 second for each png file
+REM	-start_number 00001 is the start number for the png file sequence
+REM	-i bst_graph%%05d.png is the input pattern for the png file image sequence (numbers are 5 digits long)
+REM	-b:v 5000k is a high quality bitrate for video on output
+REM	-vcodec mpeg4 is the video codec
+REM	-r 30 is the frame rate for the video on output
+REM	-vf scale=720:480 is the video filter to scale output to a normal size of 720x480
+REM	-y overides output file without asking
+REM	movie.mp4 is the output file name
+:
+@echo on
+cd .\vidImages
+ffmpeg -f image2 -r 1 -start_number 00001 -i bst_graph%%05d.png  -b:v 5000k -vcodec mpeg4 -r 30 -vf scale=720:480 -y movie.mp4
+@echo off
+:


added build script

added build script

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

--- Build.RunTask.bat
+++ Build.RunTask.bat
@@ -0,0 +1,2 @@
+@echo off
+powershell -NoProfile -ExecutionPolicy unrestricted -Command "& .\build\Build.RunTask.ps1 %*"


Updated batch script to use dotnet pack

Updated batch script to use dotnet pack

--- CreatePackage.bat
+++ CreatePackage.bat
@@ -1,2 +1,2 @@
 del *.nupkg
-nuget pack ./MbDotNet/MbDotNet.csproj -Prop Configuration=Release+dotnet pack ./MbDotNet/MbDotNet.csproj -c Release -o ../


LOL - that was stupid of me:

LOL - that was stupid of me:

https://ci.appveyor.com/project/cefsharp/cefsharp/build/1.0.95#L7512

--- NuGet/pack.bat
+++ NuGet/pack.bat
@@ -6,4 +6,3 @@
 NuGet pack CefSharp.Wpf.nuspec -NoPackageAnalysis -Version %version% -Properties DotPlatform=.x86
 NuGet pack CefSharp.Wpf.nuspec -NoPackageAnalysis -Version %version% -Properties DotPlatform=.x64
 rem NuGet pack CefSharp.WinForms.nuspec -NoPackageAnalysis -Version %version%
-pause


Fix path referenced in run-test.cmd

Fix path referenced in run-test.cmd

--- run-test.cmd
+++ run-test.cmd
@@ -8,7 +8,7 @@
 set RUNTIME_PATH=%2

 if "%LOCATION%" == "" set LOCATION=%~dp0\bin\Windows_NT.AnyCPU.Debug
-if "%RUNTIME_PATH%" == "" set RUNTIME_PATH=%~dp0\Tools\testdotnetcli
+if "%RUNTIME_PATH%" == "" set RUNTIME_PATH=%~dp0\bin\runtime\netcoreapp-Windows_NT-Debug-x64

 pushd %LOCATION%


- Chg: Packaging details.

- Chg: Packaging details.

--- utils/simple_build.bat
+++ utils/simple_build.bat
@@ -9,20 +9,31 @@
 rmdir %abs_zips% /s /q
 mkdir %abs_zips%

-REM svn export svn://svn.code.sf.net/p/php-addressbook/code/trunk %abs_temp%
+REM
+REM get the newest sources from subversion
+REM
 svn export http://svn.github.com/chatelao/php-addressbook.git %abs_temp%

+REM
+REM zip and remove advanced featuers
+REM
 cscript simple_build_zip.vbs %abs_temp%\hybridauth %abs_temp%\hybridauth.zip
 cscript simple_build_zip.vbs %abs_temp%\z-push     %abs_temp%\z-push.zip
-
-rmdir %abs_temp%\jscalendar /s /q
-rmdir %abs_temp%\utils      /s /q
-rmdir %abs_temp%\test       /s /q

 rmdir %abs_temp%\hybridauth /s /q
 rmdir %abs_temp%\z-push /s /q

+REM
+REM remove all development folders
+REM
+rmdir %abs_temp%\utils      /s /q
+rmdir %abs_temp%\test       /s /q
+rmdir %abs_temp%\jscalendar /s /q
+del %abs_temp%\index.json.php
+del %abs_temp%\doodle.php
+del %abs_temp%\preferencs.php
+
 del %abs_temp%v%verson%.zip
-cscript simple_build_zip.vbs %abs_temp%            %abs_zips%v%version%.zip
+cscript simple_build_zip.vbs %abs_temp% addressbookv%version%.zip

 pause


Updated the provisioning script KB2919355.cmd to display more information about what it's doing.

--- script/KB2919355.cmd
+++ script/KB2919355.cmd
@@ -64,14 +64,17 @@

 :: The following cases simply assign the url depending on the detected platform.
 :Windows81x86
+echo ==^> Detected Platform: Microsoft Windows 8.1 ^(x86^)
 set "KB2919355_URL=%KB2919355_WIN81X86_URL%"
 goto prepare_kb2919355

 :Windows81x64
+echo ==^> Detected Platform: Microsoft Windows 8.1 ^(x64^)
 set "KB2919355_URL=%KB2919355_WIN81X64_URL%"
 goto prepare_kb2919355

 :Windows2012R2
+echo ==^> Detected Platform: Microsoft Windows Server 2012 ^(x64^)
 set "KB2919355_URL=%KB2919355_WIN2012R2_URL%"
 goto prepare_kb2919355

@@ -94,7 +97,10 @@
   goto exit1
 )

-if not exist "%KB2919355_PATH%" goto exit1
+if not exist "%KB2919355_PATH%" (
+  echo ==^> ERROR: Unable to locate downloaded file at %KB2919355_PATH%
+  goto exit1
+)

 :: Next we'll need to use wusa.exe to extract this update. We extract the cab
 :: file directly from the patch in order to manually install it with dism.exe.
@@ -103,6 +109,7 @@
 :: or even starting the wuauserv service we do it this way. It's just Microsoft's
 :: Visual C runtime anyways...
 :extract_kb2919355
+echo ==^> Extracting KB2919355 to path %KB2919355_DIR%
 start "" /wait wusa "%KB2919355_PATH%" "/extract:%KB2919355_DIR%"
 if not exist "%KB2919355_DIR%\%KB2919355_BASEFILENAME%.cab" (
   echo ==^> ERROR: Unable to extract Windows Update ^(KB2919355^) to %KB2919355_DIR%
@@ -112,6 +119,7 @@
 :: So, we now should have the cab file for KB2919355. Final thing that we need
 :: to do is to install it with dism, and make sure that it actually worked.
 :install_kb2919355
+echo ==^> Manually installing KB2919355 from file %KB2919355_DIR%\%KB2919355_BASEFILENAME%.cab
 start "" /wait dism /online /add-package "/packagepath:%KB2919355_DIR%\%KB2919355_BASEFILENAME%.cab"
 if errorlevel 1 (
   echo ==^> ERROR: Unable to install Windows Update ^(KB2919355^) from %KB2919355_DIR%\%KB2919355_BASEFILENAME%.cab


Fix the inf loop while trying to uninstall in the error case.

--- jenkins/client-test.bat
+++ jenkins/client-test.bat
@@ -47,6 +47,6 @@
 ECHO Failed with error level %errorlevel%

 rem # uninstall chef
-call msiexec /qb /x %omnibus_package% || GOTO :error
+call msiexec /qb /x %omnibus_package%

 ENDLOCAL


Undo xshell conversion of slashes.

Undo xshell conversion of slashes.

git-svn-id: 06aac1f7aa6783202dd435920b98a457d633d0b0@817 a9e16012-fd73-49ee-95cb-036de7809213

--- jenkins/jenkinsbild.bat
+++ jenkins/jenkinsbild.bat
@@ -42,6 +42,10 @@
 set JENKINS_WSPATH=%WORKSPACE%
 set JENKINS_WSPATH=%JENKINS_WSPATH:/=\%

+REM Jenkins xshell converts forward slashes in arguments to back slashes,
+REM but we need forward slashes so undo
+set BILDER_ARGS=%*:\=/%
+
 REM If workspace path doesn't contain drive letter
 REM then we add the current drive letter to the path.
 set foundcolon=false
@@ -85,7 +89,7 @@
 del temp.txt
 set JBILDERR=0
 @ECHO on
-C:\CYGWIN\bin\bash --login %CYGWINDIR%/bilder/jenkins/jenkinsbild %*
+C:\CYGWIN\bin\bash --login %CYGWINDIR%/bilder/jenkins/jenkinsbild %BILDER_ARGS
 @ECHO off
 if ERRORLEVEL 1 set JBILDERR=1


Update publishdocs.bat

Update publishdocs.bat

--- src/publishdocs.bat
+++ src/publishdocs.bat
@@ -9,6 +9,6 @@
 cd das-paymentsacceptancetesting
 git add --all
 git commit -m "Update docs for release %RELEASE_RELEASENAME%"
-git config  user.email "kalim.akbar@fasst.org.uk"
-git config  user.name "das build agent"
+git config  --global user.email "kalim.akbar@fasst.org.uk"
+git config  --global user.name "build agent"
 git push origin gh-pages


testing alternative to storing win creds

--- src/publishdocs.bat
+++ src/publishdocs.bat
@@ -1,11 +1,11 @@
 mkdir pubdocs
 cd pubdocs

-git clone https://github.com/SkillsFundingAgency/das-paymentsacceptancetesting.git --branch gh-pages
+git clone https://%1%:%2%github.com/SkillsFundingAgency/das-paymentsacceptancetesting.git --branch gh-pages

 xcopy ..\das-payments-AcceptanceTests\AcceptanceTests\docs das-paymentsacceptancetesting /E /R /Y

 cd das-paymentsacceptancetesting
 git add --all
 git commit -m "Update docs for release %RELEASE_RELEASENAME%"
-git push origin gh-pages+git push origin gh-pages


add error handling to bld.bat

add error handling to bld.bat

--- conda.recipe/bld.bat
+++ conda.recipe/bld.bat
@@ -1 +1,2 @@
-%PYTHON% setup.py install+%PYTHON% setup.py install
+if errorlevel 1 exit 1


fix cmake generators, add Vs2013 November CTP build option

--- settings.bat
+++ settings.bat
@@ -21,19 +21,27 @@
 ) else (
   if "%COMPILER%"=="MSVC2008-32"  (
       set MSC_VER=9
+     set "GENERATOR= -G"Visual Studio 12 2008""
       call "%VS90COMNTOOLS%\..\..\VC\vcvarsall.bat" x86
   )
   if "%COMPILER%"=="MSVC2010-32"  (
       set MSC_VER=10
+     set "GENERATOR= -G"Visual Studio 12 2010""
       call "%VS100COMNTOOLS%\..\..\VC\vcvarsall.bat" x86
   )
   if "%COMPILER%"=="MSVC2012"  (
      set MSC_VER=11
+     set "GENERATOR= -G"Visual Studio 12 2012 Win64""
      call "%VS110COMNTOOLS%\..\..\VC\vcvarsall.bat" x86_amd64
   )
   if "%COMPILER%"=="MSVC2013"  (
      set MSC_VER=12
-     set "GENERATOR=Visual Studio 12 2013 Win64"
+     set "GENERATOR= -G"Visual Studio 12 2013 Win64""
+     call "%VS120COMNTOOLS%\..\..\VC\vcvarsall.bat" x86_amd64
+  )
+  if "%COMPILER%"=="MSVC2013-CTP"  (
+     set MSC_VER=12
+     set "GENERATOR= -G"Visual Studio 12 2013 Win64" -T CTP_Nov2013"
      call "%VS120COMNTOOLS%\..\..\VC\vcvarsall.bat" x86_amd64
   )
   if "%COMPILER%"=="MSVC2015"  (


r7383/sofa-dev : FIX: project_otions script for windows with configuration setting

--- project_options.bat
+++ project_options.bat
@@ -25,29 +25,30 @@
 echo 4 : rebuild all components
 echo 5 :   - rebuild behaviormodel
 echo 6 :   - rebuild collision
-echo 7 :   - rebuild constraint
-echo 8 :   - rebuild contextobject
-echo 9 :   - rebuild controller
-echo 10:   - rebuild engine
-echo 11 :  - rebuild fem
-echo 12 :  - rebuild forcefield
-echo 13 :  - rebuild interactionforcefield
-echo 14 :  - rebuild linearsolver
-echo 15 :  - rebuild loader
-echo 16 :  - rebuild mapping
-echo 17 :  - rebuild mass
-echo 18 :  - rebuild mastersolver
-echo 19 :  - rebuild misc
-echo 20 :  - rebuild odesolver
-echo 21 :  - rebuild topology
-echo 22 :  - rebuild typedef
-echo 23 :  - rebuild visualmodel
-echo 24 : rebuild gui
-echo 25 : rebuild simulation
-echo 26 : rebuild cuda module
-echo 27 : rebuild core
-echo 28 : rebuild defaulttype
-echo 29 : rebuild helper
+echo 7 :   - rebuild configurationsetting
+echo 8 :   - rebuild constraint
+echo 9 :   - rebuild contextobject
+echo 10 :   - rebuild controller
+echo 11:   - rebuild engine
+echo 12 :  - rebuild fem
+echo 13 :  - rebuild forcefield
+echo 14 :  - rebuild interactionforcefield
+echo 15 :  - rebuild linearsolver
+echo 16 :  - rebuild loader
+echo 17 :  - rebuild mapping
+echo 18 :  - rebuild mass
+echo 19 :  - rebuild mastersolver
+echo 20 :  - rebuild misc
+echo 21 :  - rebuild odesolver
+echo 22 :  - rebuild topology
+echo 23 :  - rebuild typedef
+echo 24 :  - rebuild visualmodel
+echo 25 : rebuild gui
+echo 26 : rebuild simulation
+echo 27 : rebuild cuda module
+echo 28 : rebuild core
+echo 29 : rebuild defaulttype
+echo 30 : rebuild helper
 set /p choix=your choice :
 if %choix%==0	set mode=Sofa&		set proj=Sofa.sln
 if %choix%==1	set mode=projects&	set proj=Sofa.sln&	cd applications\projects
@@ -56,29 +57,30 @@
 if %choix%==4 	set mode=component&	set proj=Sofa.sln&	cd modules\sofa\component
 if %choix%==5 	set mode=behaviormodel& 			set proj=sofacomponentbehaviormodel.vcproj&	 cd modules\sofa\component\behaviormodel
 if %choix%==6 	set mode=collision& 				set proj=sofacomponentcollision.vcproj&	 cd modules\sofa\component\collision
-if %choix%==7 	set mode=constraint& 				set proj=sofacomponentconstraint.vcproj&	 cd modules\sofa\component\constraint
-if %choix%==8 	set mode=contextobject& 			set proj=sofacomponentcontextobject.vcproj&	 cd modules\sofa\component\contextobject
-if %choix%==9 	set mode=controller& 				set proj=sofacomponentcontroller.vcproj&	 cd modules\sofa\component\controller
-if %choix%==10	set mode=engine& 					set proj=sofacomponentengine.vcproj&	 cd modules\sofa\component\engine
-if %choix%==11	set mode=fem& 						set proj=sofacomponentfem.vcproj&	cd modules\sofa\component\fem
-if %choix%==12	set mode=forcefield& 				set proj=sofacomponentforcefield.vcproj&	 cd modules\sofa\component\forcefield
-if %choix%==13 	set mode=interactionforcefield& 	set proj=sofacomponentinteractionforcefield.vcproj&	 cd modules\sofa\component\interactionforcefield
-if %choix%==14 	set mode=linearsolver& 				set proj=sofacomponentlinearsolver.vcproj&	 cd modules\sofa\component\linearsolver
-if %choix%==15 	set mode=loader& 					set proj=sofacomponentloader.vcproj&	 cd modules\sofa\component\loader
-if %choix%==16 	set mode=mapping& 					set proj=sofacomponentmapping.vcproj&	 cd modules\sofa\component\mapping
-if %choix%==17 	set mode=mass& 						set proj=sofacomponentmass.vcproj&	 cd modules\sofa\component\mass
-if %choix%==18 	set mode=mastersolver& 				set proj=sofacomponentmastersolver.vcproj&	 cd modules\sofa\component\mastersolver
-if %choix%==19 	set mode=misc& 						set proj=sofacomponentmisc.vcproj&	 cd modules\sofa\component\misc
-if %choix%==20 	set mode=odesolver& 				set proj=sofacomponentodesolver.vcproj&	 cd modules\sofa\component\odesolver
-if %choix%==21 	set mode=topology& 					set proj=sofacomponenttopology.vcproj&	 cd modules\sofa\component\topology
-if %choix%==22 	set mode=typedef& 					set proj=sofacomponenttypedef.vcproj&	 cd modules\sofa\component\typedef
-if %choix%==23 	set mode=visualmodel& 				set proj=sofacomponentvisualmodel.vcproj&	 cd modules\sofa\component\visualmodel
-if %choix%==24 	set mode=gui&			set proj=Sofa.sln&	cd applications\sofa\gui
-if %choix%==25 	set mode=simulation&	set proj=Sofa.sln&	cd modules\sofa\simulation
-if %choix%==26 	set mode=gpu&			set proj=Sofa.sln&	cd modules\sofa\gpu
-if %choix%==27 	set mode=core&			set proj=sofacore.vcproj&	cd framework\sofa\core
-if %choix%==28 	set mode=defaulttype&	set proj=sofadefaulttype.vcproj.sln&	cd framework\sofa\defaulttype
-if %choix%==29 	set mode=helper&		set proj=sofahelper.vcproj&	cd framework\sofa\helper
+if %choix%==7 	set mode=configurationsetting& 			set proj=sofacomponentconfigurationsetting.vcproj&	 cd modules\sofa\component\configurationsetting
+if %choix%==8 	set mode=constraint& 				set proj=sofacomponentconstraint.vcproj&	 cd modules\sofa\component\constraint
+if %choix%==9 	set mode=contextobject& 			set proj=sofacomponentcontextobject.vcproj&	 cd modules\sofa\component\contextobject
+if %choix%==10 	set mode=controller& 				set proj=sofacomponentcontroller.vcproj&	 cd modules\sofa\component\controller
+if %choix%==11	set mode=engine& 					set proj=sofacomponentengine.vcproj&	 cd modules\sofa\component\engine
+if %choix%==12	set mode=fem& 						set proj=sofacomponentfem.vcproj&	cd modules\sofa\component\fem
+if %choix%==13	set mode=forcefield& 				set proj=sofacomponentforcefield.vcproj&	 cd modules\sofa\component\forcefield
+if %choix%==14 	set mode=interactionforcefield& 	set proj=sofacomponentinteractionforcefield.vcproj&	 cd modules\sofa\component\interactionforcefield
+if %choix%==15 	set mode=linearsolver& 				set proj=sofacomponentlinearsolver.vcproj&	 cd modules\sofa\component\linearsolver
+if %choix%==16 	set mode=loader& 					set proj=sofacomponentloader.vcproj&	 cd modules\sofa\component\loader
+if %choix%==17 	set mode=mapping& 					set proj=sofacomponentmapping.vcproj&	 cd modules\sofa\component\mapping
+if %choix%==18 	set mode=mass& 						set proj=sofacomponentmass.vcproj&	 cd modules\sofa\component\mass
+if %choix%==19 	set mode=mastersolver& 				set proj=sofacomponentmastersolver.vcproj&	 cd modules\sofa\component\mastersolver
+if %choix%==20 	set mode=misc& 						set proj=sofacomponentmisc.vcproj&	 cd modules\sofa\component\misc
+if %choix%==21 	set mode=odesolver& 				set proj=sofacomponentodesolver.vcproj&	 cd modules\sofa\component\odesolver
+if %choix%==22 	set mode=topology& 					set proj=sofacomponenttopology.vcproj&	 cd modules\sofa\component\topology
+if %choix%==23 	set mode=typedef& 					set proj=sofacomponenttypedef.vcproj&	 cd modules\sofa\component\typedef
+if %choix%==24 	set mode=visualmodel& 				set proj=sofacomponentvisualmodel.vcproj&	 cd modules\sofa\component\visualmodel
+if %choix%==25 	set mode=gui&			set proj=Sofa.sln&	cd applications\sofa\gui
+if %choix%==26 	set mode=simulation&	set proj=Sofa.sln&	cd modules\sofa\simulation
+if %choix%==27 	set mode=gpu&			set proj=Sofa.sln&	cd modules\sofa\gpu
+if %choix%==28 	set mode=core&			set proj=sofacore.vcproj&	cd framework\sofa\core
+if %choix%==29 	set mode=defaulttype&	set proj=sofadefaulttype.vcproj.sln&	cd framework\sofa\defaulttype
+if %choix%==30 	set mode=helper&		set proj=sofahelper.vcproj&	cd framework\sofa\helper
 echo you chose %mode%
 goto params


Add doc comments to configure-windows-visual-studio.bat

--- configure-windows-visual-studio.bat
+++ configure-windows-visual-studio.bat
@@ -20,7 +20,7 @@
 :: if one of the modes returned with an error, exit script
 if "%ERRORLEVEL%" NEQ "0" exit /B 1

-:: verify that both variables PTHREAD_HOME and WINPCAP_HOME are set
+:: verify that all variables: PTHREAD_HOME, WINPCAP_HOME, VS_VERSION are set
 if "%VS_VERSION%"=="" echo Visual studio version was not supplied. Exiting & exit /B 1
 if "%PTHREAD_HOME%"=="" echo pthread-win32 directory was not supplied. Exiting & exit /B 1
 if "%WINPCAP_HOME%"=="" echo WinPcap directory was not supplied. Exiting & exit /B 1
@@ -34,7 +34,7 @@
 set VS_PROPERTY_SHEET=PcapPlusPlusPropertySheet.props
 set VS_PROPERTY_SHEET_TEMPLATE=mk\vs\%VS_PROPERTY_SHEET%.template

-:: create VS project directory
+:: create VS project directory if doesn't exist already
 if not exist "%VS_PROJ_DIR%" mkdir %VS_PROJ_DIR%

 :: set PcapPlusPlus home, pthread-win32 and WinPcap locations in %VS_PROPERTY_SHEET%
@@ -77,7 +77,8 @@
 	set PlatformToolset=v142
 )

-:: go over all vcxproj template files and set the params according to the request VS version
+:: go over all vcxproj template files and set the project params according to the requested VS version
+:: create vcxproj files and copy them to the VS project directory
 setlocal enabledelayedexpansion
 set PROJ_LIST_LOCAL=
 for %%P in (mk\vs\*.vcxproj.template) do (
@@ -98,7 +99,7 @@
 )
 endlocal & set PROJ_LIST=%PROJ_LIST_LOCAL%

-:: copy solution, vcxproj.filters, and git version fetch related files
+:: copy solution, vcxproj.filters, and git info fetch files to VS project directory
 xcopy /Y /Q mk\vs\*.sln %VS_PROJ_DIR%\ >nul
 xcopy /Y /Q mk\vs\*.vcxproj.filters %VS_PROJ_DIR%\ >nul
 xcopy /Y /Q mk\vs\fetch-git-info.bat %VS_PROJ_DIR%\ >nul
@@ -266,7 +267,7 @@

 :: -------------------------------------------------------------------
-:: a "function" that prints help for this script
+:: a "function" that prints help information for this script
 :HELP
 echo.
 echo Help documentation for %~nx0
@@ -277,10 +278,10 @@
 echo Basic usage: %~nx0 [-h] -p PTHREADS_WIN32_DIR -w WINPCAP_HOME_DIR
 echo.
 echo The following switches are recognized:
-echo -p^|--pthreads-home   --Sets pthreads-win32 home directory
-echo -w^|--winpcap-home    --Sets WinPcap home directory
-echo -v^|--vs-version      --Sets Visual Studio version to configure. Should be one of: vs2015, vs2017, vs2019
-echo -h^|--help            --Displays this help message and exits. No further actions are performed
+echo -v^|--vs-version      --Set Visual Studio version to configure. Must be one of: vs2015, vs2017, vs2019
+echo -p^|--pthreads-home   --Set pthreads-win32 home directory
+echo -w^|--winpcap-home    --Set WinPcap home directory
+echo -h^|--help            --Display this help message and exits. No further actions are performed
 echo.
 :: done printing, exit
 exit /B 0


Update package/win32/make-install-win32.bat

Co-authored-by: Kevin Ushey <ffb4761cba839470133bee36aeb139f58d7dbaa9@rstudio.com>

--- package/win32/make-install-win32.bat
+++ package/win32/make-install-win32.bat
@@ -28,7 +28,7 @@
       -DCMAKE_C_COMPILER=cl.exe ^
       -DCMAKE_CXX_COMPILER=cl.exe ^
       ..\..\.. || goto :error
-cmake --build . %MAKEFLAGS% --config %CMAKE_BUILD_TYPE% --target install || goto :error
+cmake --build . --config %CMAKE_BUILD_TYPE% --target install -- %MAKEFLAGS% || goto :error
 cd ..

 endlocal


Little command to publish the docs

Little command to publish the docs

--- publish-docs.cmd
+++ publish-docs.cmd
@@ -1,7 +1,7 @@
-packages\storyteller\tools\ST.exe doc-export z:\code\structuremap.github.com Website
+packages\storyteller\tools\ST.exe doc-export z:\code\structuremap.github.com Website --version 3.1.6

-cd \structuremap.github.com
+cd \code\structuremap.github.com

 git add --all


Use in place deployment

Use in place deployment

--- deploy.cmd
+++ deploy.cmd
@@ -20,16 +20,18 @@

 setlocal enabledelayedexpansion

-:: FOR_ORCHARD
+
+:: #region ORCHARD ENVIRONMENTAL VARIABLES
 :: ------------
 SET SITE_DIR=%~dp0%..
 SET DEPLOYMENT_SOURCE=%~dp0%.
 SET DEPLOYMENT_TARGET=%SITE_DIR%\wwwroot
 SET DEPLOYMENT_TEMP="%DEPLOYMENT_SOURCE%\build\precompiled"
 SET CLEAN_LOCAL_DEPLOYMENT_TEMP=true
+SET IN_PLACE_DEPLOYMENT=1
+:: #endregion ORCHARD ENVIRONMENTAL VARIABLES
+:: ---------------

-:: END FOR_ORCHARD
-:: ---------------

 SET ARTIFACTS=%~dp0%..\artifacts

@@ -84,11 +86,11 @@
   IF !ERRORLEVEL! NEQ 0 goto error
 )

-:: 2. Build to the temporary path
+:: 2. Build
 IF /I "%IN_PLACE_DEPLOYMENT%" NEQ "1" (
   call :ExecuteCmd "%MSBUILD_PATH%" "%DEPLOYMENT_SOURCE%\Orchard.proj" /nologo /verbosity:m /t:Build /t:pipelinePreDeployCopyAllFilesToOneFolder /p:_PackageTempDir="%DEPLOYMENT_TEMP%";AutoParameterizationWebConfigConnectionStrings=false;Configuration=Release /p:SolutionDir="%DEPLOYMENT_SOURCE%\src\\" %SCM_BUILD_ARGS%
 ) ELSE (
-  call :ExecuteCmd "%MSBUILD_PATH%" "%DEPLOYMENT_SOURCE%\Orchard.proj" /nologo /verbosity:m /t:Build /p:AutoParameterizationWebConfigConnectionStrings=false;Configuration=Release /p:SolutionDir="%DEPLOYMENT_SOURCE%\src\\" %SCM_BUILD_ARGS%
+  call :ExecuteCmd "%MSBUILD_PATH%" "%DEPLOYMENT_SOURCE%\Orchard.proj" /nologo /verbosity:m /t:Precompiled /p:AutoParameterizationWebConfigConnectionStrings=false;Configuration=Release /p:SolutionDir="%DEPLOYMENT_SOURCE%\src\\" %SCM_BUILD_ARGS%
 )

 IF !ERRORLEVEL! NEQ 0 goto error


chore: user yarn instead of npm

chore: user yarn instead of npm

--- deploy.cmd
+++ deploy.cmd
@@ -103,8 +103,9 @@

 IF EXIST "%1\package.json" (
   pushd "%1"
-  call npm install
-  call npm run build
+  call npm install -g yarn
+  call yarn install
+  call yarn build
   IF !ERRORLEVEL! NEQ 0 goto error
   popd
 )


Fix deploy script

Fix deploy script

--- deploy.cmd
+++ deploy.cmd
@@ -19,7 +19,7 @@
 echo info: Push NuGet nupkg
 set /p APIKEY="Enter NuGet ApiKey:"
 for /f %%b IN ('dir /b *.nupkg') do (
-	rem nuget push "%%b" -ApiKey %APIKEY%
+	nuget push "%%b" -ApiKey %APIKEY% -Source https://www.nuget.org/api/v2/package
 )

 mkdir .\build