Updated pack script

Updated pack script

--- nuspec/pack.bat
+++ nuspec/pack.bat
@@ -1,12 +1,11 @@
 del *.nupkg
-nuget setapikey ---
+nuget setapikey

 nuget pack Cheesebaron.MvxPlugins.AppId.nuspec -symbols
-nuget pack Cheesebaron.MvxPlugins.Sms.nuspec -symbols
+nuget pack Cheesebaron.MvxPlugins.DeviceInfo.nuspec -symbols
 nuget pack Cheesebaron.MvxPlugins.Settings.nuspec -symbols
 nuget pack Cheesebaron.MvxPlugins.SimpleWebToken.nuspec -symbols
-nuget pack Cheesebaron.MvxPlugins.FormsPresenters.nuspec -symbols
-nuget pack Cheesebaron.MvxPlugins.Notifications.nuspec -symbols
+nuget pack Cheesebaron.MvxPlugins.Sms.nuspec -symbols

 for /r %%i in (*.nupkg) do (call :pushpackage "%%i")
 pause


Update build-windows.bat

Update build-windows.bat

--- utils/build-windows.bat
+++ utils/build-windows.bat
@@ -85,8 +85,9 @@
 path %PATH%;C:\Program Files\Git\usr\bin
 call :build_libdispatch %exitOnError%

+path %source_root%\icu-%icu_version%\bin64;%install_directory%\bin;%build_root%\swift\bin;%build_root%\swift\libdispatch-prefix\bin;%PATH%
+
 if %RunTest%==1 (
-  path %source_root%\icu-%icu_version%\bin64;%install_directory%\bin;%build_root%\swift\bin;%build_root%\swift\libdispatch-prefix\bin;%PATH%
   call :test_swift %exitOnError%
   call :test_libdispatch %exitOnError%
 )


Load x64 toolchain for NMAKE

Load x64 toolchain for NMAKE

--- buildtools/nmake/make.bat
+++ buildtools/nmake/make.bat
@@ -1,5 +1,5 @@
 @if "%VS140COMNTOOLS%"=="" goto error_vc14
-@call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat"
+@call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" x64
 @if "%HIPACC_PATH%"=="" goto error_hipacc

@@ -39,4 +39,4 @@
 @echo ERROR: Cannot find Visual C++ Build Tools 2015.
 @goto end

-:end+:end


New script to set environment for 64-bit 3.[34].

--- .ci/appveyor/run_with_env.cmd
+++ .ci/appveyor/run_with_env.cmd
@@ -1,47 +1,21 @@
+@echo off
 :: To build extensions for 64 bit Python 3, we need to configure environment
 :: variables to use the MSVC 2010 C++ compilers from GRMSDKX_EN_DVD.iso of:
-:: MS Windows SDK for Windows 7 and .NET Framework 4 (SDK v7.1)
-::
-:: To build extensions for 64 bit Python 2, we need to configure environment
-:: variables to use the MSVC 2008 C++ compilers from GRMSDKX_EN_DVD.iso of:
-:: MS Windows SDK for Windows 7 and .NET Framework 3.5 (SDK v7.0)
-::
-:: 32 bit builds do not require specific environment configurations.
-::
-:: Note: this script needs to be run with the /E:ON and /V:ON flags for the
-:: cmd interpreter, at least for (SDK v7.0)
+:: MS Windows SDK for Windows 7 and .NET Framework 4
 ::
 :: More details at:
 :: https://github.com/cython/cython/wiki/64BitCythonExtensionsOnWindows
-:: http://stackoverflow.com/a/13751649/163740
-::
-:: Author: Olivier Grisel
-:: License: CC0 1.0 Universal: http://creativecommons.org/publicdomain/zero/1.0/
-@ECHO OFF

-SET COMMAND_TO_RUN=%*
-SET WIN_SDK_ROOT=C:\Program Files\Microsoft SDKs\Windows
-
-SET MAJOR_PYTHON_VERSION="%PYTHON_VERSION:~0,1%"
-IF %MAJOR_PYTHON_VERSION% == "2" (
-    SET WINDOWS_SDK_VERSION="v7.0"
-) ELSE IF %MAJOR_PYTHON_VERSION% == "3" (
-    SET WINDOWS_SDK_VERSION="v7.1"
+IF "%DISTUTILS_USE_SDK%"=="1" (
+    ECHO Configuring environment to build with MSVC on a 64bit architecture
+    ECHO Using Windows SDK 7.1
+    "C:\Program Files\Microsoft SDKs\Windows\v7.1\Setup\WindowsSdkVer.exe" -q -version:v7.1
+    CALL "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 /release
+    SET MSSdk=1
+    REM Need the following to allow tox to see the SDK compiler
+    SET TOX_TESTENV_PASSENV=DISTUTILS_USE_SDK MSSdk INCLUDE LIB
 ) ELSE (
-    ECHO Unsupported Python version: "%MAJOR_PYTHON_VERSION%"
-    EXIT 1
+    ECHO Using default MSVC build environment
 )

-IF "%PLATFORM%"=="x64" (
-    ECHO Configuring Windows SDK %WINDOWS_SDK_VERSION% for Python %MAJOR_PYTHON_VERSION% on a 64 bit architecture
-    SET DISTUTILS_USE_SDK=1
-    SET MSSdk=1
-    "%WIN_SDK_ROOT%\%WINDOWS_SDK_VERSION%\Setup\WindowsSdkVer.exe" -q -version:%WINDOWS_SDK_VERSION%
-    "%WIN_SDK_ROOT%\%WINDOWS_SDK_VERSION%\Bin\SetEnv.cmd" /x64 /release
-    ECHO Executing: %COMMAND_TO_RUN%
-    call %COMMAND_TO_RUN% || EXIT 1
-) ELSE (
-    ECHO Using default MSVC build environment for 32 bit architecture
-    ECHO Executing: %COMMAND_TO_RUN%
-    call %COMMAND_TO_RUN% || EXIT 1
-)
+CALL %*


add update functionality to xp-installer

--- spf13-vim-windows-xp-install.cmd
+++ spf13-vim-windows-xp-install.cmd
@@ -12,9 +12,18 @@
         @if exist "%HOME%\.gvimrc" call copy "%HOME%\.gvimrc" "%HOME%\.gvimrc.%today%"
         )

-call git clone --recursive -b 3.0 git://github.com/spf13/spf13-vim.git "%BASE_DIR%"
-call mkdir "%BASE_DIR%\.vim\bundle"
-call copy "%BASE_DIR%\.vim" "%HOME%\.vim"
+@if exist "%BASE_DIR%" (
+        @set ORIGINAL_DIR=%CD%
+        echo updating spf13-vim
+        chdir /d "%BASE_DIR%" && git pull
+        chdir /d "%ORIGINAL_DIR%"
+        ) else (
+            echo cloning spf13-vim
+            call git clone --recursive -b 3.0 git://github.com/spf13/spf13-vim.git "%BASE_DIR%"
+        )
+
+@if not exist  "%BASE_DIR%\.vim\bundle" call mkdir "%BASE_DIR%\.vim\bundle"
+call xcopy /s/e/h/y/r/q/i "%BASE_DIR%\.vim" "%HOME%\.vim"
 call copy "%BASE_DIR%\.vimrc" "%HOME%\.vimrc"
 call copy "%BASE_DIR%\.vimrc" "%HOME%\_vimrc"
 call copy "%BASE_DIR%\.vimrc.bundles" "%HOME%\.vimrc.bundles"


Create stencyl-4gb.bat

Create stencyl-4gb.bat

error: pathspec 'chapter-a/stencyl-4gb.bat' did not match any file(s) known to git

--- chapter-a/stencyl-4gb.bat
+++ chapter-a/stencyl-4gb.bat
@@ -0,0 +1 @@
+java -Xms128m -Xmx4096m -jar sw.jar


add exclude GlyphView,getBreakSpot argument

--- chapter-a/stencyl-8gb.bat
+++ chapter-a/stencyl-8gb.bat
@@ -1 +1,6 @@
-java -Xms128m -Xmx8192m -jar sw.jar
+java^
+ -Xms64m^
+ -Xmx8192m^
+ -XX:CompileCommand=exclude,javax/swing/text/GlyphView,getBreakSpot^
+ -XX:-OmitStackTraceInFastThrow^
+ -jar sw.jar


commit on 12/06/2018 at 12:23:41

commit on 12/06/2018 at 12:23:41


Revert "swap GnuWin32 with 7zip, cuz sourceforge is broke"

This reverts commit 42237d6c20c650f9803acbd496df30d8d9e0b8d6.

--- ci/tasks/cats-windows.bat
+++ ci/tasks/cats-windows.bat
@@ -4,7 +4,7 @@
 SET PATH=C:\Go\bin;%PATH%
 SET PATH=C:\Program Files\Git\cmd\;%PATH%
 SET PATH=%CD%\cf-release-repo\bin;%PATH%
-SET PATH=C:\Program Files\7-Zip;%PATH%
+SET PATH=C:\Program Files\GnuWin32\bin;%PATH%
 SET PATH=C:\Program Files\cURL\bin;%PATH%
 SET PATH=%CD%;%PATH%

@@ -15,8 +15,8 @@
 go get -v github.com/onsi/ginkgo/ginkgo

 pushd %CD%\cf-cli-binaries
-	7z x cf-cli-binaries.tgz
-	7z x cf-cli-binaries.tar
+	gzip -d cf-cli-binaries.tgz
+	tar -xvf cf-cli-binaries.tar
 	MOVE %CD%\cf-cli_winx64.exe ..\cf.exe
 	dir ..
 popd


Suppress banner output from tlbimp and aximp

--- Build/makeComInteropFiles.bat
+++ Build/makeComInteropFiles.bat
@@ -82,14 +82,14 @@

 :TlbImp
 echo =================================
-tlbimp "%SOURCE%\%1.dll" /out:%1.dll /tlbreference:"%TWWIN32API%" /namespace:%1 /silence:3008 /silence:3011 /silence:3012 %ASM_VERSION% %REFERENCE%
+tlbimp "%SOURCE%\%1.dll" /out:%1.dll /tlbreference:"%TWWIN32API%" /namespace:%1 /nologo /silence:3008 /silence:3011 /silence:3012 %ASM_VERSION% %REFERENCE%
 if errorlevel 1 goto :Err
 set REFERENCE=%REFERENCE% /reference:%1.dll
 echo.
 goto :EOF

 :TlbImpAx
-tlbimp "%SOURCE%\%1.ocx" /out:%1.dll /tlbreference:"%TWWIN32API%" /namespace:%1 /silence:3008 /silence:3011 /silence:3012 %ASM_VERSION% %REFERENCE%
+tlbimp "%SOURCE%\%1.ocx" /out:%1.dll /tlbreference:"%TWWIN32API%" /namespace:%1 /nologo /silence:3008 /silence:3011 /silence:3012 %ASM_VERSION% %REFERENCE%
 if errorlevel 1 goto :Err
 set REFERENCE=%REFERENCE% /reference:%1.dll
 goto :EOF
@@ -97,7 +97,7 @@
 :AxImp
 echo =================================
 call :TlbImpAx %1
-aximp "%SOURCE%\%1.ocx" /out:Ax%1.dll /rcw:%1.dll
+aximp "%SOURCE%\%1.ocx" /out:Ax%1.dll /rcw:%1.dll /nologo
 if errorlevel 1 goto :Err
 echo.
 goto :EOF


beta.bat

beta.bat


Update npm-publish.bat

Update npm-publish.bat

--- npm-publish.bat
+++ npm-publish.bat
@@ -1,5 +1,4 @@
 call npm publish ./
 echo.

-del npm-debug.log
 pause


Move the js files to script folders #75

Move the js files to script folders #75

--- nuget/build.bat
+++ nuget/build.bat
@@ -2,7 +2,8 @@

 rmdir /s /q content
 mkdir content
-copy ..\dist\* content
+mkdir content\scripts
+copy ..\dist\* content\scripts
 del angular-file-upload.*

 NuGet Pack Package.nuspec


Made sure we only copy svnrevnum file for dev releases

--- HOPSAN++/makeReleaseWin32.bat
+++ HOPSAN++/makeReleaseWin32.bat
@@ -466,7 +466,10 @@

 :: Export "HopsanCore" SVN directory to "include" in temporary directory
 svn export HopsanCore\include %tempDir%\HopsanCore\include
-xcopy HopsanCore\include\svnrevnum.h %tempDir%\HopsanCore\include\ /s
+:: Copy the svnrevnum.h file Assume it exist
+if "%dodevrelease%"=="true" (
+  xcopy HopsanCore\include\svnrevnum.h %tempDir%\HopsanCore\include\ /s
+)

 :: Export "Example Models" SVN directory to temporary directory


* missed change

* missed change

git-svn-id: 8286f1aa0849172a171b18e797a5983a17159a76@527 699b1267-f50e-4533-8e1b-323e5631ef88

--- Scripts/Tools/std/.load_config/load_config.lite_parse.bat
+++ Scripts/Tools/std/.load_config/load_config.lite_parse.bat
@@ -43,4 +43,4 @@
 set "__?VALUE=%__?VALUE:!=!__?EXCL__!%"
 set "__?VALUE=%__?VALUE:=!__?QUOT__!%"
 set "__?VALUE=%__?VALUE:^=!__?ESC__!%"
-setlocal ENABLEDELAYEDEXPANSION & for /F "eol= tokens=* delims=" %%i in ("%__?VALUE%") do ( endlocal & echo "%__?VAR%=%%i" & set "%__?VAR%=%%i" )
+setlocal ENABLEDELAYEDEXPANSION & for /F "eol= tokens=* delims=" %%i in ("%__?VALUE%") do ( endlocal & set "%__?VAR%=%%i" )


Generating create_nuget_package.cmd

Generating create_nuget_package.cmd

--- create_nuget_package.cmd
+++ create_nuget_package.cmd
@@ -19,4 +19,11 @@
 xcopy bin\net45\Release\Epicycle.Geodesy_cs.pdb NuGetPackage\Epicycle.Geodesy-cs.0.1.2.0\lib\net45\
 xcopy bin\net45\Release\Epicycle.Geodesy_cs.xml NuGetPackage\Epicycle.Geodesy-cs.0.1.2.0\lib\net45\

+cd NuGetPackage
+nuget pack Epicycle.Geodesy-cs.0.1.2.0\Epicycle.Geodesy-cs.0.1.2.0.nuspec -Properties version=0.1.2.0
+7z a -tzip Epicycle.Geodesy-cs.0.1.2.0.zip Epicycle.Geodesy-cs.0.1.2.0 Epicycle.Geodesy-cs.0.1.2.0.nupkg
+
+echo nuget push Epicycle.Geodesy-cs.0.1.2.0.nupkg > push.cmd
+echo pause >> push.cmd
+
 pause


develop in win-x64

develop in win-x64

--- scripts/npm.bat
+++ scripts/npm.bat
@@ -1,12 +1,8 @@
 @echo off
 setlocal
-
 set npm_config_disturl="https://atom.io/download/electron"
 for /f "tokens=2 delims=:, " %%a in ('findstr /R /C:"\"electronVersion\":.*" "%~dp0..\package.json"') do set npm_config_target=%%~a
-set npm_config_arch="ia32"
 set npm_config_runtime="electron"
-set HOME=~\.electron-gyp
-
+set npm_config_cache=~\.npm-electron
 npm %*
-
 endlocal


DEV | added quality controller

DEV | added quality controller

--- run_quality.cmd
+++ run_quality.cmd
@@ -1,4 +1,4 @@
 choco install "msbuild-sonarqube-runner" -y
-MSBuild.SonarQube.Runner.exe begin /k:"skible:Alfred" /n:"Alfred" /v:%APPVEYOR_BUILD_VERSION% /d:sonar.host.url=https://sonarqube.com /d:sonar.login=[SonarQube_Token]
+MSBuild.SonarQube.Runner.exe begin /k:"skible:Alfred" /n:"Alfred" /v:%APPVEYOR_BUILD_VERSION% /d:sonar.host.url=https://sonarqube.com /d:sonar.login=%SonarQube_Token%
 "C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /t:Rebuild
-MSBuild.SonarQube.Runner.exe end /d:sonar.login="%SonarQube_Token%"+MSBuild.SonarQube.Runner.exe end /d:sonar.login=%SonarQube_Token%


GROOVY-2690: groovy.bat faile to start script that are in a folder with a dash follow with "s"

git-svn-id: aa43ce4553b005588bb3cc6c16966320b011facb@11081 a5544e8c-8a19-0410-ba12-f9af4593a198

--- src/bin/startGroovy.bat
+++ src/bin/startGroovy.bat
@@ -125,10 +125,10 @@
 :process_arg
 if "%_ARG%" == "" goto execute

-rem now unescape -q, -d, -s
+rem now unescape -q, is, -d
 set _ARG=%_ARG:-q="%
+set _ARG=%_ARG:-s=*%
 set _ARG=%_ARG:-d=-%
-set _ARG=%_ARG:-s=*%

 if "x4" == "x%_SKIP%" goto skip_4
 if "x3" == "x%_SKIP%" goto skip_3


Update stage_0_prep.bat

Update stage_0_prep.bat

--- resources/stage_0_prep/stage_0_prep.bat
+++ resources/stage_0_prep/stage_0_prep.bat
@@ -11,7 +11,7 @@
 :: PREP AND CHECKS ::
 :::::::::::::::::::::
 set STAGE_0_SCRIPT_VERSION=1.0.0
-set STAGE_0_SCRIPT_DATE=2015-12-xx
+set STAGE_0_SCRIPT_DATE=2015-11-30

 :: Quick check to see if we inherited the appropriate variables from Tron.bat
 if /i "%LOGFILE%"=="" (


Added an optional argument --dbs [database names]

--- mysqldumper.bat
+++ mysqldumper.bat
@@ -19,12 +19,24 @@
 :: The directory where you want to save your sql files
 :: It will be created if it does not exist
 SET backupDir=%UserProfile%\.mysqlbackup
-:: The database name to be dumped; if it is not provided, all databases will be dumped into separate files
-SET dbName=%1
 :: The system databases which don't need to be dumped
-SET dbsIgnored=information_schema cdcol mysql performance_schema phpmyadmin test webauth
+SET dbsIgnored=information_schema,cdcol,mysql,performance_schema,phpmyadmin,test,webauth,
 :: Temp file
 SET tmpFile=%TEMP%\mysqldbs.tmp
+
+SET paramName=
+SET dbs=
+:argLoopStart
+	SET arg=%1
+	IF -!arg!-==-- GOTO argLoopEnd
+	IF %arg:~0,2%==-- (
+		SET paramName=!arg!
+	) ELSE (
+		IF "!paramName!" == "--dbs" ( SET dbs=!dbs!%arg% )
+	)
+	SHIFT
+	GOTO argLoopStart
+:argLoopEnd

 :errorHandling
 	IF NOT EXIST %mysqlLogin% ( GOTO errConfig )
@@ -66,40 +78,38 @@
 	)

 	:: Change to mysql dir
-	CD %mysqlDir%
+	CD !mysqlDir!

-	IF "%1"=="" ( SET dbName=all )
-	IF %dbName%==all ( GOTO alldump )
+	IF "!dbs!"=="" (
+		REM Get all databases name into a temp file
+		REM If the server was started with the --skip-show-database option,
+		REM you cannot use this statement at all unless you have the SHOW DATABASES privilege.
+		mysql --defaults-extra-file=!mysqlLogin! -e "SHOW DATABASES" > "!tmpFile!"

-	:: dump a single database
-	ECHO Dumping %dbName% ...
-	mysqldump --defaults-extra-file=%mysqlLogin% --quick --opt --add-drop-database --databases %dbName% > %backupDir%\%dbName%_%today%.sql
-	ECHO Exported %backupDir%\%%L_%today%.sql
-	GOTO done
-
-	:alldump
-		:: Replace the spaces with ',', single quote preceded and appended
-		SET dbsIgnoredCond='%dbsIgnored: =','%'
-		:: Get all databases name into a temp file
-		:: If the server was started with the `--skip-show-database` option,
-		:: you cannot use this statement at all unless you have the `SHOW DATABASES` privilege.
-		mysql --defaults-extra-file=%mysqlLogin% -e "SHOW DATABASES WHERE `Database` NOT IN (%dbsIgnoredCond%)" > "%tmpFile%"
-
-		FOR /F "delims=\ tokens=* skip=1" %%L IN (%tmpFile%) DO (
+		REM Process all database names in the file
+		FOR /F "delims=\ tokens=* skip=1" %%L IN (!tmpFile!) DO (
+			REM Skip if the database is in the ignored list
+			IF "!dbsIgnored:%%L,=!" EQU "!dbsIgnored!" (
+				ECHO Dumping %%L ...
+				mysqldump --defaults-extra-file=!mysqlLogin! --quick --opt --add-drop-database --databases %%L > !backupDir!\%%L_!today!.sql
+				ECHO Exported !backupDir!\%%L_!today!.sql
+			)
+		)
+	) ELSE (
+		:: Dumping the given databases only
+		FOR %%L IN (!dbs!) DO (
 			ECHO Dumping %%L ...
-			mysqldump --defaults-extra-file=%mysqlLogin% --quick --opt --add-drop-database --databases %%L > %backupDir%\%%L_%today%.sql
-			ECHO Exported %backupDir%\%%L_%today%.sql
+			mysqldump --defaults-extra-file=!mysqlLogin! --quick --opt --add-drop-database --databases %%L > !backupDir!\%%L_!today!.sql
+			ECHO Exported !backupDir!\%%L_!today!.sql
 		)
-
-		GOTO done
+	)

 	:done
-		ECHO Done.
+		ECHO Done^^!

 	:end
 		:: Delete the temporary file
-		IF EXIST %tmpFile% ( DEL %tmpFile% )
+		IF EXIST !tmpFile! ( DEL !tmpFile! )
 		:: Go back to the original directory to the script
 		CD %~dp0
-
 ENDLOCAL


add jenkins script to run cats on windows

error: pathspec 'ci/scripts/herd-cats-windows32.bat' did not match any file(s) known to git

--- ci/scripts/herd-cats-windows32.bat
+++ ci/scripts/herd-cats-windows32.bat
@@ -0,0 +1,17 @@
+git submodule update --init
+
+SET CLIPATH=c:\jenkins\workspace\go-cli-tests-windows32Bit
+SET GOPATH=%CLIPATH%
+c:\Go\bin\go build -v -o cf-windows-386.exe main
+
+SET GOPATH=c:\Users\Administrator\go
+SET CATSPATH=%GOPATH%\src\github.com\cloudfoundry\cf-acceptance-tests
+copy %CLIPATH%\cf-windows-386.exe %CATSPATH%\gcf.exe /Y
+
+SET PATH=%PATH%;%CATSPATH%
+
+call %environment.bat
+
+cd %CATSPATH%
+SET CONFIG=%CATSPATH%\config.json
+ginkgo -r -v -slowSpecThreshold=300 -skip="admin buildpack"


Don't test specific DDK version

Don't test specific DDK version

--- Tools/checkWin8Tools.bat
+++ Tools/checkWin8Tools.bat
@@ -1,11 +1,4 @@
 @echo off
-
-reg query "HKLM\Software\Microsoft\Windows Kits\WDK" /v WDKProductVersion >nul 2>nul
-if %ERRORLEVEL% EQU 0 goto checkVS11
-reg query "HKLM\Software\Wow6432Node\Microsoft\Windows Kits\WDK" /v WDKProductVersion > nul 2>nul
-if %ERRORLEVEL% EQU 0 goto checkVS11
-echo ERROR building Win8 drivers: Win8 WDK is not installed
-exit /b 1

 :checkVS11
 reg query HKLM\Software\Microsoft\VisualStudio\%1.0 /v InstallDir > nul 2>nul


#100320142051

--- autocommit.bat
+++ autocommit.bat
@@ -4,6 +4,6 @@
 set _my_datetime=#%mydate%%mytime%
 git add --all
 git commit -m "%_my_datetime%"
-git push heroku master
+git push

 PAUSE


new creat

new creat

nothing

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

--- android_background_ingore.bat
+++ android_background_ingore.bat
@@ -0,0 +1,8 @@
+rem 版本V0.1
+rem https://zhuanlan.zhihu.com/p/23372646
+rem https://github.com/Jiangyiqun/android_background_ignore
+adb devices
+@pause
+@adb shell pm list packages -3 > apps_list.txt
+@for /f "tokens=2 delims=:" %%i in (apps_list.txt) do adb shell cmd appops set  %%i RUN_IN_BACKGROUND ignore
+@pause


Fixing vcvarsall.bat path for VS2017 and later

--- admin/builders/_init_msvc_.bat
+++ admin/builders/_init_msvc_.bat
@@ -32,9 +32,15 @@
   set "PROGRAM_FILES_DIR=C:\Program Files (x86)"
 )

+::: The vcvarsall.bat has been moved in VS2017 and later
+set AUXILIARY_PATH=
+if %MSVC_VER% GEQ 15 (
+  set AUXILIARY_PATH=Auxiliary\Build\
+)
+
 :: use the VS command prompt settings to set-up paths for compiler and builder
 :: see https://msdn.microsoft.com/en-us/library/f2ccy3wt.aspx for possible vcvarsall.bat arguments
-set VCVARS_BAT=%MSVC_INSTALL_DIR%\VC\vcvarsall.bat
+set VCVARS_BAT=%MSVC_INSTALL_DIR%\VC\%AUXILIARY_PATH%vcvarsall.bat
 if not defined DevEnvDir (
   echo Setting compiler and builder paths for %BUILD_TARGET% target on %BUILD_PLATFORM% build platform
   if "%BUILD_TARGET%" == "32bit" (


Updated build script to build each project before packing

--- build.bat
+++ build.bat
@@ -1,3 +1,3 @@
-.\tools\nuget.exe pack src\RouteDebug\RouteDebugger.csproj -Symbols -o .\out
-.\tools\nuget.exe pack src\RouteMagic\RouteMagic.csproj -Symbols -o .\out
-.\tools\nuget.exe pack src\RouteMagic.Mvc\RouteMagic.Mvc.csproj -Symbols -o .\out+.\tools\nuget.exe pack src\RouteDebug\RouteDebugger.csproj -Build -Symbols -o .\out
+.\tools\nuget.exe pack src\RouteMagic\RouteMagic.csproj -Build -Symbols -o .\out
+.\tools\nuget.exe pack src\RouteMagic.Mvc\RouteMagic.Mvc.csproj -Build -Symbols -o .\out


Added build.bat for Windows installation

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


pkgversion

pkgversion

--- build.bat
+++ build.bat
@@ -40,7 +40,7 @@
 echo "====================> Package"

 mkdir Build
-call %nuget% pack "src\SearchAThing.Sci.csproj" -symbols -o Build -p Configuration=%config% %version%
+call %nuget% pack "src\SearchAThing.Sci.csproj" -symbols -o Build -p Configuration=%config% -Version %PackageVersion%
 if not "%errorlevel%"=="0" goto failure

 REM Code Coverage


updated build script to create package (with chocolatey)

--- build.bat
+++ build.bat
@@ -1,3 +1,6 @@
 @echo OFF
 msbuild /p:Configuration=Release /t:Rebuild
 ECHO "WiFi.exe is in WifiProfiles/bin/Release/"
+:: will package any .nuspec files in this folder
+cpack
+


simplify build.bat

simplify build.bat

--- build.bat
+++ build.bat
@@ -11,9 +11,9 @@
 EXIT /B 255

 :fullRebuild
-msbuild /property:Configuration=Release /property:Platform=x64 /target:Clean
-msbuild /property:Configuration=Release /property:Platform=Win32 /target:Clean
-GOTO :compile
+CALL :clean
+CALL :compile
+GOTO :EOF

 :compile
 msbuild /property:Configuration=Release /property:Platform=x64 && msbuild /property:Configuration=Release /property:Platform=Win32


build default platform

build default platform

--- build.cmd
+++ build.cmd
@@ -13,7 +13,7 @@
 if "%XYO_PLATFORM%" == "win32-msvc-2019" set DEFAULT_PLATFORM=msvc
 if "%XYO_PLATFORM%" == "win64-msvc-2017" set DEFAULT_PLATFORM=msvc
 if "%XYO_PLATFORM%" == "win32-msvc-2017" set DEFAULT_PLATFORM=msvc
-if "%XYO_PLATFORM%" == "" goto Info
+if "%DEFAULT_PLATFORM%" == "" set DEFAULT_PLATFORM=msvc
 if not exist ".\port\build.%DEFAULT_PLATFORM%.cmd" goto Info
 call ".\port\build.%DEFAULT_PLATFORM%.cmd" %1
 goto :eof


Fix: if errorlevel 0 is almost always true (#5308)

Explanation: if errorlevel n actually tests if the errorlevel is
greater than or equal to n. See: http://ss64.com/nt/if.html

--- build.cmd
+++ build.cmd
@@ -456,7 +456,7 @@
 set "__CrossGenCoreLibLog=%__LogsDir%\CrossgenCoreLib_%__BuildOS%__%__BuildArch%__%__BuildType%.log"
 set "__CrossgenExe=%__CrossComponentBinDir%\crossgen.exe"
 "%__CrossgenExe%" /Platform_Assemblies_Paths "%__BinDir%" /out "%__BinDir%\System.Private.CoreLib.ni.dll" "%__BinDir%\System.Private.CoreLib.dll" > "%__CrossGenCoreLibLog%" 2>&1
-if NOT errorlevel 0 (
+if %errorlevel% NEQ 0 (
     echo %__MsgPrefix%Error: CrossGen System.Private.CoreLib build failed. Refer to the build log file for details:
     echo     %__CrossGenCoreLibLog%
     exit /b 1
@@ -467,7 +467,7 @@
 set "__CrossGenCoreLibLog=%__LogsDir%\CrossgenMSCoreLib_%__BuildOS%__%__BuildArch%__%__BuildType%.log"
 set "__CrossgenExe=%__CrossComponentBinDir%\crossgen.exe"
 "%__CrossgenExe%" /Platform_Assemblies_Paths "%__BinDir%" /out "%__BinDir%\mscorlib.ni.dll" "%__BinDir%\mscorlib.dll" > "%__CrossGenCoreLibLog%" 2>&1
-if NOT errorlevel 0 (
+if %errorlevel% NEQ 0 (
     echo %__MsgPrefix%Error: CrossGen mscorlib facade build failed. Refer to the build log file for details:
     echo     %__CrossGenCoreLibLog%
     exit /b 1


Update BuildLib 0.3.3

Update BuildLib 0.3.3

--- build.cmd
+++ build.cmd
@@ -12,10 +12,10 @@
   COPY NUL %PACKAGEPATH%FAKE\Ver_4.25.4
 )

-IF NOT EXIST %PACKAGEPATH%FAKE.BuildLib\Ver_0.3.1 (
+IF NOT EXIST %PACKAGEPATH%FAKE.BuildLib\Ver_0.3.3 (
   RD /S/Q %PACKAGEPATH%FAKE.BuildLib
-  %NUGET% install FAKE.BuildLib -Version 0.3.1 %NUGETOPTIONS%
-  COPY NUL %PACKAGEPATH%FAKE.BuildLib\Ver_0.3.1
+  %NUGET% install FAKE.BuildLib -Version 0.3.3 %NUGETOPTIONS%
+  COPY NUL %PACKAGEPATH%FAKE.BuildLib\Ver_0.3.3
 )

 set encoding=utf-8


Increase default verbosity

Increase default verbosity

--- build.cmd
+++ build.cmd
@@ -23,4 +23,4 @@
 build\.nuget\NuGet.exe install packages.config -OutputDirectory packages -ExcludeVersion

 :run
-msbuild /nologo /v:minimal %1 %2 %3 %4 %5 %6 %7 %8 %9+msbuild /nologo /v:normal %1 %2 %3 %4 %5 %6 %7 %8 %9


commit on 07/06/2018 at 15:38:37

commit on 07/06/2018 at 15:38:37


Hide dot-folders when printing example folders

Don't want to have Eclipse stuff like '.settings'
show up.

--- run-example.cmd
+++ run-example.cmd
@@ -33,6 +33,6 @@

 :printExampleList
-for /f %%i in ( 'dir /a:d /b examples ^| find /V "snippets" ^| find /V ".*"' ) do (
+for /f %%i in ( 'dir /a:d /b examples ^| find /V "snippets" ^| findstr /V "\..*"' ) do (
     echo.    %%i
 )


Forgot to uncomment some items

Forgot to uncomment some items

--- build/RevertToEmptyInstall.bat
+++ build/RevertToEmptyInstall.bat
@@ -82,14 +82,14 @@
 echo Regenerating SQL CE database
 SET buildfolder=%CD%
 CD ..\tools\RegenerateUmbracoSQLCEDatabase\
-REM RegenerateUmbracoSQLCEDatabase.exe %CD%\..\..\src\Umbraco.Web.UI
+RegenerateUmbracoSQLCEDatabase.exe %CD%\..\..\src\Umbraco.Web.UI
 CD %buildfolder%

 echo Removing bin files
-REM FOR %%A IN (..\src\Umbraco.Web.UI\bin\*.*) DO DEL %%A
+ FOR %%A IN (..\src\Umbraco.Web.UI\bin\*.*) DO DEL %%A

 echo Building solution
-REM %windir%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe ..\src\umbraco.sln /t:Clean,Build
+%windir%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe ..\src\umbraco.sln /t:Clean,Build

 echo Resetting installedPackages.config
 echo ^<?xml version="1.0" encoding="utf-8"?^>^<packages^>^</packages^> >..\src\Umbraco.Web.UI\App_Data\packages\installed\installedPackages.config
@@ -148,6 +148,9 @@
 del ..\src\Umbraco.Web.UI\umbraco\xslt\templates\UmbracoContour*.* /S /Q
 rmdir "..\src\Umbraco.Web.UI\usercontrols\umbracoContour\" /S /Q

+echo Start with a clean web.config
+copy ..\src\Umbraco.Web.UI\web.Template.config ..\src\Umbraco.Web.UI\web.config /Y
+
 echo "Umbraco install reverted to clean install"
 pause
 exit


Fix start-wekan.bat

Fix start-wekan.bat

Thanks to xet7 !

--- start-wekan.bat
+++ start-wekan.bat
@@ -1,9 +1,4 @@
-REM ------------------------------------------------------------
-
-REM NOTE: THIS .BAT DOES NOT WORK !!
-REM Use instead this webpage instructions to build on Windows:
-REM https://github.com/wekan/wekan/wiki/Install-Wekan-from-source-on-Windows
-REM Please add fix PRs, like config of MongoDB etc.
+@ECHO OFF

 REM ------------------------------------------------------------

@@ -12,11 +7,13 @@

 REM ------------------------------------------------------------

+SET ROOT_URL=http://localhost
+SET PORT=80
 SET MONGO_URL=mongodb://127.0.0.1:27017/wekan
-SET ROOT_URL=http://127.0.0.1:2000/
-SET MAIL_URL=smtp://user:pass@mailserver.example.com:25/
-SET MAIL_FROM=admin@example.com
-SET PORT=2000
+
+REM https://github.com/wekan/wekan/wiki/Troubleshooting-Mail
+REM SET MAIL_URL=smtps://username:password@email-smtp.eu-west-1.amazonaws.com:587/
+REM SET MAIL_FROM="Wekan Boards <info@example.com>"

 REM # If you disable Wekan API with false, Export Board does not work.
 SET WITH_API=true
@@ -395,6 +392,4 @@
 REM # example : LOGOUT_ON_MINUTES=55
 REM SET LOGOUT_ON_MINUTES=

-cd .build\bundle
 node main.js
-cd ..\..


update

update

--- clone.bat
+++ clone.bat
@@ -7,6 +7,7 @@
 git clone "https://github.com/chronoxor/CppSerialization.git" CppSerialization
 git clone "https://github.com/chronoxor/CppServer.git" CppServer
 git clone "https://github.com/chronoxor/CppTrader.git" CppTrader
+git clone "https://github.com/chronoxor/CSharpServer.git" CSharpServer

 for /D %%X in (
   *


generate nuget package bat

generate nuget package bat

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

--- package/generate_nuget_package.bat
+++ package/generate_nuget_package.bat
@@ -0,0 +1,4 @@
+echo "Packin' ~ "
+..\src\.nuget\NuGet.exe pack ..\src\GzipS3Client\GzipS3Client.csproj -Prop Configuration=Release
+echo "Success! :'))"
+


windows CI: Don't install sed

windows CI: Don't install sed

--- scripts/setup.bat
+++ scripts/setup.bat
@@ -1,5 +1,3 @@
 cinst -y curl
-cinst -v -f -y devbox-common.extension
-cinst -v -f -y devbox-sed
 curl -sSL -o premake.zip https://github.com/premake/premake-core/releases/download/v5.0.0.alpha4/premake-5.0.0.alpha4-windows.zip
 unzip premake.zip


bat script to register provider

bat script to register provider

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

--- etwsample/etwregister.bat
+++ etwsample/etwregister.bat
@@ -0,0 +1,45 @@
+@rem Customize to specify the location of your provider DLL or EXE
+
+@set DLLFileMain=Debug\etwsample.exe
+@set RCFileMain=Debug\etwsamplerc.dll
+@set DLLFileAlternate=Release\etwsample.exe
+@set ManifestFileMain=etwsample.man
+@set ManifestFileAlternate=etwsample.man
+
+
+
+
+
+@echo This will register the custom ETW providers.
+
+@set DLLFile=%DLLFileMain%
+@if exist %DLLFile% goto tier0OK
+@set DLLFile=%DLLFileAlternate%
+@if not exist %DLLFile% goto NoTier0
+@:tier0OK
+
+@set ManifestFile=%ManifestFileMain%
+@if exist %ManifestFile% goto manifestOK
+@set ManifestFile=%ManifestFileAlternate%
+@if not exist %ManifestFile% goto NoManifest
+@:manifestOK
+
+xcopy /y %DLLFile% %temp%
+xcopy /y %RCFileMain% %temp%
+wevtutil um %ManifestFile%
+@if %errorlevel% == 5 goto NotElevated
+wevtutil im %ManifestFile%
+@exit /b
+
+@:NotElevated
+@echo ETW providers must be registered from an elevated (administrator) command
+@echo prompt. Try again from an elevated prompt.
+@exit /b
+
+@:NoTier0
+@echo Can't find %DLLFileMain% or %DLLFileAlternate%
+@exit /b
+
+@:NoManifest
+@echo Can't find %ManifestFileMain% or %ManifestFileAlternate%
+@exit /b


add entries based on user feedback

add entries based on user feedback

--- resources/stage_2_de-bloat/programs_to_target_by_GUID.bat
+++ resources/stage_2_de-bloat/programs_to_target_by_GUID.bat
@@ -67,6 +67,9 @@
 start /wait msiexec /qn /norestart /x {11A955CD-4398-405A-886D-E464C3618FBF}
 start /wait msiexec /qn /norestart /x {1D181764-DCD0-41B8-AA7B-0A599F027A72}
 start /wait msiexec /qn /norestart /x {7C548501-3501-468A-A443-CC42F5B3626B}
+
+:: Adobe Widget Browser
+start /wait msiexec /qn /norestart /x {EFBE6DD5-B224-96E5-72B9-68D328CB12A6}

 :: Advertising Center 0.0.0.2
 start /wait msiexec /qn /norestart /x {3784D297-8089-43B6-B57F-11B7E96413CD}
@@ -124,10 +127,12 @@
 :: AOLIcon (lol)
 start /wait msiexec /qn /norestart /x {FFC7F03B-7069-4F7B-B0A5-9C173E898AC9}

-:: ArcSoft Magic-i Visual Effects 2, ArcSoft WebCam Companion 3 and 4
+:: ArcSoft Magic-i Visual Effects 2 // ArcSoft WebCam Companion 3 and 4 // Family Paint // WebCam Message Board
 start /wait msiexec /qn /norestart /x {B1893E3F-9BDF-443F-BED0-1AAA2D9E0D68}
 start /wait msiexec /qn /norestart /x {DE8AAC73-6D8D-483E-96EA-CAEDDADB9079}
 start /wait msiexec /qn /norestart /x {B77DE05C-7C84-4011-B93F-A29D0D2840F4}
+start /wait msiexec /qn /norestart /x {2B2F5B94-F377-41A2-8DA8-899BC538A4E1}
+start /wait msiexec /qn /norestart /x {7D44F1E8-968F-48D8-A966-2890A2CFFC6F}

 :: Ashampoo Burning Studio FREE v.1.14.5
 start /wait msiexec /qn /norestart /x {91B33C97-91F8-FFB3-581B-BC952C901685}
@@ -152,6 +157,7 @@
 start /wait msiexec /qn /norestart /x {1F1E283D-23D9-4E09-B967-F46A053FEA89}
 start /wait msiexec /qn /norestart /x {0228288D-975E-42F7-9993-E91A82E6BBD9}
 start /wait msiexec /qn /norestart /x {6F5E2F4A-377D-4700-B0E3-8F7F7507EA15}
+start /wait msiexec /qn /norestart /x {B618B8E1-FB71-4237-8361-C3EA3EF15EF7}

 :: ASUS Ai Charger
 start /wait msiexec /qn /norestart /x {7FB64E72-9B0E-4460-A821-040C341E414A}
@@ -198,6 +204,7 @@
 start /wait msiexec /qn /norestart /x {61EDBE71-5D3E-4AB7-AD95-E53FEAF68C17}
 start /wait msiexec /qn /norestart /x {6ACE7F46-FACE-4125-AE86-672F4F2A6A28}
 start /wait msiexec /qn /norestart /x {B4089055-D468-45A4-A6BA-5A138DD715FC}
+start /wait msiexec /qn /norestart /x {A7E8CB11-B09E-46F8-9BAE-B2E01EBF7E51}

 :: Bing Desktop
 start /wait msiexec /qn /norestart /x {7D095455-D971-4D4C-9EFD-9AF6A6584F3A}
@@ -1422,6 +1429,7 @@
 start /wait msiexec /qn /norestart /x {A92DAB39-4E2C-4304-9AB6-BC44E68B55E2}
 start /wait msiexec /qn /norestart /x {A4DE5CD7-96D6-3979-8C39-E864396AFFC0}
 start /wait msiexec /qn /norestart /x {5BAA8884-F661-464B-B5B2-5C6C632BFC21}
+start /wait msiexec /qn /norestart /x {A92DAB39-4E2C-4304-9AB6-BC44E68B55E2}

 :: Hewlett-Packard ACLM.NET
 start /wait msiexec /qn /norestart /x {6F340107-F9AA-47C6-B54C-C3A19F11553F}
@@ -2188,6 +2196,9 @@

 :: Setup1 (??)
 start /wait msiexec /qn /norestart /x {86091EC1-DD17-4814-A54B-0A634CB8D82C}
+
+:: Snap.Do (browser hijacker)
+start /wait msiexec /qn /norestart /x {CC6F61A9-A55E-4D04-A674-7A498CD8B809}

 :: SSN Librarian (some sketchy Russian program)
 start /wait msiexec /qn /norestart /x {1D425886-3FE1-41AA-8D7A-E432CE29A4AE}
@@ -2500,6 +2511,9 @@
 start /wait msiexec /qn /norestart /x {9A00EC4E-27E1-42C4-98DD-662F32AC8870}
 start /wait msiexec /qn /norestart /x {AB708C9B-97C8-4AC9-899B-DBF226AC9382}

+:: Sony Keyboard_Shortcuts
+start /wait msiexec /qn /norestart /x {FE8974B4-479C-4DBA-8544-9E5342ABB26A}
+
 :: Sony Media Go
 start /wait msiexec /qn /norestart /x {167A1F6A-9BF2-4B24-83DB-C6D659F680EA}

@@ -2508,6 +2522,10 @@

 :: Sony OOBE
 start /wait msiexec /qn /norestart /x {18894D16-5448-4BF9-A128-F7E937322F91}
+
+:: Sony PlayMemories Home
+start /wait msiexec /qn /norestart /x {E03CD71A-F595-49DF-9ADC-0CFC93B1B211}
+start /wait msiexec /qn /norestart /x {886C0C18-F905-49B2-90BA-EFC0FEDF27C6}

 :: Sony Quick Web Access
 start /wait msiexec /qn /norestart /x {13EC74A6-4707-4D26-B9B9-E173403F3B08}
@@ -2521,6 +2539,66 @@
 :: Sony TrackID(TM) with BRAVIA (poor Shazzam clone)
 start /wait msiexec /qn /norestart /x {858B32BD-121C-4AC8-BD87-CE37C51C03E2}
 start /wait msiexec /qn /norestart /x {2F41EF61-A066-4EBF-84F8-21C1B317A780}
+
+:: Sony VAIO Data Restore Tool
+start /wait msiexec /qn /norestart /x {5156C9BF-1C27-430B-96D8-7129F11699A8}
+
+:: Sony VAIO - Media Gallery
+start /wait msiexec /qn /norestart /x {7C7BC722-BB95-4A6E-9373-DA706D83430B}
+start /wait msiexec /qn /norestart /x {0EB7792D-EFA2-42AB-9A22-F33D9458E974}
+
+:: Sony VAIO - Microsoft Visual C++ 2010 SP1 RUntime 10.0.40219.325
+start /wait msiexec /qn /norestart /x {34EB42BE-F4D3-44C1-B28E-9740115DB72C}
+
+:: Sony VAIO - PMB
+start /wait msiexec /qn /norestart /x {B6A98E5F-D6A7-46FB-9E9D-1F7BF443491C}
+
+:: Sony VAIO - PMB VAIO Edition Guide (and associated "Plugin" GUIDs)
+start /wait msiexec /qn /norestart /x {339F9B4D-00CB-4C1C-BED8-EC86A9AB602A}
+start /wait msiexec /qn /norestart /x {133D3F07-D558-46CE-80E8-F4D75DBBAD63}
+start /wait msiexec /qn /norestart /x {270380EB-8812-42E1-8289-53700DB840D2}
+start /wait msiexec /qn /norestart /x {8356CB97-A48F-44CB-837A-A12838DC4669}
+
+:: Sony VAIO - Remote Keyboard, Remote Keyboard with PlayStation(R)3, Remote Play with Playstation(R)3
+start /wait msiexec /qn /norestart /x {7396FB15-9AB4-4B78-BDD8-24A9C15D2C65}
+start /wait msiexec /qn /norestart /x {6466EF6E-700E-470F-94CB-D0050302C84E}
+start /wait msiexec /qn /norestart /x {E682702C-609C-4017-99E7-3129C163955F}
+start /wait msiexec /qn /norestart /x {07441A52-E208-478A-92B7-5C337CA8C131}
+
+:: Sony VAIO Care // VAIO Care Recovery // VAIO Help and Support
+start /wait msiexec /qn /norestart /x {D9FFE40D-1A85-4541-992C-5EF505F391A4}
+start /wait msiexec /qn /norestart /x {55A60C1D-BEBF-4249-BFB2-F4E5C2E77988}
+start /wait msiexec /qn /norestart /x {471F7C0A-CA3A-4F4C-8346-DE36AD5E23D1}
+start /wait msiexec /qn /norestart /x {6ED1750E-F44F-4635-8F0D-B76B9262B7FB}
+start /wait msiexec /qn /norestart /x {AD3E7141-A22E-40F1-A7A4-55E898AE35E3}
+
+:: Sony VAIO Control Center // CPU Fan Diagnostic // Data Restore Tool // Easy Connect
+start /wait msiexec /qn /norestart /x {8E797841-A110-41FD-B17A-3ABC0641187A}
+start /wait msiexec /qn /norestart /x {BCE6E3D7-B565-4E1B-AC77-F780666A35FB}
+start /wait msiexec /qn /norestart /x {3267B2E9-9DF5-4251-87C8-33412234C77F}
+start /wait msiexec /qn /norestart /x {57B955CE-B5D3-495D-AF1B-FAEE0540BFEF}
+start /wait msiexec /qn /norestart /x {7C80D30A-AC02-4E3F-B95D-29F0E4FF937B}
+
+:: Sony VAIO Gate // Gate Default // Help and Support // Improvement // Manual // Gesture Control
+start /wait msiexec /qn /norestart /x {A7C30414-2382-4086-B0D6-01A88ABA21C3}
+start /wait msiexec /qn /norestart /x {AE5F3379-8B81-457E-8E09-7E61D941AFA4}
+start /wait msiexec /qn /norestart /x {B7546697-2A80-4256-A24B-1C33163F535B}
+start /wait msiexec /qn /norestart /x {0164FA3B-182D-4237-B22A-081C0B55E0D3}
+start /wait msiexec /qn /norestart /x {3A26D9BD-0F73-432D-B522-2BA18138F7EF}
+start /wait msiexec /qn /norestart /x {C6E893E7-E5EA-4CD5-917C-5443E753FCBD}
+start /wait msiexec /qn /norestart /x {C8544A9A-76BE-4F82-811E-979799AE493B}
+
+:: Sony VAIOCareLearnContents
+start /wait msiexec /qn /norestart /x {05959BC8-751E-43B1-A427-233DA743E179}
+
+:: Sony VAIO OOB (out of box experience)
+start /wait msiexec /qn /norestart /x {D9777637-33B7-47A9-800C-F6A2CD4EB0FE}
+
+:: Sony VAIO Sample Contents // Satisfaction Survey // Transfer Support VAIO Update
+start /wait msiexec /qn /norestart /x {547C9EB4-4CA6-402F-9D1B-8BD30DC71E44}
+start /wait msiexec /qn /norestart /x {5DDAFB4B-C52E-468A-9E23-3B0CEEB671BF}
+start /wait msiexec /qn /norestart /x {0899D75A-C2FC-42EA-A702-5B9A5F24EAD5}
+start /wait msiexec /qn /norestart /x {9FF95DA2-7DA1-4228-93B7-DED7EC02B6B2}

 :: Sony VCCx64, VCCx86, VIx64, and VIx86
 start /wait msiexec /qn /norestart /x {549AD5FB-F52D-4307-864A-C0008FB35D96}
@@ -2713,56 +2791,11 @@
 :: uLead Burn.Now 4.5 4.5.0
 start /wait msiexec /qn /norestart /x {FB3A15FD-FC67-3A2F-892B-6890B0C56EA9}

-:: VAIO - Media Gallery
-start /wait msiexec /qn /norestart /x {7C7BC722-BB95-4A6E-9373-DA706D83430B}
-
-:: VAIO - PMB
-start /wait msiexec /qn /norestart /x {B6A98E5F-D6A7-46FB-9E9D-1F7BF443491C}
-
-:: VAIO - PMB VAIO Edition Guide (and associated "Plugin" GUIDs)
-start /wait msiexec /qn /norestart /x {339F9B4D-00CB-4C1C-BED8-EC86A9AB602A}
-start /wait msiexec /qn /norestart /x {133D3F07-D558-46CE-80E8-F4D75DBBAD63}
-start /wait msiexec /qn /norestart /x {270380EB-8812-42E1-8289-53700DB840D2}
-start /wait msiexec /qn /norestart /x {8356CB97-A48F-44CB-837A-A12838DC4669}
-
-:: VAIO - Remote Keyboard, Remote Keyboard with PlayStation(R)3, Remote Play with Playstation(R)3
-start /wait msiexec /qn /norestart /x {7396FB15-9AB4-4B78-BDD8-24A9C15D2C65}
-start /wait msiexec /qn /norestart /x {6466EF6E-700E-470F-94CB-D0050302C84E}
-start /wait msiexec /qn /norestart /x {E682702C-609C-4017-99E7-3129C163955F}
-start /wait msiexec /qn /norestart /x {07441A52-E208-478A-92B7-5C337CA8C131}
-
-:: VAIO Care, VAIO Care Recovery, VAIO Help and Support
-start /wait msiexec /qn /norestart /x {D9FFE40D-1A85-4541-992C-5EF505F391A4}
-start /wait msiexec /qn /norestart /x {471F7C0A-CA3A-4F4C-8346-DE36AD5E23D1}
-start /wait msiexec /qn /norestart /x {6ED1750E-F44F-4635-8F0D-B76B9262B7FB}
-start /wait msiexec /qn /norestart /x {AD3E7141-A22E-40F1-A7A4-55E898AE35E3}
-
-:: VAIO Control Center, CPU Fan Diagnostic, Data Restore Tool, and Easy Connect
-start /wait msiexec /qn /norestart /x {8E797841-A110-41FD-B17A-3ABC0641187A}
-start /wait msiexec /qn /norestart /x {BCE6E3D7-B565-4E1B-AC77-F780666A35FB}
-start /wait msiexec /qn /norestart /x {3267B2E9-9DF5-4251-87C8-33412234C77F}
-start /wait msiexec /qn /norestart /x {57B955CE-B5D3-495D-AF1B-FAEE0540BFEF}
-start /wait msiexec /qn /norestart /x {7C80D30A-AC02-4E3F-B95D-29F0E4FF937B}
-
-:: VAIO Gate, Gate Default, Help and Support, Improvement, and Manual
-start /wait msiexec /qn /norestart /x {A7C30414-2382-4086-B0D6-01A88ABA21C3}
-start /wait msiexec /qn /norestart /x {AE5F3379-8B81-457E-8E09-7E61D941AFA4}
-start /wait msiexec /qn /norestart /x {B7546697-2A80-4256-A24B-1C33163F535B}
-start /wait msiexec /qn /norestart /x {0164FA3B-182D-4237-B22A-081C0B55E0D3}
-start /wait msiexec /qn /norestart /x {3A26D9BD-0F73-432D-B522-2BA18138F7EF}
-start /wait msiexec /qn /norestart /x {C6E893E7-E5EA-4CD5-917C-5443E753FCBD}
-
-:: VAIO Sample Contents, Satisfaction Survey., Transfer Support VAIO Update
-start /wait msiexec /qn /norestart /x {547C9EB4-4CA6-402F-9D1B-8BD30DC71E44}
-start /wait msiexec /qn /norestart /x {5DDAFB4B-C52E-468A-9E23-3B0CEEB671BF}
-start /wait msiexec /qn /norestart /x {0899D75A-C2FC-42EA-A702-5B9A5F24EAD5}
-start /wait msiexec /qn /norestart /x {9FF95DA2-7DA1-4228-93B7-DED7EC02B6B2}
+:: Vegas Movie Studio HD Platinum 11.0
+start /wait msiexec /qn /norestart /x {CE3DE3AE-F384-11E0-B00E-F04DA23A5C58}

 :: VIP Access (Lenovo-installed OEM bloatware for Verisign)
 start /wait msiexec /qn /norestart /x {E8D46836-CD55-453C-A107-A59EC51CB8DC}
-
-:: WOT for Internet Explorer plugin
-start /wait msiexec /qn /norestart /x {373B90E1-A28C-434C-92B6-7281AFA6115A}

 :: Video Downloader, VideoManager, VideoStage, VideoToolkit
 start /wait msiexec /qn /norestart /x {62796191-6F12-4ABE-BA8B-B4D4A266C997}
@@ -2823,6 +2856,9 @@
 start /wait msiexec /qn /norestart /x {CD95F661-A5C4-44F5-A6AA-ECDD91C240CF}
 start /wait msiexec /qn /norestart /x {CD95F661-A5C4-44F5-A6AA-ECDD91C240E3}
 start /wait msiexec /qn /norestart /x {8A6EAACB-E2D6-D6BF-0338-F4AC9641B423}
+
+:: WOT for Internet Explorer plugin
+start /wait msiexec /qn /norestart /x {373B90E1-A28C-434C-92B6-7281AFA6115A}

 :: Xmarks for IE
 start /wait msiexec /qn /norestart /x {ABFA6EAE-C9C0-4B39-B722-02094EF6B889}


Updated clean.cmd script

Updated clean.cmd script

--- clean.cmd
+++ clean.cmd
@@ -12,6 +12,9 @@
 rmdir /Q /S Dependencies\FileWriter.Emf\bin
 rmdir /Q /S Dependencies\FileWriter.Emf\obj

+rmdir /Q /S Dependencies\FileWriter.Pdf-core\bin
+rmdir /Q /S Dependencies\FileWriter.Pdf-core\obj
+
 rmdir /Q /S Dependencies\FileWriter.Pdf-wpf\bin
 rmdir /Q /S Dependencies\FileWriter.Pdf-wpf\obj

@@ -20,6 +23,9 @@

 rmdir /Q /S Dependencies\Renderer.EtoForms\bin
 rmdir /Q /S Dependencies\Renderer.EtoForms\obj
+
+rmdir /Q /S Dependencies\Renderer.PdfSharp-core\bin
+rmdir /Q /S Dependencies\Renderer.PdfSharp-core\obj

 rmdir /Q /S Dependencies\Renderer.PdfSharp-wpf\bin
 rmdir /Q /S Dependencies\Renderer.PdfSharp-wpf\obj


Delete gifsicle.bat

Delete gifsicle.bat

--- automation/images/gifsicle.bat
+++ automation/images/gifsicle.bat
@@ -1,9 +0,0 @@
-@echo on
-set LOCAL_DIR=%~dp0
-set LOCAL_DIR=%LOCAL_DIR:~0,-1%
-if "%~1"=="" (set "SOURCE=..\..\img") else (set "SOURCE=%~1")
-
-echo Optimizing GIF with gifsicle
-forfiles /p %SOURCE% /s /m "*.gif" /c "cmd /c  echo processing @path && %LOCAL_DIR%\gifsicle.exe -b -O3 @path"
-
-pause


gb.bat: build and install everything

gb.bat: build and install everything

--- gb.bat
+++ gb.bat
@@ -5,7 +5,6 @@
 cd %~dp0
 rem cd
 rem set GO
-%GOROOT%\bin\go.exe build ./cmd
-%GOROOT%\bin\go.exe install .
+%GOROOT%\bin\go.exe install -a .
 endlocal
 doskey ggb=%~dp0\bin\ggb.exe $*


added a pause statement to the go.bat for build

Signed-off-by: Floyd Pink <5f2a1115638e65cf53a275a1d015ff80305829a3@googlemail.com>

--- go.bat
+++ go.bat
@@ -1 +1,2 @@
-build\nant\nant-0.92\bin\NAnt.exe -buildfile:FlickrDownloadr.build %1 -D:project.build.type=Debug+build\nant\nant-0.92\bin\NAnt.exe -buildfile:FlickrDownloadr.build %1 -D:project.build.type=Debug
+pause


Recursive submodule init.

Recursive submodule init.

--- xb.bat
+++ xb.bat
@@ -137,8 +137,8 @@
 ECHO Setting up the build environment...

 ECHO.
-ECHO ^> git submodule update --init
-git submodule update --init
+ECHO ^> git submodule update --init --recursive
+git submodule update --init --recursive
 IF %ERRORLEVEL% NEQ 0 (
   ECHO.
   ECHO ERROR: failed to initialize git submodules


Remove ReadyToRun workaround

Remove ReadyToRun workaround

--- init-tools.cmd
+++ init-tools.cmd
@@ -1,8 +1,5 @@
 @echo off
 setlocal
-
-REM Workaround https://github.com/dotnet/coreclr/issues/2153
-set ComPlus_ReadyToRun=0

 set INIT_TOOLS_LOG=%~dp0init-tools.log
 set PACKAGES_DIR=%~dp0packages\


fix nuget

fix nuget

--- nuget/publish.cmd
+++ nuget/publish.cmd
@@ -3,4 +3,4 @@
 del *.nupkg
 call ..\build.cmd || exit /b -1
 call %nugetPath% pack simple1C.nuspec || exit /b -1
-rem %nugetPath% push *.nupkg -Source https://www.nuget.org/api/v2/package+%nugetPath% push *.nupkg -Source https://www.nuget.org/api/v2/package


fix vswhere detection bug

fix vswhere detection bug

--- vswhere_usability_wrapper.cmd
+++ vswhere_usability_wrapper.cmd
@@ -1,13 +1,13 @@
 :: Copyright 2017 - Refael Ackermann
 :: Distributed under MIT style license
 :: See accompanying file LICENSE at https://github.com/node4good/windows-autoconf
-:: version: 1.15.3
+:: version: 1.15.4

 @if not defined DEBUG_HELPER @ECHO OFF
 setlocal
 set "InstallerPath=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer"
 if not exist "%InstallerPath%" set "InstallerPath=%ProgramFiles%\Microsoft Visual Studio\Installer"
-if not exist "%InstallerPath%" exit goto :no-vswhere
+if not exist "%InstallerPath%" goto :no-vswhere
 :: Manipulate %Path% for easier " handeling
 set Path=%Path%;%InstallerPath%
 where vswhere 2> nul > nul


Added copy to client build script

Added copy to client build script

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

--- build_nonuget_CopyToClient.bat
+++ build_nonuget_CopyToClient.bat
@@ -0,0 +1,3 @@
+call build_nonuget.bat
+
+xcopy build\client\release  C:\Users\Glader\Documents\GitHub\Booma.PSOBB.Client\Assets\DLLs /Y /q /EXCLUDE:BuildExclude.txt


git 2.5 packages the unix commands in `<git>/usr/bin` instead of `<git>/bin`so add that to the path, too.

--- vendor/init.bat
+++ vendor/init.bat
@@ -38,7 +38,7 @@

 :: Add git to the path
 @if defined GIT_INSTALL_ROOT (
-    set "PATH=%GIT_INSTALL_ROOT%\bin;%GIT_INSTALL_ROOT%\share\vim\vim74;%PATH%"
+    set "PATH=%GIT_INSTALL_ROOT%\bin;%GIT_INSTALL_ROOT%\usr\bin;%GIT_INSTALL_ROOT%\share\vim\vim74;%PATH%"
     :: define SVN_SSH so we can use git svn with ssh svn repositories
     if not defined SVN_SSH set "SVN_SSH=%GIT_INSTALL_ROOT:\=\\%\\bin\\ssh.exe"
 )


Delete windows_services_lockdown.bat

Delete windows_services_lockdown.bat

--- windows_services_lockdown.bat
+++ windows_services_lockdown.bat
@@ -1,356 +0,0 @@
-:: One liner commands for windows / cheat sheet
-:: v1.1.1
-:: 2019-07-03
-:: Batch commands first, Powershell commands below
-
-:: This line just in case someone accidentally double-clicks this file
-start "" "%ProgramFiles(x86)%\Notepad++\notepad++.exe" "%CD%\Windows one-liners.bat"
-goto :eof
-
-
-
-::::::::::::::::::::
-:: BATCH COMMANDS ::
-::::::::::::::::::::
-:: BATCH: Get the date into ISO 8601 standard date format (yyyy-mm-dd) and store it in the "CUR_DATE" variable
-FOR /f %%a in ('WMIC OS GET LocalDateTime ^| find "."') DO set DTS=%%a
-set CUR_DATE=%DTS:~0,4%-%DTS:~4,2%-%DTS:~6,2%
-
-:: BATCH: Identify Windows operating system version and store it in the "WIN_VER" variable
-:: Thanks to UJSTech for this ( http://community.spiceworks.com/topic/post/2898378 )
-for /f "tokens=3*" %%i IN ('reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ProductName ^| Find "ProductName"') DO set WIN_VER=%%i %%j
-
-:: Possible return values of above command & returned string:
-   Windows XP Professional SP3:     Microsoft Windows XP
-   Windows Server 2003 Enterprise:  Microsoft Windows Server 2003
-   Windows Vista Home Premium:      Windows Vista (TM) Home Premium
-   Windows Vista Ultimate:          Windows Vista (TM) Ultimate
-   Windows 7 Home Premium:          Windows 7 Home Premium
-   Windows 7 Professional:          Windows 7 Professional
-   Windows 7 Enterprise:            Windows 7 Enterprise
-   Windows 7 Starter:               Windows 7 Starter
-   Windows 8.1 Professional:        Windows 8.1 Pro
-   Windows Server 2008 R2 Standard: Windows Server 2008 R2 Standard
-   Windows Server 2012 R2 Standard: Windows Server 2012 R2 Standard
-   Windows 10 Professional:         Windows 10 Pro
-
-
-:: BATCH: Check SMART status of all disks
-wmic diskdrive get status
-
-:: BATCH: Check SMART status of all disks with title, index and caption
-WMIC DISKDRIVE GET Availability,Index,Caption
-
-:: BATCH: Install global shared printer (system-wide)
-rundll32 printui.dll,PrintUIEntry /ga /n "\\SERVER\PRINTER"
-
-:: BATCH: Add static route to the host 192.168.1.83 via the gateway of 172.16.1.1, on interface #11, and persist across reboots (-p)
-route add 192.168.1.83 mask 255.255.255.255 172.16.1.1 metric 31 if 11 -p
-
-:: BATCH: Add static route to the 192.168.1.0/24 subnet via the gateway of 172.16.1.1, on interface #11, and persist across reboots (-p)
-route add 192.168.1.0 mask 255.255.255.0 172.16.1.1 metric 31 if 11 -p
-
-:: BATCH: Flush all static routes; active, takes effect immediately:
-route -f
-:: BATCH: Flush all static routes; persistent routes only, takes effect at reboot:
-reg delete HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\PersistentRoutes /va /f
-
-:: BATCH: Kill all browsers
-taskkill /f /im iexplore.exe /im firefox.exe /im chrome.exe /im palemoon.exe /im opera.exe
-
-:: BATCH: Kill Firefox
-wmic process where name="firefox.exe" call terminate
-
-:: BATCH: Get list of ALL installed products
-wmic product get identifyingnumber,name,version /all
-wmic product get name, vendor, version /all
-
-:: BATCH: Find out if .NET 3.5 is installed
-reg query "HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5"| findstr Install
-
-:: BATCH: Remotely get installed version of Firefox on all domain computers
-psexec \\* cmd /c (cd "C:\Program Files (x86)\Mozilla Firefox\" ^& firefox -v ^| more)
-
-:: BATCH: Uninstall programs, various examples
-:: BATCH: /nointeractive doesn't prompt user to remove the program
-wmic product where description="Symantec" uninstall
-wmic product where name="Symantec" uninstall
-wmic product where version='65.39.83' uninstall
-
-:: BATCH: Alternate examples using wildcards
-wmic product where "name like 'java%%Runtime%%'" uninstall /nointeractive
-wmic product where "name like 'java%%platform%%'" uninstall /nointeractive
-wmic product where "name like 'java%%tm%%'" uninstall /nointeractive
-
-:: BATCH: Remove ALL "Microsoft Visual C++ Redistributable" runtimes.
-wmic product where "name like 'Microsoft Visual C%%'" call uninstall /nointeractive
-
-:: BATCH: Remotely determine logged in user
-wmic /node:remotecomputer computersystem get username
-
-:: BATCH: List running processes
-wmic process list brief
-
-:: BATCH: Kill a process
-wmic process where name="cmd.exe" delete
-
-:: BATCH: Determine open shares
-net share
-wmic share list brief
-
-:: BATCH: Remotely display machine's MAC address
-wmic /node:machinename nic get macaddress
-
-:: BATCH: Remotely list running processes every second
-wmic /node:machinename process list brief /every:1
-
-:: BATCH: Remotely display System Info
-wmic /node:machinename computersystem list full
-
-:: BATCH: Disk drive information
-wmic diskdrive list full
-wmic partition list full
-
-:: BATCH: BIOS info
-wmic bios list full
-
-:: BATCH: Get hard drive physical serial numbers (first option gives serial number printed on the hard drive case). Last one gets it from a remote system
-wmic path win32_physicalmedia get SerialNumber
-wmic diskdrive get serialnumber,name,description
-wmic /node:REMOTE-COMPUTER-NAME bios get serialnumber
-
-:: BATCH: Create a single folder for every day in the year
-for %%m in (01,02,03,04,05,06,07,08,09,10,11,12) do for %%d in (01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31) do mkdir "2018-%%m-%%d"
-for %%m in (04,06,09,11) do rmdir /s /q "2018-%%m-31"
-for %%d in (29,30,31) do rmdir /s /q "2018-02-%%d"
-
-:: BATCH: List all installed Microsoft hotfixes/patches
-wmic qfe
-
-:: BATCH: Look for a particular patch
-wmic qfe where hotfixid="KB958644" list full
-
-:: BATCH: Remotely List Local Enabled Accounts and Disabled domain accounts
-wmic /node:<remote computer name> USERACCOUNT WHERE "Disabled=0 AND LocalAccount=1" GET Name
-wmic /node:<remote computer name> USERACCOUNT WHERE "Disabled=1 AND LocalAccount=0" GET Name
-
-:: BATCH: Start a service remotely
-wmic /node:machinename 4 service lanmanserver CALL Startservice
-sc \\machinename start lanmanserver
-
-:: BATCH: List services
-wmic service list brief
-sc \\machinename query
-
-:: BATCH: Disable startup service
-sc config example disabled
-
-:: BATCH: List user accounts
-wmic useraccount list brief
-
-:: BATCH: Enable RDP remotely
-wmic /node:"machinename 4" path Win32_TerminalServiceSetting where AllowTSConnections=0" call SetAllowTSConnections 1"
-
-:: BATCH: List number of times a user logged on
-wmic netlogin where (name like "%%Admin%%") get numberoflogons
-
-:: BATCH: Query active RDP sessions
-qwinsta /server:192.168.1.1
-
-:: BATCH: Remove active RDP session ID 2
-rwinsta /server:192.168.1.1 2
-
-:: BATCH: Remotely query registry for last logged in user
-reg query "\\computername\HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon" /v DefaultUserName
-
-:: BATCH: List all computers in domain "blah"; dump the output in "output.txt"
-dsquery computer "OU=example,DC=blah" -o rdn -limit 6000 > output.txt
-
-:: BATCH: Reboot immediately
-shutdown /r /t 0
-
-:: BATCH: Shutdown
-shutdown /s /t 0
-
-:: BATCH: Remotely reboot machine
-shutdown /m \\192.168.1.1 /r /t 0 /f
-
-:: BATCH: Copy entire folder and its contents from a remote source to local machine
-xcopy /s \\remotecomputer\directory c:\local
-
-:: BATCH: Find location of file with string blah" in file name
-dir c:\ /s /b | find "blah"
-
-:: BATCH: Determine name of a machine with known IP
-nbtstat -A 192.168.1.1
-
-:: BATCH: Find directory named blah
-dir c:\ /s /b /ad | find "blah"
-
-:: BATCH: Command line history
-F7
-
-:: BATCH: Determine the current user (aka whoami Linux equivalent)
-echo %USERNAME%
-
-:: BATCH: Determine who is apart of the administrators group
-net localgroup administrators
-
-:: BATCH: Add a user where travis is the username and password is blah
-net user travis blah /add
-
-:: BATCH: Add user travis to administrators group
-net localgroup administrators travis /add
-
-:: BATCH: List user accounts
-net user
-
-:: BATCH: Map a network share with a given drive letter of T:
-net use T: \\serverNameOrIP\shareName
-
-:: BATCH: List network connections and the programs that are making those connections
-netstat -nba
-
-:: BATCH: Display contents of file text.txt
-type text.txt
-
-:: BATCH: Determine PC name
-hostname
-
-:: BATCH: Run cmd.exe as administrator user
-runas /user:administrator cmd
-
-:: BATCH: Determine whether a system is 32 or 64 bit
-wmic cpu get DataWidth /format:list
-
-:: BATCH: Information about OS version and other useful system information
-systeminformation
-
-:: BATCH: Startup applications
-wmic startup get caption,command
-
-:: BATCH: Recursively unzip all zip folders, you'll need unzip.exe for this
-FOR /R %a (*.zip) do unzip -d unzipDir "%a"
-
-:: BATCH: Variable extraction
-Syntax
-      %variable:~num_chars_to_skip%
-      %variable:~num_chars_to_skip,num_chars_to_keep%
-
-This can include negative numbers:
-
-      %variable:~num_chars_to_skip,-num_chars_to_keep%
-      %variable:~-num_chars_to_skip,num_chars_to_keep%
-      %variable:~-num_chars_to_skip,-num_chars_to_keep%
-
-:: BATCH: Start at the first character of a variable (reading left-to-right, position 0, AKA the left-most character) and echo 5 characters starting from there. This command will output 'abcde'
-set ALPHABET=abcdefghijklmnopqrstuvwxyz
-echo %ALPHABET:~0,5%
-abcde
-
-:: BATCH: Start at the fifth character of a variable (reading left-to-right) and echo 3 characters starting from there. This command will output 'fgh'
-set ALPHABET=abcdefghijklmnopqrstuvwxyz
-echo %ALPHABET:~5,3%
-fgh
-
-:: BATCH: Start at the first character of a variable (reading left-to-right, position 0, AKA the left-most character) and echo all characters EXCEPT omit the last 2 characters. This command will output 'abcdefghijklmnopqrstuvwxyz'
-set ALPHABET=abcdefghijklmnopqrstuvwxyz
-echo %ALPHABET:~0,-2%
-abcdefghijklmnopqrstuvwxyz
-
-:: BATCH: Find all files bigger than 100MB starting at C:\
-forfiles /P C:\ /S /M * /C "cmd /c if @fsize GEQ 104857600 echo @path"
-
-:: BATCH: Find all files bigger than 1GB starting at C:\
-forfiles /P C:\ /S /M * /C "cmd /c if @fsize GEQ 1073741824 echo @path"
-
-:: BATCH: Find all files greater than 200MB and modified since 01/17/2016
-forfiles /P D:\ /M *.* /S /D +"01/17/2016" /C "cmd /c if @fsize gtr 209715200 echo @path @fsize @fdate @ftime"
-
-
-#######################
-# POWERSHELL COMMANDS #
-#######################
-
-# POWERSHELL: dir /b equivalent
-ls -ad | ForEach-Object{$_.Name}		# PS v3.0 only
-ls -name
-cmd /c dir /b /a:-d						# ugly hack
-
-# Batch: globally enable Powershell scripts
-powershell "Set-ExecutionPolicy Unrestricted -force"
-
-# POWERSHELL: Rename Active Directory computer
-Rename-computer -computername "computer" -newname "newcomputername" -domaincredential domain\AdminUsername -force -restart
-
-# POWERSHELL: Function to get current AD site
-function Get-ADComputerSite($ComputerName)
-{
- $site = nltest /server:$ComputerName /dsgetsite
- if($LASTEXITCODE -eq 0){ $site[0] }
-}
-
-# POWERSHELL: Print running services in green and stopped services in red
-get-service | foreach-object{ if ($_.status -eq "stopped") {write-host -f red $_.name $_.status}` else{ write-host -f green $_.name $_.status}}
-
-# POWERSHELL: Search the Security event log for any entry containing "taco", and then format it into an auto-sized table
-Get-EventLog security -message "*taco*" | format-table -autosize;
-
-# POWERSHELL: Search the System event log for any entry containing "usb", format it to an auto-sized table and don't truncate the text ("-wrap"), then dump the output in C:\Logs\usblog.txt
-Get-EventLog system -message "*usb*" | format-table -wrap -autosize | Out-file C:\Logs\usblog.txt
-
-# POWERSHELL: Search the Security event log for all instances of EventID 4688 (USB storage device plugged in)
-get-eventlog security | Where-Object {$_.EventID -eq 4688} | format-table -autosize
-
-# POWERSHELL: Extract specific event (by index) from the Security event log
-get-eventlog security | Where-Object {$_.Index -eq 3982270} | format-list
-get-eventlog security | Where-Object {$_.Index -eq 3982270} | format-list | find /i "Account Name:"
-
-# POWERSHELL: Get list of all NICs in the system along with their MAC addresses
-Get-WmiObject -Class Win32_NetworkAdapter Format-Table DeviceId, Name, MACAddress -AutoSize
-
-# POWERSHELL: Get all IP information for the system
-Get-WMIobject win32_networkadapterconfiguration | where {$_.IPEnabled -eq "True"} | Select-Object pscomputername,ipaddress,defaultipgateway,ipsubnet,dnsserversearchorder,winsprimaryserver | format-Table -Auto
-
-# POWERSHELL: Download a file from the web
-(new-object System.Net.WebClient).Downloadfile("http://example.com/file.txt", "C:\Users\Travis\file.txt")
-
-# POWERSHELL: Measure how long a command takes to finish
-Measure-Command {.\mybatchfile.bat}|%{$_.TotalMilliseconds}
-# Hacky batch version of the same thing
-powershell.exe "Measure-Command {cmd.exe /c wmic product get identifyingnumber,name,version /all}|%{$_.TotalMilliseconds}"
-
-# POWERSHELL: Find time and initiating user of last system reboot
-Get-EventLog -log system -newest 1000 | where-object {$_.eventid -eq '1074'} | format-table machinename, username, timegenerated -autosize
-
-# POWERSHELL: Find all MP3s and sort by ascending size:
-Get-ChildItem 'C:\search\directory\' -recurse -include *.mp3 | select-object fullname,length | sort length
-
-# POWERSHELL: List all installed Microsoft hotfixes/patches
-Get-HotFix | select-object hotfixid,installedon | sort installedon
-
-# POWERSHELL: Start an interactive PowerShell session on the remote computer myserver:
-Enter-PsSession myserver
-
-# POWERSHELL: Stop an interactive PowerShell session:
-Exit-PsSession
-
-# POWERSHELL: Run a command on a list of remote machines:
-Invoke-Command -computername myserver1, myserver2, myserver3 {get-Process}
-
-# POWERSHELL: Run a remote script on a list of remote machines:
-Invoke-Command -computername myserver1,myserver2,myserver3 -filepath \\scriptserver\c\scripts\script.psl
-
-# POWERSHELL: Operate interactively on a list of machines by setting up a "session" of open connections:
-$InteractiveSession = new-pssession -computername myserver1, myserver2, myserver3
-
-# POWERSHELL: Run a remote command on the new session. This runs it all the connections in the session:
-Invoke-Command -session $InteractiveSession {Get-Process}
-
-# POWERSHELL: Run the remote command on the session, but report only certain objects:
-invoke-command -session $InteractiveSession {Get-Process | select-object name,VM,CPU }
-
-# POWERSHELL: Get installed version of Powershell:
-$PSVersionTable.PSVersion
-
-:eof


viofs: delete SDV files as part of cleanup script

Signed-off-by: Basil Salman <21365a5269558c90bfa2759f45f9ba5befb07334@daynix.com>
Signed-off-by: Basil Salman <cfd941875293580342e4ea73050cb019fbe6a236@redhat.com>

--- viofs/clean.bat
+++ viofs/clean.bat
@@ -3,9 +3,13 @@
 call :rmdir Install
 call :rmdir Install_Debug
 call :rmdir Release
+call :rmdir pci\sdv
 call :rmfiles *.log
 call :rmfiles *.err
 call :cleandir
+del pci\smvbuild.log
+del pci\smvstats.txt
+del pci\viofs.DVL.XML

 pushd pci
 call :cleandir


13.5.1

--- buildReleaseNuGetPackages.cmd
+++ buildReleaseNuGetPackages.cmd
@@ -1,4 +1,4 @@
-set ENETVER=11.5.1
+set ENETVER=13.5.1
 echo "Start building Electron.NET dev stack..."
 echo "Restore & Build API"
 cd ElectronNet.API


Updated the BuildNightly.bat script to skip help files since there is no shfbproj project to build.

git-tfs-id: [https://tfs.codeplex.com/tfs/TFS07]$/openpdc/Synchrophasor/Current Version-VS2012;C92749

--- Build/Scripts/BuildNightly.bat
+++ Build/Scripts/BuildNightly.bat
@@ -18,4 +18,4 @@
 ::*******************************************************************************************************

 @ECHO OFF
-C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\msbuild.exe Synchrophasor.buildproj /l:FileLogger,Microsoft.Build.Engine;logfile=Synchrophasor.output+C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\msbuild.exe Synchrophasor.buildproj /p:SkipHelpFiles=true /l:FileLogger,Microsoft.Build.Engine;logfile=Synchrophasor.output


removed bld.bat from perl-config-simple

removed bld.bat from perl-config-simple

--- recipes/perl-config-simple/bld.bat
+++ recipes/perl-config-simple/bld.bat
@@ -1,29 +0,0 @@
-:: If it has Build.PL use that, otherwise use Makefile.PL
-IF exist Build.PL (
-    perl Build.PL
-    IF errorlevel 1 exit 1
-    Build
-    IF errorlevel 1 exit 1
-    Build test
-    :: Make sure this goes in site
-    Build install --installdirs site
-    IF errorlevel 1 exit 1
-) ELSE IF exist Makefile.PL (
-    :: Make sure this goes in site
-    perl Makefile.PL INSTALLDIRS=site
-    IF errorlevel 1 exit 1
-    make
-    IF errorlevel 1 exit 1
-    make test
-    IF errorlevel 1 exit 1
-    make install
-) ELSE (
-    ECHO 'Unable to find Build.PL or Makefile.PL. You need to modify bld.bat.'
-    exit 1
-)
-
-:: Add more build steps here, if they are necessary.
-
-:: See
-:: http://docs.continuum.io/conda/build.html
-:: for a list of environment variables that are set during the build process.


include coverage results

include coverage results

--- clean.bat
+++ clean.bat
@@ -1,3 +1,3 @@
 @echo off
-for /d /r . %%d in (artifacts,packages,TestResults,bin,obj,.vs) do @if exist "%%d" rd /s /q "%%d"
-for    /r . %%f in (*.bak,*.user,*.suo)                         do @if exist "%%f" del "%%f"+for /d /r . %%d in (artifacts,packages,TestResults,bin,obj,.vs)      do @if exist "%%d" rd /s /q "%%d"
+for    /r . %%f in (*.bak,*.user,*.suo,coverage*.json,coverage*.xml) do @if exist "%%f" del "%%f"


Add clean.cmd.

Add clean.cmd.

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

--- clean.cmd
+++ clean.cmd
@@ -0,0 +1,3 @@
+del picol picol.exe interp.obj
+del examples/command examples/command.exe command.obj
+del examples/hello examples/hello.exe hello.obj


webrtc build script improvements.

webrtc build script improvements.


Added compatibility with Google Photos

Added compatibility with Google Photos


Set ForceBuild to false in the BuildNightly.bat script.

--- Build/Scripts/BuildNightly.bat
+++ Build/Scripts/BuildNightly.bat
@@ -23,5 +23,5 @@

 IF NOT "%1" == "" SET logflag=/l:FileLogger,Microsoft.Build.Engine;logfile=%1

-ECHO BuildNightly: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\msbuild.exe openMIC.buildproj /p:ForceBuild=true %logflag%
-"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" openMIC.buildproj /p:ForceBuild=true %logFlag%+ECHO BuildNightly: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\msbuild.exe openMIC.buildproj /p:ForceBuild=false %logflag%
+"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" openMIC.buildproj /p:ForceBuild=false %logFlag%


Updated the BuildNightly.bat script to skip help files since there is no shfbproj project to build.

git-tfs-id: [https://tfs.codeplex.com/tfs/TFS11]$/openHistorian/Main;C41546

--- Build/Scripts/BuildNightly.bat
+++ Build/Scripts/BuildNightly.bat
@@ -18,4 +18,4 @@
 ::*******************************************************************************************************

 @ECHO OFF
-C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\msbuild.exe openHistorian.buildproj /l:FileLogger,Microsoft.Build.Engine;logfile=openHistorian.output+C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\msbuild.exe openHistorian.buildproj /p:SkipHelpFiles=true /l:FileLogger,Microsoft.Build.Engine;logfile=openHistorian.output


bld.bat file for conda build

bld.bat file for conda build

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

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


Add project gen script for VS 2019

Add project gen script for VS 2019


print usage, thanks to Jan Schreiber

print usage, thanks to Jan Schreiber

--- trunk/JLanguageTool/src/scripts/testwikipedia.bat
+++ trunk/JLanguageTool/src/scripts/testwikipedia.bat
@@ -1,2 +1,24 @@
+@ECHO off
+:: Check command line parameters
+IF (%2)==() GOTO usage
+IF (%1)==() GOTO usage
+IF (%1)==(?) GOTO usage
+IF (%1)==(/?) GOTO usage
+IF (%1)==(-?) GOTO usage
+IF (%1)==(--?) GOTO usage
+IF (%1)==(/help) GOTO usage
+IF (%1)==(-help) GOTO usage
+IF (%1)==(--help) GOTO usage

-java -cp commons-lang-2.4.jar;bliki-3.0.3.jar;LanguageTool.jar de.danielnaber.languagetool.dev.wikipedia.CheckWikipediaDump - $1 $2
+java -cp commons-lang-2.4.jar;bliki-3.0.3.jar;LanguageTool.jar de.danielnaber.languagetool.dev.wikipedia.CheckWikipediaDump - %1 %2 %3
+GOTO eof
+
+:usage
+ECHO Usage: %0 lang wikipediaXmlDump
+ECHO Where:
+ECHO - lang is a language code such as 'en' or 'de';
+ECHO - wikipediaXmlDump is the path to an unpacked Wikipedia XML dump.
+ECHO Example:
+ECHO - %0 de dewiki-20101012-pages-articles-partly.xml
+
+:eof


Make sure findbugs.home property is set!

git-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@628 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3

--- findbugs/bin/findbugs.bat
+++ findbugs/bin/findbugs.bat
@@ -52,7 +52,7 @@
 :: echo appjar is %appjar%
 :: echo args is %args%
 :: echo jvmargs is %jvmargs%
-java %jvmargs% -jar %FINDBUGS_HOME%\lib\%appjar% %args%
+java -Dfindbugs.home=%FINDBUGS_HOME% %jvmargs% -jar %FINDBUGS_HOME%\lib\%appjar% %args%
 goto end

 :: ----------------------------------------------------------------------


Don't quote %debugArg% on java command line.

git-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@1354 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3

--- findbugs/bin/findbugs.bat
+++ findbugs/bin/findbugs.bat
@@ -72,7 +72,7 @@
 :: echo appjar is %appjar%
 :: echo args is %args%
 :: echo jvmargs is %jvmargs%
-"%javacmd%" "%debugArg%" "-Dfindbugs.home=%FINDBUGS_HOME%" %jvmargs% -jar "%FINDBUGS_HOME%\lib\%appjar%" %args%
+"%javacmd%" %debugArg% "-Dfindbugs.home=%FINDBUGS_HOME%" %jvmargs% -jar "%FINDBUGS_HOME%\lib\%appjar%" %args%
 goto end

 :: ----------------------------------------------------------------------


Windows/x86: Add MSVC flags for debug build with exception interop.

--- src/msvcbuild.bat
+++ src/msvcbuild.bat
@@ -67,7 +67,7 @@
 @if "%1" neq "debug" goto :NODEBUG
 @shift
 @set LJCOMPILE=%LJCOMPILE% /Zi
-@set LJLINK=%LJLINK% /debug
+@set LJLINK=%LJLINK% /debug /opt:ref /opt:icf /incremental:no
 :NODEBUG
 @if "%1"=="amalg" goto :AMALGDLL
 @if "%1"=="static" goto :STATIC


Update prepare

Update prepare

--- perl/01-prepare.cmd
+++ perl/01-prepare.cmd
@@ -4,33 +4,13 @@
 call settings.cmd
 call ..\unxutils.cmd

-call cpan Test::Output
-call cpanm -f Test::Output
-call cpan install Test::Output
-call cpan install Getopt::ArgvFile
-call cpan install Module::ScanDeps
-REM 0.10 fails cpanm, cpan works?
-REM or cpanm Test::Mock::Guard@0.09
-call cpan install Test::Mock::Guard

-REM 0.10+ fails cpanm, broken pipe?
-REM or cpanm ExtUtils::CppGuess@0.09
-call cpan install ExtUtils::CppGuess
+cd %ARCH%
+git clone https://github.com/mgreter/Filesys-Notify-Simple
+cd Filesys-Notify-Simple
+perl Makefile.PL
+dmake -P4 test
+dmake install
+cd ..\..

-echo ================================================================================
-
-REM some had problems with tests?
-REM check future if still needed!
-call cpanm Win32::IPC --notest
-call cpanm Win32::Unicode --notest
-
-echo ================================================================================
-
-call cpanm RSCHUPP/PAR-Packer-1.037.tar.gz --notest
-call cpanm List::MoreUtils --notest
-
-echo ================================================================================
-
-REM these seem to work ok!
-call cpan install Win32::ChangeNotify
-call cpan install Filesys::Notify::Simple
+pause


use file protocol

use file protocol

--- qa/qa-setup.cmd
+++ qa/qa-setup.cmd
@@ -29,7 +29,7 @@
 goto :qa_folder_delete
 :qa_folder_deleted

-%FULLBUILD% setup git %LOCALFBREPO% %LOCALBIN% %QAFOLDER% || goto :ko
+%FULLBUILD% setup git file://%LOCALFBREPO% %LOCALBIN% %QAFOLDER% || goto :ko
 cd %QAFOLDER% || goto :ko

 pushd .full-build


add build script

add build script

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

--- doc/build.cmd
+++ doc/build.cmd
@@ -0,0 +1,4 @@
+@ECHO OFF
+SET base=%~dp0
+RD /S /Q %base%obj
+docfx %base%docfx.json --serve


updated startserver script (Batch)

updated startserver script (Batch)

--- startserver.bat
+++ startserver.bat
@@ -4,10 +4,15 @@
 :start
 cls
 python -m http.server 8000
-pause
+:exit
 set INPUT=
 set /P INPUT="Do you want to restart? (yes/no) "
 if "%INPUT%"=="y" goto start
 if "%INPUT%"=="Y" goto start
 if "%INPUT%"=="yes" goto start
 if "%INPUT%"=="Yes" goto start
+if "%INPUT%"=="n" exit
+if "%INPUT%"=="N" exit
+if "%INPUT%"=="no" exit
+if "%INPUT%"=="No" exit
+goto exit


Adding XML Graphics Commons to classpath.

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

--- fop.bat
+++ fop.bat
@@ -46,6 +46,7 @@
 set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.7.0.jar
 set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\serializer-2.7.0.jar
 set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\batik-all-1.6.jar
+set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xmlgraphics-commons-snapshot.jar
 set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\avalon-framework-4.2.0.jar
 set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\commons-io-1.1.jar
 set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\commons-logging-1.0.4.jar


set the codepage to UTF-8 for start.bat; refs #2348

--- tools/start.bat
+++ tools/start.bat
@@ -1,5 +1,6 @@
 @echo off
 REM COLOR 0A
+chcp 65001
 SET NIMPATH=%~dp0\..
 SET PATH=%NIMPATH%\bin;%NIMPATH%\dist\mingw\bin;%PATH%
 cd %NIMPATH%


The latest msysgit comes with vim 7.4.

The latest msysgit comes with vim 7.4.

--- vendor/init.bat
+++ vendor/init.bat
@@ -24,7 +24,7 @@

 :: Enhance Path
 @set git_install_root=%CMDER_ROOT%\vendor\msysgit
-@set PATH=%CMDER_ROOT%\bin;%git_install_root%\bin;%git_install_root%\mingw\bin;%git_install_root%\cmd;%git_install_root%\share\vim\vim73;%CMDER_ROOT%;%PATH%
+@set PATH=%CMDER_ROOT%\bin;%git_install_root%\bin;%git_install_root%\mingw\bin;%git_install_root%\cmd;%git_install_root%\share\vim\vim74;%CMDER_ROOT%;%PATH%

 :: Add aliases
 @doskey /macrofile="%CMDER_ROOT%\config\aliases"


Added a bat file for easy building with windows

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

--- buildOpenEtg.bat
+++ buildOpenEtg.bat
@@ -0,0 +1,2 @@
+copy /B etg.client.js+classes.js+actives.js+animations.js+ai.eval.js+ai.targeting.js+etg.js js.js /Y
+browserify -r ./etgutil -r ./MersenneTwister -o etgify.js


Update .mathjax-post-link.bat

Update .mathjax-post-link.bat

--- recipes/mathjax/.mathjax-post-link.bat
+++ recipes/mathjax/.mathjax-post-link.bat
@@ -6,4 +6,4 @@
 set "script=%script_dir%mathjax-path"
 echo @echo %mathjax% > "%script%.bat"
 echo #!/bin/bash > "%script%"
-echo cygpath "%mathjax:\=/%" >> "%script%"
+echo cygpath "%mathjax:\=/%" "$@" >> "%script%"


add partner name

add partner name

--- test/test_app.bat
+++ test/test_app.bat
@@ -0,0 +1 @@
+### Application.bat - L3 CDPN - 2015 ###


Fix path to "main" modules

Fix path to "main" modules

--- doc/screenplay/demo-3-bach.bat
+++ doc/screenplay/demo-3-bach.bat
@@ -49,7 +49,7 @@
 echo Step 6: Describe demo module
 pause > nul
 echo.
-jar --describe-module --file .bach\out\realm\modules\demo-0.jar
+jar --describe-module --file .bach\out\main\modules\demo-0.jar
 pause > nul

 cd ..


Fix setuptools with conda build on windows.

--- devtools/conda-recipe/bld.bat
+++ devtools/conda-recipe/bld.bat
@@ -1,3 +1,3 @@
 xcopy %RECIPE_DIR%\\..\\.. %SRC_DIR% /e /h /Y /Q
-"%PYTHON%" setup.py install
+"%PYTHON%" setup.py install --single-version-externally-managed --record=record.txt
 if errorlevel 1 exit 1


fixed Bug #586699  use Brian Creation's patch for Sikuli-IDE.bat

--- sikuli-ide/target/win32/Sikuli-IDE.bat
+++ sikuli-ide/target/win32/Sikuli-IDE.bat
@@ -1,9 +1,6 @@
 @echo off
+
 PATH=%PATH%;%~d0%~p0tmplib
-set JAVA_EXE="java"
-set JAVA_EXE_X86="C:\Program Files (x86)\Java\jre6\bin\java.exe"
-IF EXIST %JAVA_EXE_X86% SET JAVA_EXE=%JAVA_EXE_X86%
-
-%JAVA_EXE% -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dpython.path="%~d0%~p0sikuli-script.jar/" -jar "%~d0%~p0sikuli-ide.jar" %*
-
-
+set JAVA_EXE="javaw"
+if defined PROGRAMFILES(X86) set JAVA_EXE="%PROGRAMFILES(X86)%\Java\jre6\bin\javaw.exe"
+start /B "Silkuli-IDE Loader...." %JAVA_EXE% -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dpython.path="%~d0%~p0sikuli-script.jar/" -jar "%~d0%~p0sikuli-ide.jar" %*


Added osgprecipitation to runexamples list.

--- runexamples.bat
+++ runexamples.bat
@@ -102,6 +102,12 @@
 echo osgplanets
 osgplanets

+echo osgprecipitation --rain 0.5
+osgprecipitation --rain 0.5 lz.osg
+
+echo osgprecipitation --snow 0.5
+osgprecipitation --snow 0.5 lz.osg
+
 echo osgprerender
 osgprerender dumptruck.osg


We seem to have to do without quotes when setting path in classroom.

--- shell.bat
+++ shell.bat
@@ -1,2 +1,2 @@
-@set PATH="%PATH%;C:\Program Files\Java\jdk1.7.0_25\bin"
+@set PATH=%PATH%;C:\Program Files\Java\jdk1.7.0_25\bin
 @c:\Windows\system32\cmd.exe /c %USERPROFILE%\Desktop\sh.exe -l


chore: use latest npm on Windows (#68)

chore: use latest npm on Windows (#68)

--- .kokoro/test.bat
+++ .kokoro/test.bat
@@ -1,4 +1,4 @@
-@rem Copyright 2018 gRPC authors.
+@rem Copyright 2018 Google LLC. All rights reserved.
 @rem
 @rem Licensed under the Apache License, Version 2.0 (the "License");
 @rem you may not use this file except in compliance with the License.
@@ -17,8 +17,7 @@
 cd /d %~dp0
 cd ..

-call npm install -g npm@5 || goto :error
-
+call npm install -g npm@latest || goto :error
 call npm install || goto :error
 call npm run test || goto :error


fix PATH typo

fix PATH typo

--- ci/scripts/fly-build.bat
+++ ci/scripts/fly-build.bat
@@ -1,4 +1,4 @@
-set PATH=C:\Go\bin;%PATH
+set PATH=C:\Go\bin;%PATH%

 set GOPATH=%CD%\concourse
 set PATH=%CD%\concourse\bin;%PATH%


Fixed bat script.

Fixed bat script.

git-svn-id: d6c67068e44d4c7a26f9ca1517fed89f64cc07e8@1223395 13f79535-47bb-0310-9956-ffa450edef68

--- any23-core/bin/any23server.bat
+++ any23-core/bin/any23server.bat
@@ -2,7 +2,7 @@
 set ANY23_ROOT=%~p0\..\
 set CP="%ANY23_ROOT%build"
 call :findjars "%ANY23_ROOT%lib"
-java -cp %CP% -Xmx256M org.deri.any23.servlet.Any23Server %1 %2 %3 %4 %5 %6 %7 %8 %9
+java -cp %CP% -Xmx256M org.deri.any23.servlet.Any23Server ..\webapp %1 %2 %3 %4 %5 %6 %7 %8 %9
 exit /B

 :findjars


Tweaked for loop some more to add %%i

Tweaked for loop some more to add %%i

--- scripts/install.bat
+++ scripts/install.bat
@@ -1,4 +1,4 @@
 ECHO on
-FOR /f %i IN ('dir /ad /b "C:\" ^|findstr /I "mongo"') DO set dest=%i
+FOR /f %%i IN ('dir /ad /b "C:\" ^|findstr /I "mongo"') DO set dest=%%i
 ECHO MOVE "C:\"%dest% "C:\mongodb\"
 setx MYPATH "%PATH%;C:\mongodb\bin"


srlua test missing -m lfs

srlua test missing -m lfs

--- tests.bat
+++ tests.bat
@@ -1,3 +1,3 @@
-call srlua -o flake lake
+call srlua -m lfs -o flake lake
 flake -h
-%LAKE% -f test.lake
+rem %LAKE% -f test.lake


Add new libraries to copy script

Add new libraries to copy script

--- update-core.bat
+++ update-core.bat
@@ -18,6 +18,8 @@
 copy "core\Common\3dParty\v8\win_%OS%\release\icudt.dll" "."
 copy "core\Common\3dParty\icu\win_%OS%\build\icudt*.dll" "."
 copy "core\Common\3dParty\icu\win_%OS%\build\icuuc*.dll" "."
+copy "core\build\lib\win_%OS%\kernel.dll" "."
+copy "core\build\lib\win_%OS%\graphics.dll" "."
 copy "core\build\lib\win_%OS%\doctrenderer.dll" "."
 copy "core\build\lib\win_%OS%\HtmlRenderer.dll" "."
 copy "core\build\lib\win_%OS%\DjVuFile.dll" "."


Updatebuild should really only clone the repos, if the user wants to pull them they can do that with bash multi git pull.

--- updatebuild.bat
+++ updatebuild.bat
@@ -1,5 +1,3 @@
 cd ..
 cd ..
-git clone https://github.com/yeerkkiller1/Interfaces
-cd Interfaces
-git pull+git clone https://github.com/yeerkkiller1/Interfaces


Updated windows build script, now using: - tdm mingw gcc 4.4 - Qt 4.5.1 - boost 1.39 + other minor updates. Update of build tool still pending. The script will be changed to retrieve a stable revision instead of HEAD.

--- docs/win32_build_scripts/pokerth_download_libs.cmd
+++ docs/win32_build_scripts/pokerth_download_libs.cmd
@@ -51,17 +51,17 @@
 pause
 echo.
 echo Downloading mingw packages
-%PKTH_OldDir%\third_party_apps\curl -O http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/tdm-gcc/gcc-4.3.3-tdm-1-dw2-core.tar.gz -O http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/tdm-gcc/gcc-4.3.3-tdm-1-dw2-g++.tar.gz -O http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/mingw/binutils-2.19.1-mingw32-bin.tar.gz -O http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/mingw/mingwrt-3.15.2-mingw32-dev.tar.gz -O http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/mingw/mingwrt-3.15.2-mingw32-dll.tar.gz -O http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/mingw/w32api-3.11.tar.gz -O http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/mingw/mingw32-make-3.81-20080326-3.tar.gz -O http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/mingw/mingw-utils-0.3.tar.gz
+%PKTH_OldDir%\third_party_apps\curl -O http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/tdm-gcc/gcc-4.4.0-tdm-1-dw2-core-2.tar.gz -O http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/tdm-gcc/gcc-4.4.0-tdm-1-dw2-g++-2.tar.gz -O http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/mingw/binutils-2.19.1-mingw32-bin.tar.gz -O http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/mingw/mingwrt-3.15.2-mingw32-dev.tar.gz -O http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/mingw/mingwrt-3.15.2-mingw32-dll.tar.gz -O http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/mingw/w32api-3.13-mingw32-dev.tar.gz -O http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/mingw/mingw32-make-3.81-20080326-3.tar.gz -O http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/mingw/mingw-utils-0.3.tar.gz
 if not errorlevel 0 goto downloadFailed
 echo.
 echo Unpacking mingw packages
 mkdir mingw
-%PKTH_OldDir%\third_party_apps\7za x -y gcc-4.3.3-tdm-1-dw2-core.tar.gz
-%PKTH_OldDir%\third_party_apps\7za x -y -omingw gcc-4.3.3-tdm-1-dw2-core.tar
-del gcc-4.3.3-tdm-1-core.tar
-%PKTH_OldDir%\third_party_apps\7za x -y gcc-4.3.3-tdm-1-dw2-g++.tar.gz
-%PKTH_OldDir%\third_party_apps\7za x -y -omingw gcc-4.3.3-tdm-1-dw2-g++.tar
-del gcc-4.3.3-tdm-1-g++.tar
+%PKTH_OldDir%\third_party_apps\7za x -y gcc-4.4.0-tdm-1-dw2-core-2.tar.gz
+%PKTH_OldDir%\third_party_apps\7za x -y -omingw gcc-4.4.0-tdm-1-dw2-core-2.tar
+del gcc-4.4.0-tdm-1-dw2-core-2.tar
+%PKTH_OldDir%\third_party_apps\7za x -y gcc-4.4.0-tdm-1-dw2-g++-2.tar.gz
+%PKTH_OldDir%\third_party_apps\7za x -y -omingw gcc-4.4.0-tdm-1-dw2-g++-2.tar
+del gcc-4.4.0-tdm-1-dw2-g++-2.tar
 %PKTH_OldDir%\third_party_apps\7za x -y binutils-2.19.1-mingw32-bin.tar.gz
 %PKTH_OldDir%\third_party_apps\7za x -y -omingw binutils-2.19.1-mingw32-bin.tar
 del binutils-2.19.1-mingw32-bin.tar
@@ -71,9 +71,9 @@
 %PKTH_OldDir%\third_party_apps\7za x -y mingwrt-3.15.2-mingw32-dll.tar.gz
 %PKTH_OldDir%\third_party_apps\7za x -y -omingw mingwrt-3.15.2-mingw32-dll.tar
 del mingwrt-3.15.2-mingw32-dll.tar
-%PKTH_OldDir%\third_party_apps\7za x -y w32api-3.11.tar.gz
-%PKTH_OldDir%\third_party_apps\7za x -y -omingw w32api-3.11.tar
-del w32api-3.11.tar
+%PKTH_OldDir%\third_party_apps\7za x -y w32api-3.13-mingw32-dev.tar.gz
+%PKTH_OldDir%\third_party_apps\7za x -y -omingw w32api-3.13-mingw32-dev.tar
+del w32api-3.13-mingw32-dev.tar
 %PKTH_OldDir%\third_party_apps\7za x -y mingw32-make-3.81-20080326-3.tar.gz
 %PKTH_OldDir%\third_party_apps\7za x -y -omingw mingw32-make-3.81-20080326-3.tar
 del mingw32-make-3.81-20080326-3.tar
@@ -91,7 +91,7 @@
 ren gcov-dw2.exe gcov.exe
 ren mingw32-c++-dw2.exe mingw32-c++.exe
 ren mingw32-g++-dw2.exe mingw32-g++.exe
-ren mingw32-gcc-4.3.3-dw2.exe mingw32-gcc-4.3.3.exe
+ren mingw32-gcc-4.4.0-dw2.exe mingw32-gcc-4.4.0.exe
 ren mingw32-gcc-dw2.exe mingw32-gcc.exe
 cd /d %PKTH_BaseDir%
 echo.
@@ -107,20 +107,14 @@
 if not exist %PKTH_BaseDir%\qt. (
 echo.
 echo Downloading Qt
-%PKTH_OldDir%\third_party_apps\curl -O ftp://ftp.ntua.gr/pub/X11/Qt/qt/source/qt-win-opensource-src-4.4.3.zip
+%PKTH_OldDir%\third_party_apps\curl -O http://get.qtsoftware.com/qt/source/qt-win-opensource-src-4.5.1.zip
 if not errorlevel 0 goto downloadFailed
 echo.
 echo Unpacking Qt
-%PKTH_OldDir%\third_party_apps\7za x -y qt-win-opensource-src-4.4.3.zip
-REM Wait 5 seconds for the file cache, else ren might fail.
-@ping 127.0.0.1 -n 5 -w 1000 > nul
-ren qt-win-opensource-src-4.4.3 qt
-echo.
-echo Patching Qt
-cd qt
-copy %PKTH_OldDir%\helper_src\qt.patch .
-%PKTH_OldDir%\third_party_apps\pat_ch -p1 -i qt.patch
-cd /d %PKTH_BaseDir%
+%PKTH_OldDir%\third_party_apps\7za x -y qt-win-opensource-src-4.5.1.zip
+REM Wait 5 seconds for the file cache, else ren might fail.
+@ping 127.0.0.1 -n 5 -w 1000 > nul
+ren qt-win-opensource-src-4.5.1 qt
 )
 if not exist %PKTH_BaseDir%\qt goto qtFailure
 echo.
@@ -163,9 +157,9 @@
 if not exist %PKTH_BaseDir%\GnuTLS. (
 echo.
 echo Downloading GnuTLS
-%PKTH_OldDir%\third_party_apps\curl -O http://josefsson.org/gnutls4win/gnutls-2.6.4.zip
+%PKTH_OldDir%\third_party_apps\curl -O http://josefsson.org/gnutls4win/gnutls-2.6.6.zip
 mkdir GnuTLS
-%PKTH_OldDir%\third_party_apps\7za x -y -oGnuTLS gnutls-2.6.4.zip
+%PKTH_OldDir%\third_party_apps\7za x -y -oGnuTLS gnutls-2.6.6.zip
 REM Wait 5 seconds for the file cache.
 @ping 127.0.0.1 -n 5 -w 1000 > nul
 REM Remove files for dynamic linking, we do not want to accidently use them
@@ -177,16 +171,16 @@
 if not exist %PKTH_BaseDir%\curl. (
 echo.
 echo Downloading curl
-%PKTH_OldDir%\third_party_apps\curl -O http://curl.haxx.se/download/curl-7.19.3.tar.bz2
+%PKTH_OldDir%\third_party_apps\curl -O http://curl.haxx.se/download/curl-7.19.4.tar.bz2
 if not errorlevel 0 goto downloadFailed
 echo.
 echo Unpacking curl
-%PKTH_OldDir%\third_party_apps\7za x -y curl-7.19.3.tar.bz2
-%PKTH_OldDir%\third_party_apps\7za x -y curl-7.19.3.tar
-del curl-7.19.3.tar
-REM Wait 5 seconds for the file cache, else ren might fail.
-@ping 127.0.0.1 -n 5 -w 1000 > nul
-ren curl-7.19.3 curl
+%PKTH_OldDir%\third_party_apps\7za x -y curl-7.19.4.tar.bz2
+%PKTH_OldDir%\third_party_apps\7za x -y curl-7.19.4.tar
+del curl-7.19.4.tar
+REM Wait 5 seconds for the file cache, else ren might fail.
+@ping 127.0.0.1 -n 5 -w 1000 > nul
+ren curl-7.19.4 curl
 )
 echo.
 echo Compiling curl
@@ -198,18 +192,18 @@
 if not exist %PKTH_BaseDir%\boost. (
 echo.
 echo Downloading boost and bjam
-%PKTH_OldDir%\third_party_apps\curl -O http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/boost/boost_1_38_0.7z -O http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/boost/boost-jam-3.1.17-1-ntx86.zip
+%PKTH_OldDir%\third_party_apps\curl -O http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/boost/boost_1_39_0.7z -O http://%SOURCEFORGE_MIRROR%.sourceforge.net/sourceforge/boost/boost-jam-3.1.17-1-ntx86.zip
 if not errorlevel 0 goto downloadFailed
 echo.
 echo Unpacking boost and bjam
-%PKTH_OldDir%\third_party_apps\7za x -y boost_1_38_0.7z
+%PKTH_OldDir%\third_party_apps\7za x -y boost_1_39_0.7z
 %PKTH_OldDir%\third_party_apps\7za x -y boost-jam-3.1.17-1-ntx86.zip
 REM Wait 5 seconds for the file cache, else ren might fail.
 @ping 127.0.0.1 -n 5 -w 1000 > nul
 move boost-jam-3.1.17-1-ntx86\bjam.exe mingw\bin\bjam.exe
 move boost-jam-3.1.17-1-ntx86\LICENSE_1_0.txt mingw\bin\bjam_LICENSE_1_0.txt
 rd boost-jam-3.1.17-1-ntx86
-ren boost_1_38_0 boost
+ren boost_1_39_0 boost
 )
 echo.
 echo Compiling boost
@@ -257,14 +251,14 @@
 if not exist %PKTH_BaseDir%\svn. (
 echo.
 echo Downloading subversion
-%PKTH_OldDir%\third_party_apps\curl -O http://subversion.tigris.org/files/documents/15/44589/svn-win32-1.5.5.zip
+%PKTH_OldDir%\third_party_apps\curl -O http://subversion.tigris.org/files/documents/15/45600/svn-win32-1.6.1.zip
 if not errorlevel 0 goto downloadFailed
 echo.
 echo Unpacking subversion
-%PKTH_OldDir%\third_party_apps\7za x -y svn-win32-1.5.5.zip
-REM Wait 5 seconds for the file cache, else ren might fail.
-@ping 127.0.0.1 -n 5 -w 1000 > nul
-ren svn-win32-1.5.5 svn
+%PKTH_OldDir%\third_party_apps\7za x -y svn-win32-1.6.1.zip
+REM Wait 5 seconds for the file cache, else ren might fail.
+@ping 127.0.0.1 -n 5 -w 1000 > nul
+ren svn-win32-1.6.1 svn
 )
 if not exist %PKTH_BaseDir%\svn\bin\svn.exe goto svnFailure
 if not exist %PKTH_BaseDir%\pokerth. (


fix the 'was unexpected at this time.'

fix the 'was unexpected at this time.'

Change the single quotation marks to double while path concerned

--- vendor/init.bat
+++ vendor/init.bat
@@ -353,15 +353,15 @@
 )

 if "%CMDER_ALIASES%" == "1" if exist "%CMDER_ROOT%\bin\alias.bat" if exist "%CMDER_ROOT%\vendor\bin\alias.cmd" (
-  echo Cmder's 'alias' command has been moved into '%CMDER_ROOT%\vendor\bin\alias.cmd'
+  echo Cmder's 'alias' command has been moved into "%CMDER_ROOT%\vendor\bin\alias.cmd"
   echo to get rid of this message either:
   echo.
-  echo Delete the file '%CMDER_ROOT%\bin\alias.bat'
+  echo Delete the file "%CMDER_ROOT%\bin\alias.bat"
   echo.
   echo or
   echo.
   echo If you have customized it and want to continue using it instead of the included version
-  echo   * Rename '%CMDER_ROOT%\bin\alias.bat' to '%CMDER_ROOT%\bin\alias.cmd'.
+  echo   * Rename "%CMDER_ROOT%\bin\alias.bat" to "%CMDER_ROOT%\bin\alias.cmd".
   echo   * Search for 'user-aliases' and replace it with 'user_aliases'.
 )


Fixed build script to not use all 4 cores

Signed-off-by: Ian Bell <6f1c5b737f3c5cff42a9b8f8dcfce305d97fd07b@gmail.com>

--- wrappers/Maple/BuildDLLx64.bat
+++ wrappers/Maple/BuildDLLx64.bat
@@ -3,7 +3,7 @@
 call "C:\Program Files\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" amd64

 REM ******* compile all the sources ***************
-cl /c  /MP4 /I../../CoolProp /EHsc /DCOOLPROP_LIB ../../CoolProp/*.cpp
+cl /c  /MP3 /I../../CoolProp /EHsc /DCOOLPROP_LIB ../../CoolProp/*.cpp

 link /DLL CoolProp.obj *.obj /OUT:CoolProp_x64.dll
 copy CoolProp_x64.dll c:\CoolPropx64.dll


v starts gvim.

v starts gvim.

--- windows/env.bat
+++ windows/env.bat
@@ -20,6 +20,7 @@
 set JAVA_HOME=%SYSTEMDRIVE%\java\jdk

 doskey e=start /b emacsclient $*
+doskey v=start /b gvim $*

 if not "%PATH%" == "%PATH:depot_tools=%" (
   goto skip_path


enable avx2 on windows x86_64

enable avx2 on windows x86_64

--- scripts/speck/build_win.bat
+++ scripts/speck/build_win.bat
@@ -22,6 +22,6 @@
 rmdir /S/Q %BUILDDIR%
 mkdir %BUILDDIR%
 cd %BUILDDIR%
-cmake %PROJDIR% -G"Visual Studio 14 2015 Win64" -DBUILD_SHARED_LIBS=ON -DCMAKE_CONFIGURATION_TYPES=Release
+cmake %PROJDIR% -G"Visual Studio 14 2015 Win64" -DBUILD_SHARED_LIBS=ON -DENABLE_AVX2=ON -DCMAKE_CONFIGURATION_TYPES=Release
 %MSBUILDBIN% ALL_BUILD.vcxproj /property:Configuration=Release
 cd ..


FORGE-1427 Null check for zero arg invocation

--- dist/src/main/resources/bin/forge.bat
+++ dist/src/main/resources/bin/forge.bat
@@ -115,6 +115,8 @@
 set FORGE_CMD_LINE_ARGS=
 set FORGE_DEBUG_ARGS=

+if "%1"=="" goto initArgs
+
 set "args=%*"
 set "args=%args:,=:comma:%"
 set "args=%args:;=:semicolon:%"


Changed build_installer.bat so it will work on ws03-vc9-32.

--- platform/build/build_installer.bat
+++ platform/build/build_installer.bat
@@ -1,5 +1,10 @@
 @echo on
-SET AI_DIR="%ProgramFiles%\Caphyon\Advanced Installer 7.3.1"
+
+REM %ProgramFiles% is not defined when this file is run by make_binary.pl on ws03-vc9-32.
+REM SET AI_DIR="%ProgramFiles%\Caphyon\Advanced Installer 7.3.1"
+
+SET AI_DIR="C:\Program Files\Caphyon\Advanced Installer 7.3.1"
+
 SET AI_EXE="advinst.exe"
 SET INSTALL_PRJ="pion-platform.aip"
 IF EXIST %AI_DIR%\%AI_EXE% GOTO INST


Improved revdep check procedures by using R built in tools directly and unix parallel

--- CRAN_Release.cmd
+++ CRAN_Release.cmd
@@ -216,65 +216,86 @@
 sudo R CMD javareconf
 # ENDIF

-cd ~/build
-# if on EC2 spot
-git clone https://github.com/Rdatatable/data.table.git
-# end if
-
-tools::package_dependencies("data.table", which="most", reverse=FALSE, recursive=TRUE)
-
-# In my .bashrc as we know use R CMD check (and we'll get NOTEs)
-export _R_CHECK_FORCE_SUGGESTS_=false
-
-# do not build, install, require() or library() data.table. revdep_check will read ~/build/data.table and install from there
-# NB: repos <- c(CRAN="http://cran.rstudio.com/") is hard-coded into devtools::check_cran
-# NB: revdep_check moves the tar.gz of directly dependent packages into revdeplib afterwards. The packages those packages depened on are installed in revdeplib without their tar.gz
-
+cd ~/build/revdeplib/
 export R_LIBS=~/build/revdeplib/
 R
-update.packages(ask=FALSE)                     # may as well do this first before revdepcheck
+update.packages(ask=FALSE)
+
+# Follow: https://bioconductor.org/install/#troubleshoot-biocinstaller
 source("http://bioconductor.org/biocLite.R")
-biocLite("BiocUpgrade")                        # and this
-require(devtools)
-options(devtools.revdep.libpath = "~/build/revdeplib/")
-  # essential as the first-time download can be several hours, mainly BSgenome with its 10 * 500MB+ files.
-  # revdep_check(..., ignore="BSgenome") is ignored and BSgenome still downloads, I guess only direct dependencies can be ignored
-options(Ncpus = 7)
-res <- revdep_check("data.table", bioconductor=TRUE)
-revdep_check_save_summary(res)
-revdep_check_save_logs(res)
-
-# wait for it to finish before fixing; any R CMD INSTALL may affect running tests which run under a new R --slave for each one
-
-# CAGEr & GGtools fail due to not finding KernSmooth. It's so there in /usr/lib/R/library/ alongside other recommended packages that it's not funny. Tried installing KernSmooth in "~/build/revdeplib/" as well and ensured R_LIBS set and present in .libPaths() and they still complain can't find KernSmooth. Searched online and found others with similar problems with KernSmooth too but no clear solution.
-# Similarly, pwOmics fails due to not finding RUnit but that too is so installed it's not funny
-# Similarly, VanillaICE fails fue to not finding BSgenome.Hsapiens.UCSC.hg18, which again is so there
-# Running these 4 manually outside of devtools::revdep_check() pass fine ...
-cd ~/build
-export R_LIBS=~/build/revdeplib/
-R CMD check revdeplib/CAGEr_1.10.0.tar.gz
-R CMD check revdeplib/GGtools_5.4.0.tar.gz
-R CMD check revdeplib/pwOmics_1.1.8.tar.gz
-R CMD check revdeplib/VanillaICE_1.30.1.tar.gz
-
-# Now tackle the real fails ...
-cd ~/build
-export R_LIBS=~/build/revdeplib/
-R CMD check revdeplib/bedr_1.0.1.tar.gz
-R CMD INSTALL data.table_1.9.4.tar.gz    # revert to previous version
-R CMD check revdeplib/bedr_1.0.1.tar.gz  # if still fails then it isn't data.table causing fail. Check for missing Ubuntu packages and similar.
-# fix data.table
-R CMD build data.table
-R CMD INSTALL data.table_1.9.5.tar.gz
-R CMD check revdeplib/bedr_1.0.1.tar.gz
-# iterate
-
-repeat revdep_check() until passes cleanly
-
-# Check for warnings
-cd /tmp/RtmpNRWfYa/check_crana4e6458d6c8/
-find . -name "00check.log" -exec grep -iH warning {} \;
-find . -name "00check.log" -exec grep -iH "replacing previous import" {} \;
+biocLite()  # like update.packages() but for bioc
+
+avail = available.packages(repos=c(getOption("repos"), BiocInstaller::biocinstallRepos()[["BioCsoft"]]))
+deps = tools::package_dependencies("data.table", db=avail, which="most", reverse=TRUE, recursive=FALSE)[[1]]
+table(avail[deps,"Repository"])
+old = 0
+new = 0
+for (p in deps) {
+   fn = paste0(p, "_", avail[p,"Version"], ".tar.gz")
+   if (!file.exists(fn)) {
+     system(paste0("rm ", p, "*.tar.gz"))  # Remove previous *.tar.gz
+     if (!length(grep("bioc",avail[p,"Repository"]))) {
+       install.packages(p)  # To install its dependencies really.
+     } else {
+       biocLite(p)          # To install its dependencies really.
+     }
+     download.packages(p, destdir="~/build/revdeplib", contriburl=avail[p,"Repository"])   # So R CMD check can run on these
+     if (!file.exists(fn)) stop("Still does not exist!:", fn)
+     new = new+1
+   } else {
+     old = old+1
+   }
+   if (packageVersion(p) != avail[p,"Version"])
+       stop("Installed version of ",p," doesn't equal the previously downloaded tar.gz")
+}
+cat("New downloaded:",new," Already had latest:", old, " TOTAL:", length(deps), "\n")
+table(avail[deps,"Repository"])
+
+tocheck = deps
+cat(paste0(tocheck,"_", avail[deps,"Version"], ".tar.gz"),file="tocheck.txt",sep="\n")
+
+R CMD INSTALL ~/data.table_1.9.7.tar.gz   # ** ensure latest version installed **
+export _R_CHECK_FORCE_SUGGESTS_=false
+cat tocheck.txt | parallel R CMD check
+
+status = function(which="both") {
+  if (which=="both") {
+     cat("CRAN:\n"); status("cran")
+     cat("BIOC:\n"); status("bioc")
+     return()
+  }
+  if (which=="cran") deps = deps[grep("cran",avail[deps,"Repository"])]
+  if (which=="bioc") deps = deps[grep("bioc",avail[deps,"Repository"])]
+  x = unlist(sapply(deps, function(x) {
+    fn = paste0("./",x,".Rcheck/00check.log")
+    if (file.exists(fn)) {
+       v = suppressWarnings(system(paste0("grep 'Status:' ",fn), intern=TRUE))
+       if (!length(v)) return("RUNNING")
+       return(substring(v,9))
+    }
+    if (file.exists(paste0("./",x,".Rcheck"))) return("RUNNING")
+  }))
+  e = grep("ERROR",x)
+  w = setdiff( grep("WARNING",x), e)
+  n = setdiff( grep("NOTE",x), c(e,w) )
+  ok = setdiff( grep("OK",x), c(e,w,n) )
+  r = grep("RUNNING",x)
+  cat(" ERROR   :",sprintf("%3d",length(e)),":",paste(sort(names(x)[e])),"\n",
+      "WARNING :",sprintf("%3d",length(w)),":",paste(sort(names(x)[w])),"\n",
+      "NOTE    :",sprintf("%3d",length(n)),"\n",  #":",paste(sort(names(x)[n])),"\n",
+      "OK      :",sprintf("%3d",length(ok)),"\n",
+      "TOTAL   :",length(e)+length(w)+length(n)+length(ok),"/",length(deps),"\n",
+      "RUNNING :",sprintf("%3d",length(r)),":",paste(sort(names(x)[r])),"\n")
+}
+
+status()
+
+# Investigate and fix the fails ...
+more <failing_package>.Rcheck/00check.log
+R CMD check <failing_package>.tar.gz
+R CMD INSTALL ~/data.table_1.9.6.tar.gz   # CRAN version to establish if fails are really due to data.table
+R CMD check <failing_package>.tar.gz
+

 ###############################################


Small batch file associated with copying the releases

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

--- CopyReleases.bat
+++ CopyReleases.bat
@@ -0,0 +1,6 @@
+@echo off
+copy .\ServicePerms\x64\Release\ServicePerms.exe .\Releases\ServicePerms64.exe
+copy .\FileSystemPerms\Release\FileSystemPerms.exe .\Releases\FileSystemPerms32.exe
+copy .\ProcessPerms\Release\ProcessPerms.exe .\Releases\ProcessPerms32.exe
+copy .\RegisteryPerms\x64\Release\RegisteryPerms.exe .\Releases\RegisteryPerms64.exe
+copy .\WinStationsAndDesktopPerms\Release\WinStationsAndDesktopPerms.exe .\Releases\WinStationsAndDesktopPerms32.exe