removed BAT file

removed BAT file

--- papaya-builder.bat
+++ papaya-builder.bat
@@ -1,2 +0,0 @@
-@ echo off
-java -Xmx512M -jar lib\papaya-builder.jar %*


File referenced by other batch file.

File referenced by other batch file.

git-svn-id: e944db0f7b5c8f0ae3e1ad43ca99b026751ef0c2@199905 13f79535-47bb-0310-9956-ffa450edef68

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

--- contrib/charts/lcp.bat
+++ contrib/charts/lcp.bat
@@ -0,0 +1,2 @@
+set LOCALCLASSPATH=%LOCALCLASSPATH%;%1
+


Fix windows launch script

Fix windows launch script

--- stampede/main/src/main/dist/run/torodb-stampede.bat
+++ stampede/main/src/main/dist/run/torodb-stampede.bat
@@ -72,12 +72,12 @@

 if "%LIBDIR%"=="" set LIBDIR=%BASEDIR%\lib

-if "%TOROCONFIG%"=="" set TOROCONFIG=%BASEDIR%\conf\@{assembler.name}.yml
+if "%TOROCONFIG%"=="" set TOROCONFIG=%BASEDIR%\conf\\@{assembler.name}.yml

 set TOROCONFIG_OPTS=
 if EXIST "%TOROCONFIG%" set TOROCONFIG_OPTS=-c "%TOROCONFIG%"

-set CLASSPATH="%LIBDIR%"\@{assembler.name}-@{version}.jar
+set CLASSPATH="%LIBDIR%"\\@{assembler.name}-@{version}.jar

 set ENDORSED_DIR=
 if NOT "%ENDORSED_DIR%" == "" set CLASSPATH="%BASEDIR%"\%ENDORSED_DIR%\*;%CLASSPATH%


Remove unnecessary code comments

Remove unnecessary code comments

--- mysqldumper.bat
+++ mysqldumper.bat
@@ -58,11 +58,6 @@
 	)
 	SET today=%timestamp:~0,4%%timestamp:~4,2%%timestamp:~6,2%
 	SET time24=%timestamp:~8,2%%timestamp:~10,2%%timestamp:~12,2%
-	REM echo %timestamp%
-	REM echo %today%
-	REM echo %time24%
-	REM echo %backupDir%\%dbName%_%today%.sql
-	REM GOTO done

 	:: check the backup directory
 	IF NOT EXIST %backupDir% (


Updated mp.cmd to use Python from the Windows standalone installer build.

--- mp.cmd
+++ mp.cmd
@@ -1,6 +1,8 @@
 @echo off
 set PYTHONPATH=%~dp0
-if exist c:\python27\python.exe (
+if exist python27\python.exe (
+  set PYTHONBIN=python27\python.exe
+) else if exist c:\python27\python.exe (
   set PYTHONBIN=c:\python27\python.exe
 ) else (
   set PYTHONBIN=python


run pyflake before python

run pyflake before python

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

--- py.bat
+++ py.bat
@@ -0,0 +1,3 @@
+@echo off
+flake8 %1
+if %errorlevel% equ 0 python %*


Auto disable cygwin in installer if cygwin not found

--- dokan_wix/build.bat
+++ dokan_wix/build.bat
@@ -8,6 +8,8 @@
 	msbuild SetAssemblyVersion.sln /p:Configuration=Release /p:Platform="Any CPU" /t:rebuild
 )
 SetAssemblyVersion\bin\Release\SetAssemblyVersion version.txt /setversion version.xml
+
+IF EXIST C:\cygwin ( powershell -Command "(gc version.xml) -replace 'false', 'true' | sc version.xml" ) ELSE ( powershell -Command "(gc version.xml) -replace 'true', 'false' | sc version.xml" )

 REM build light installer
 powershell -Command "(gc version.xml) -replace 'yes', 'no' | sc version.xml"


test-server now also sets lower priority and affinity

--- tests/scripts/test-server.bat
+++ tests/scripts/test-server.bat
@@ -1 +1,2 @@
-jasmine-node ..\server --autotest --watch ..\..\ --captureExceptions
+start /affinity 0xaa cmd /c "jasmine-node ..\server --autotest --watch ..\..\ --captureExceptions --color --verbose"
+wmic process where name="node.exe" CALL setpriority "idle"


RUN-725: Fixed minor issue with passing RVM config

--- release/run.bat
+++ release/run.bat
@@ -1 +1 @@
-java -cp openfin-desktop-java-adapter-3.0.1.0.jar -DOpenFinOption=--config=\"https://demoappdirectory.openf.in/desktop/config/apps/OpenFin/HelloOpenFin/app.json\" com.openfin.desktop.demo.OpenFinDesktopDemo
+java -cp openfin-desktop-java-adapter-v3.0.1.0.jar -DOpenFinOption=--config=\"https://demoappdirectory.openf.in/desktop/config/apps/OpenFin/HelloOpenFin/app.json\" com.openfin.desktop.demo.OpenFinDesktopDemo


Add x-pack-env.bat

Add x-pack-env.bat

This file was missing from the commit which depends on this file due to
a .gitignore rule. This commit adds this vital file.

Relates elastic/x-pack-elasticsearch#2124

Original commit: elastic/x-pack-elasticsearch@78125b56def18836a0d5ba9ba20c51292bdeade5

error: pathspec 'plugin/bin/x-pack/x-pack-env.bat' did not match any file(s) known to git

--- plugin/bin/x-pack/x-pack-env.bat
+++ plugin/bin/x-pack/x-pack-env.bat
@@ -0,0 +1,5 @@
+rem Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
+rem or more contributor license agreements. Licensed under the Elastic License;
+rem you may not use this file except in compliance with the Elastic License.
+
+set ES_CLASSPATH=!ES_CLASSPATH!;!ES_HOME!/plugins/x-pack/*


differentiate ui vs. cmd line

differentiate ui vs. cmd line

--- add_links.cmd
+++ add_links.cmd
@@ -2,22 +2,24 @@
 setlocal

 set target_root=f:\apps\bin
-call :set_link git			"%ProgramFiles%\Git\mingw64\bin\git.exe" "%ProgramFiles%\Git\bin\git.exe" "%ProgramFiles(x86)%\Git\bin\git.exe"
-call :set_link py			"%ProgramFiles(x86)%\Python 3.5\python.exe" "%ProgramFiles(x86)%\Python35-32\python.exe"
-call :set_link npp			"%ProgramFiles(x86)%\Notepad++\notepad++.exe" "%windir%\system32\notepad.exe" "%windir%\notepad.exe"
-call :set_link windbg		"%SystemDrive%\debuggers\windbg.exe"
-call :set_link ewseditor	"%~d0\Apps\EWSEditor 1.13 - bin\EWSEditor.exe"
-call :set_link ie			"%ProgramFiles%\Internet Explorer\iexplore.exe"
-call :set_link stylecopeditor "%ProgramFiles(x86)%\StyleCop 4.7\StyleCopSettingsEditor.exe"
-call :set_link snip			"%WINDIR%\system32\snippingtool.exe"
-call :set_link fiddler		"%ProgramFiles(x86)%\Fiddler2\Fiddler.exe"
-call :set_link ilspy		"%~d0\Apps\ILSpy\ILSpy.exe"
-call :set_link xts			"%~d0\Apps\xts\xts.exe"
-call :set_link chrome		"%ProgramFiles(x86)%\Google\Chrome\Application\chrome.exe"
+call :set_link false git			"%ProgramFiles%\Git\mingw64\bin\git.exe" "%ProgramFiles%\Git\bin\git.exe" "%ProgramFiles(x86)%\Git\bin\git.exe"
+call :set_link false py			"%ProgramFiles(x86)%\Python 3.5\python.exe" "%ProgramFiles(x86)%\Python35-32\python.exe"
+call :set_link true npp			"%ProgramFiles(x86)%\Notepad++\notepad++.exe" "%windir%\system32\notepad.exe" "%windir%\notepad.exe"
+call :set_link true windbg		"%SystemDrive%\debuggers\windbg.exe"
+call :set_link true ewseditor	"%~d0\Apps\EWSEditor 1.13 - bin\EWSEditor.exe"
+call :set_link true ie			"%ProgramFiles%\Internet Explorer\iexplore.exe"
+call :set_link true stylecopeditor "%ProgramFiles(x86)%\StyleCop 4.7\StyleCopSettingsEditor.exe"
+call :set_link true snip			"%WINDIR%\system32\snippingtool.exe"
+call :set_link true fiddler		"%ProgramFiles(x86)%\Fiddler2\Fiddler.exe"
+call :set_link true ilspy		"%~d0\Apps\ILSpy\ILSpy.exe"
+call :set_link true xts			"%~d0\Apps\xts\xts.exe"
+call :set_link true chrome		"%ProgramFiles(x86)%\Google\Chrome\Application\chrome.exe"

 goto :eof

 :set_link
+	set is_ui=%~1
+	shift
 	set link_name=%target_root%\%~1.cmd
 	shift

@@ -30,7 +32,8 @@
 	if not exist "%link_dest%" goto :loop_dest

 	echo Creating link %link_dest% =^> %link_name%
-	echo @"%link_dest%" %%^* > "%link_name%"
+	if /i "%is_ui%" equ "true" echo @start "" "%link_dest%" %%^* > "%link_name%"
+	if /i "%is_ui%" neq "true" echo @"%link_dest%" %%^* > "%link_name%"

 	goto :eof


Update build-windows-toolchain.bat

Update build-windows-toolchain.bat

Appease the swift-driver build potentially by specifying the location of SQLite.

--- utils/build-windows-toolchain.bat
+++ utils/build-windows-toolchain.bat
@@ -475,6 +475,8 @@
   -D LLBuild_DIR=%BuildRoot%\8\cmake\modules ^
   -D ArgumentParser_DIR=%BuildRoot%\9\cmake\modules ^
   -D Yams_DIR=%BuildRoot%\10\cmake\modules ^
+  -D SQLite3_INCLUDE_DIR=%BuildRoot%\Library\sqlite-3.36.0\usr\include ^
+  -D SQLite3_LIBRARY=%BuildRoot%\Library\sqlite-3.36.0\usr\lib\SQLite3.lib ^

   -G Ninja ^
   -S %SourceRoot%\swift-driver || (exit /b)


minor update

minor update

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

--- com.adobe.epubcheck/build.bat
+++ com.adobe.epubcheck/build.bat
@@ -0,0 +1,6 @@
+set path=..\..\main\ADE\tools\win\jdk1.5.0\bin;..\..\main\ADE\tools\apache-ant-1.6.2\bin;
+set ANT_HOME=..\..\main\ADE\tools\apache-ant-1.6.2
+set JAVA_HOME=..\..\main\ADE\tools\win\jdk1.5.0
+set CLASSPATH=
+call ant -f build.xml
+pause


Re-add -E temporairly.

Re-add -E temporairly.


added restore command to CreateSignedNuGetPackage.bat

--- Code/Light.GuardClauses/CreateSignedNuGetPackage.bat
+++ Code/Light.GuardClauses/CreateSignedNuGetPackage.bat
@@ -1 +1 @@
-msbuild Light.GuardClauses.csproj /t:clean;build;pack  /p:Configuration=Release /p:SignAssembly=true /p:AssemblyOriginatorKeyFile=bin\Light.GuardClauses.snk+msbuild Light.GuardClauses.csproj /t:restore;clean;build;pack /p:Configuration=Release /p:SignAssembly=true /p:AssemblyOriginatorKeyFile=bin\Light.GuardClauses.snk


Deleted Play.bat

Deleted Play.bat

--- Play.bat
+++ Play.bat
@@ -1,2 +0,0 @@
-@C:\Python33\python.exe Play.py
-@pause


build.cmd

build.cmd

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

--- Setup/build.cmd
+++ Setup/build.cmd
@@ -0,0 +1,3 @@
+set SOURCEDIR=%CD%
+"%WIX%bin\candle.exe" -nologo "%SOURCEDIR%\Product.wxs" -out "%SOURCEDIR%\Setup.wixobj"  -ext WixUIExtension -ext WixNetFxExtension
+"%WIX%bin\light.exe" -nologo "%SOURCEDIR%\Setup.wixobj" -out "%SOURCEDIR%\GuideEnricher.msi"  -ext WixUIExtension -ext WixNetFxExtension


Remove -ReadyToRun to workaround dotnet/coreclr#1889

--- scripts/crossgen/crossgen_roslyn.cmd
+++ scripts/crossgen/crossgen_roslyn.cmd
@@ -10,25 +10,25 @@

 pushd %BIN_DIR%

-%CROSSGEN_UTIL% /nologo /readytorun /Platform_Assemblies_Paths %BIN_DIR% System.Collections.Immutable.dll
+%CROSSGEN_UTIL% /nologo /Platform_Assemblies_Paths %BIN_DIR% System.Collections.Immutable.dll
 if not %errorlevel% EQU 0 goto fail

-%CROSSGEN_UTIL% /nologo /readytorun /Platform_Assemblies_Paths %BIN_DIR% System.Reflection.Metadata.dll
+%CROSSGEN_UTIL% /nologo /Platform_Assemblies_Paths %BIN_DIR% System.Reflection.Metadata.dll
 if not %errorlevel% EQU 0 goto fail

-%CROSSGEN_UTIL% /nologo /readytorun /Platform_Assemblies_Paths %BIN_DIR% Microsoft.CodeAnalysis.dll
+%CROSSGEN_UTIL% /nologo /Platform_Assemblies_Paths %BIN_DIR% Microsoft.CodeAnalysis.dll
 if not %errorlevel% EQU 0 goto fail

-%CROSSGEN_UTIL% /nologo /readytorun /Platform_Assemblies_Paths %BIN_DIR% Microsoft.CodeAnalysis.CSharp.dll
+%CROSSGEN_UTIL% /nologo /Platform_Assemblies_Paths %BIN_DIR% Microsoft.CodeAnalysis.CSharp.dll
 if not %errorlevel% EQU 0 goto fail

-%CROSSGEN_UTIL% /nologo /readytorun /Platform_Assemblies_Paths %BIN_DIR% Microsoft.CodeAnalysis.VisualBasic.dll
+%CROSSGEN_UTIL% /nologo /Platform_Assemblies_Paths %BIN_DIR% Microsoft.CodeAnalysis.VisualBasic.dll
 if not %errorlevel% EQU 0 goto fail

-%CROSSGEN_UTIL% /nologo /readytorun /Platform_Assemblies_Paths %BIN_DIR% csc.exe
+%CROSSGEN_UTIL% /nologo /Platform_Assemblies_Paths %BIN_DIR% csc.exe
 if not %errorlevel% EQU 0 goto fail

-%CROSSGEN_UTIL% /nologo /readytorun /Platform_Assemblies_Paths %BIN_DIR% vbc.exe
+%CROSSGEN_UTIL% /nologo /Platform_Assemblies_Paths %BIN_DIR% vbc.exe
 if not %errorlevel% EQU 0 goto fail

 popd


Update for new visual studio

Update for new visual studio

--- conda-recipes/llvmdev/bld.bat
+++ conda-recipes/llvmdev/bld.bat
@@ -5,11 +5,10 @@

 REM Configure step
 if "%ARCH%"=="32" (
-    set CMAKE_GENERATOR=Visual Studio 14 2015
+    set CMAKE_GENERATOR=Visual Studio 15 2017
 ) else (
-    set CMAKE_GENERATOR=Visual Studio 14 2015 Win64
+    set CMAKE_GENERATOR=Visual Studio 15 2017 Win64
 )
-set CMAKE_GENERATOR_TOOLSET=v140_xp

 REM llvm 8 needs the 64bit linker
 set PreferredToolArchitecture=x64
@@ -19,7 +18,7 @@
 set CMAKE_CUSTOM=-DLLVM_TARGETS_TO_BUILD="host;AMDGPU;NVPTX" ^
     -DLLVM_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_UTILS=ON -DLLVM_INCLUDE_DOCS=OFF ^
     -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_ENABLE_ASSERTIONS=ON ^
-    -DLLVM_USE_INTEL_JITEVENTS=ON -DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON ^
+    -DLLVM_USE_INTEL_JITEVENTS=ON ^
     -DLLVM_INCLUDE_BENCHMARKS=OFF ^
     -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly


allways build on AppVeyor

allways build on AppVeyor

--- scripts/build-appveyor.bat
+++ scripts/build-appveyor.bat
@@ -11,9 +11,9 @@

 ::only build on AppVeyor, if explicitly stated
 ECHO APPVEYOR_REPO_COMMIT_MESSAGE^: %APPVEYOR_REPO_COMMIT_MESSAGE%
-SET BUILD_ON_APPVEYOR=0
-for /F "tokens=1 usebackq" %%i in (`powershell .\scripts\parse-commit-message.ps1 '[build appveyor]'`) DO SET BUILD_ON_APPVEYOR=%%i
-IF %BUILD_ON_APPVEYOR% EQU 0 ECHO not building, commit with [build appveyor] && GOTO DONE
+::SET BUILD_ON_APPVEYOR=0
+::for /F "tokens=1 usebackq" %%i in (`powershell .\scripts\parse-commit-message.ps1 '[build appveyor]'`) DO SET BUILD_ON_APPVEYOR=%%i
+::IF %BUILD_ON_APPVEYOR% EQU 0 ECHO not building, commit with [build appveyor] && GOTO DONE

 ECHO configuration^: %configuration%
 ECHO platform^: %platform%


Pack nuget on build

Pack nuget on build

--- build.bat
+++ build.bat
@@ -1 +1,2 @@
-msbuild /m QuartzNetWebConsole.sln /p:Configuration=Release+msbuild /m QuartzNetWebConsole.sln /p:Configuration=Release
+.nuget\nuget.exe pack QuartzNetWebConsole.nuspec


Fixed problem in build.bat where for some weird reason the Portable folder wasn't included in the "Simple Injector Runtime Library vX.X.X.zip" file.

--- build.bat
+++ build.bat
@@ -127,6 +127,17 @@
 mkdir Releases\temp\Documentation
 copy Help\SimpleInjector.chm Releases\temp\Documentation\SimpleInjector.chm

+mkdir Releases\temp\Portable
+copy bin\PCL\SimpleInjector.dll Releases\temp\Portable\SimpleInjector.dll
+copy bin\PCL\SimpleInjector.xml Releases\temp\Portable\SimpleInjector.xml
+copy bin\PCL\SimpleInjector.Diagnostics.dll Releases\temp\Portable\SimpleInjector.Diagnostics.dll
+copy bin\PCL\SimpleInjector.Diagnostics.xml Releases\temp\Portable\SimpleInjector.Diagnostics.xml
+
+mkdir Releases\temp\Portable\CommonServiceLocator
+copy bin\PCL\CommonServiceLocator.SimpleInjectorAdapter.dll Releases\temp\Portable\CommonServiceLocator\CommonServiceLocator.SimpleInjectorAdapter.dll
+copy bin\PCL\CommonServiceLocator.SimpleInjectorAdapter.xml Releases\temp\Portable\CommonServiceLocator\CommonServiceLocator.SimpleInjectorAdapter.xml
+copy bin\PCL\Microsoft.Practices.ServiceLocation.dll Releases\temp\Portable\CommonServiceLocator\Microsoft.Practices.ServiceLocation.dll
+copy bin\PCL\Microsoft.Practices.ServiceLocation.xml Releases\temp\Portable\CommonServiceLocator\Microsoft.Practices.ServiceLocation.xml

 mkdir Releases\temp\NET45
 copy bin\NET\SimpleInjector.dll Releases\temp\NET45\SimpleInjector.dll
@@ -184,17 +195,6 @@
 copy bin\NET\SimpleInjector.Integration.Wcf.dll Releases\temp\NET40\Integration\SimpleInjector.Integration.Wcf.dll
 copy bin\NET\SimpleInjector.Integration.Wcf.xml Releases\temp\NET40\Integration\SimpleInjector.Integration.Wcf.xml

-mkdir Releases\temp\Portable
-copy bin\PCL\SimpleInjector.dll Releases\temp\Portable\SimpleInjector.dll
-copy bin\PCL\SimpleInjector.xml Releases\temp\Portable\SimpleInjector.xml
-copy bin\PCL\SimpleInjector.Diagnostics.dll Releases\temp\Portable\SimpleInjector.Diagnostics.dll
-copy bin\PCL\SimpleInjector.Diagnostics.xml Releases\temp\Portable\SimpleInjector.Diagnostics.xml
-
-mkdir Releases\temp\Portable\CommonServiceLocator
-copy bin\PCL\CommonServiceLocator.SimpleInjectorAdapter.dll Releases\temp\Portable\CommonServiceLocator\CommonServiceLocator.SimpleInjectorAdapter.dll
-copy bin\PCL\CommonServiceLocator.SimpleInjectorAdapter.xml Releases\temp\Portable\CommonServiceLocator\CommonServiceLocator.SimpleInjectorAdapter.xml
-copy bin\PCL\Microsoft.Practices.ServiceLocation.dll Releases\temp\Portable\CommonServiceLocator\Microsoft.Practices.ServiceLocation.dll
-copy bin\PCL\Microsoft.Practices.ServiceLocation.xml Releases\temp\Portable\CommonServiceLocator\Microsoft.Practices.ServiceLocation.xml
 %compress% "%CD%\Releases\temp" "%CD%\Releases\v%named_version%\SimpleInjector Runtime Library v%named_version%.zip"

 rmdir Releases\temp /s /q


Add build.bat

Add build.bat

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

--- build.bat
+++ build.bat
@@ -0,0 +1,2 @@
+cabal build
+copy .\dist\build\wssstp\wssstp.exe C:\Users\kinoko\freeware\ssp_2_2_92f\plugin\WebSocketSSTP\


don't build coreclr by default

don't build coreclr by default

--- build.cmd
+++ build.cmd
@@ -28,7 +28,7 @@

 set BUILD_PROTO=0
 set BUILD_NET40=1
-set BUILD_CORECLR=1
+set BUILD_CORECLR=0
 set BUILD_PORTABLE=0
 set BUILD_VS=0
 set BUILD_FSHARP_DATA_TYPEPROVIDERS=0
@@ -90,6 +90,7 @@
 REM Same as 'all' but smoke testing only
 if /i '%ARG%' == 'ci' (
     set SKIP_EXPENSIVE_TESTS=1
+    set BUILD_CORECLR=1
     set BUILD_PORTABLE=1
     set BUILD_VS=1
     set BUILD_FSHARP_DATA_TYPEPROVIDERS=1
@@ -108,6 +109,7 @@

 if /i '%ARG%' == 'ci_part1' (
     set SKIP_EXPENSIVE_TESTS=1
+    set BUILD_CORECLR=1
     set BUILD_PORTABLE=1
     set BUILD_VS=1
     set BUILD_FSHARP_DATA_TYPEPROVIDERS=1
@@ -137,6 +139,12 @@
     set TEST_FSHARP_SUITE=1
     set TEST_FSHARPQA_SUITE=0
     set TEST_TAGS=Smoke
+)
+
+if /i '%ARG%' == 'coreclr' (
+    REM Smoke tests are a very small quick subset of tests
+
+    set BUILD_CORECLR=1
 )

 if /i '%ARG%' == 'debug' (
@@ -218,11 +226,12 @@
     @if ERRORLEVEL 1 echo Error: Nuget restore failed  && goto :failure
 )

-set DOTNET_HOME  .\packages\dotnet
-
-rem check to see if the dotnet cli tool exists
+
+set DOTNET_HOME=.\packages\dotnet
 set _dotnetexe=.\packages\dotnet\dotnet.exe
-if not exist %_dotnetexe% (
+if '%BUILD_CORECLR%' == '1' (
+  rem check to see if the dotnet cli tool exists
+  if not exist %_dotnetexe% (
     echo Error: Could not find %_dotnetexe%.
     rem do zipfile install nonsense
     if not exist packages ( md packages )
@@ -230,24 +239,25 @@
     powershell.exe -executionpolicy unrestricted -command .\scripts\install-dotnetcli.ps1 https://dotnetcli.blob.core.windows.net/dotnet/beta/Binaries/Latest/dotnet-dev-win-x64.latest.zip packages
     @if ERRORLEVEL 1 echo Error: fetch dotnetcli failed && goto :failure
     popd
-)
-
-pushd .\lkg & ..\%_dotnetexe% restore &popd
-@if ERRORLEVEL 1 echo Error: dotnet restore failed  && goto :failure
-pushd .\lkg & ..\%_dotnetexe% publish project.json &popd
-@if ERRORLEVEL 1 echo Error: dotnet publish failed  && goto :failure
-
-rem rename fsc and coreconsole to allow fsc.exe to to start compiler
-pushd .\lkg\bin\Debug\dnxcore50\win7-x64\publish
-ren fsc.exe fsc.dll
-copy corehost.exe fsc.exe
-popd
-
-rem rename fsi and coreconsole to allow fsi.exe to to start interative
-pushd .\lkg\bin\Debug\dnxcore50\win7-x64\publish
-ren fsi.exe fsi.dll
-copy corehost.exe fsi.exe
-popd
+  )
+
+  pushd .\lkg & ..\%_dotnetexe% restore &popd
+  @if ERRORLEVEL 1 echo Error: dotnet restore failed  && goto :failure
+  pushd .\lkg & ..\%_dotnetexe% publish project.json &popd
+  @if ERRORLEVEL 1 echo Error: dotnet publish failed  && goto :failure
+
+  rem rename fsc and coreconsole to allow fsc.exe to to start compiler
+  pushd .\lkg\bin\Debug\dnxcore50\win7-x64\publish
+  ren fsc.exe fsc.dll
+  copy corehost.exe fsc.exe
+  popd
+
+  rem rename fsi and coreconsole to allow fsi.exe to to start interative
+  pushd .\lkg\bin\Debug\dnxcore50\win7-x64\publish
+  ren fsi.exe fsi.dll
+  copy corehost.exe fsi.exe
+  popd
+)

 :: Build Proto
 if NOT EXIST Proto\net40\bin\fsc-proto.exe (set BUILD_PROTO=1)


Updating build scripts

Updating build scripts

--- build.cmd
+++ build.cmd
@@ -18,8 +18,8 @@
 IF EXIST packages\KoreBuild goto run
 .nuget\NuGet.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre
 .nuget\NuGet.exe install Sake -version 0.2 -o packages -ExcludeVersion
-CALL packages\KoreBuild\build\kvm install -svr50 -x86
-CALL packages\KoreBuild\build\kvm install -svrc50 -x86
+CALL packages\KoreBuild\build\kvm upgrade -svr50 -x86
+CALL packages\KoreBuild\build\kvm install default -svrc50 -x86

 :run
 CALL packages\KoreBuild\build\kvm use default -svr50 -x86


Windows Update pullpatches.bat December edition

askwoody.com says to wait but no reports of problems as yet!

--- wupatch/pullpatches.bat
+++ wupatch/pullpatches.bat
@@ -5,7 +5,7 @@

 setlocal enableextensions enabledelayedexpansion

-set ppversion=6
+set ppversion=7
 set ppurl=https://raw.githubusercontent.com/conoror/misc/master/wupatch/pullpatches.bat

 set msdownloadpath=http://download.windowsupdate.com
@@ -327,3 +327,12 @@
 /c/msdownload/update/software/secu/2016/11/windows8.1-kb3197873-x86_b906109f30b735290a431fdc8397249cfcc3e84b.msu
 /d/msdownload/update/software/secu/2016/11/windows8.1-kb3197873-x64_cd0325f40c0d25960e462946f6b736aa7c0ed674.msu

+
+Security only Updates for December 2016: 3205394 for W7, 3205400 for W8.1
+-------------------------------------------------------------------------
+
+/d/msdownload/update/software/secu/2016/12/windows6.1-kb3205394-x86_e477192f301b1fbafc98deb94af80c6e94231e54.msu
+/c/msdownload/update/software/secu/2016/12/windows6.1-kb3205394-x64_71d0c657d24bc852f074996c32987fb936c07774.msu
+/c/msdownload/update/software/secu/2016/11/windows8.1-kb3205400-x86_4529e446e7e929ee665579bdd5c23aa091ab862e.msu
+/c/msdownload/update/software/secu/2016/11/windows8.1-kb3205400-x64_ad92909c51b52a6890932a8c5bd32059a102ec65.msu
+


Fixes TGS compiles on windows. (#57834)

Fixes TGS compiles on windows. (#57834)

Batch quotes strike again.

--- tools/tgs4_scripts/PreCompile.bat
+++ tools/tgs4_scripts/PreCompile.bat
@@ -11,5 +11,5 @@
 	rem TGS3: Otherwise build in Game/B
 	cd ..\Game\B
 )
-set CBT_BUILD_MODE="TGS"
+set CBT_BUILD_MODE=TGS
 tools\build\build


Agregar archivo por lotes para iniciar el servidor Web PHP para propositos de pruebas y desarrollo


updated VB for Revit 2018

updated VB for Revit 2018

--- install.bat
+++ install.bat
@@ -4,14 +4,14 @@
 if exist vb (goto okvb) else (echo "No vb folder found." && goto exit)
 :okvb
 set "D=C:\Users\%USERNAME%\Documents\Visual Studio 2015\Templates\ProjectTemplates"
-set "F=%TEMP%\Revit2017AddinWizardCs1.zip"
+set "F=%TEMP%\Revit2018AddinWizardCs0.zip"
 echo Creating C# wizard archive %F%...
 cd cs
 zip -r "%F%" *
 cd ..
 echo Copying C# wizard archive to %D%\Visual C#...
 copy "%F%" "%D%\Visual C#"
-set "F=%TEMP%\Revit2017AddinWizardVb1.zip"
+set "F=%TEMP%\Revit2018AddinWizardVb0.zip"
 echo Creating VB wizard archive %F%...
 cd vb
 zip -r "%F%" *


modify install.bat for building 32bit exe file

--- install.bat
+++ install.bat
@@ -7,5 +7,13 @@
 call env.bat
 gofmt -w src
 go install %1
+if %GOARCH% == amd64 goto build_32
+goto end
+:build_32
+set GOARCH=386
+go build -o=%132.exe %1
+copy %132.exe  .\bin\%132.exe
+del %132.exe
+set GOARCH=amd64
 :end
 echo finished


update windows installer

update windows installer

--- install.bat
+++ install.bat
@@ -11,7 +11,6 @@
     echo       Install Dotfiles
     echo ----------------------------------------------------------------------
     echo  r: Repository update.
-    echo  n: Nvim settings.
     echo  p: Pipenv setup.
     echo  q: Quit.
     echo ----------------------------------------------------------------------
@@ -20,7 +19,6 @@
     set /p input=Input:

     if '%input%'=='r' goto Repo
-    if '%input%'=='n' goto Nvim
     if '%input%'=='p' goto Pipenv
     if '%input%'=='q' goto :EOF

@@ -33,12 +31,6 @@
     rem git submodule init
     rem git submodule update
     rem git submodule foreach git pull origin master
-
-    pause
-    goto Menu
-
-:Nvim
-    cls

     xcopy /s /e /y %DOTPATH%\config\nvim %NVIMPATH%


synced install.bat with install.sh

synced install.bat with install.sh

--- install.bat
+++ install.bat
@@ -2,6 +2,6 @@
 cls
 PUSHD
 cd src
-NuGet.exe restore
+NuGet.exe restore -ConfigFile nuget.config
 POPD
-pause+pause


Update build-windows-toolchain.bat

Update build-windows-toolchain.bat

Build swift-system as a shared library as Windows does not properly support static linking yet.

--- utils/build-windows-toolchain.bat
+++ utils/build-windows-toolchain.bat
@@ -333,6 +333,7 @@
 cmake ^
   -B %BuildRoot%\6 ^

+  -D BUILD_SHARED_LIBS=YES ^
   -D CMAKE_BUILD_TYPE=%CMAKE_BUILD_TYPE% ^
   -D CMAKE_C_COMPILER=%BuildRoot%/1/bin/clang-cl.exe ^
   -D CMAKE_C_FLAGS="/GS- /Oy /Gw /Gy" ^


Blogging

Blogging


Added prepare eventing script

Added prepare eventing script

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

--- prepareEventing.bat
+++ prepareEventing.bat
@@ -0,0 +1,255 @@
+@ECHO OFF
+SETLOCAL EnableDelayedExpansion
+SET CPU=""
+SET CONFIGURATION=Release
+SET PLATFORM=x86
+SET solutionPath=ortc\windows\solutions\zsLib.Eventing.sln
+SET msVS_Path=""
+SET x86BuildCompilerOption=amd64_x86
+SET x64BuildCompilerOption=amd64
+SET armBuildCompilerOption=amd64_arm
+SET currentBuildCompilerOption=amd64
+
+SET compilerPath=%cd%\ortc\windows\solutions\Build\Output\!PLATFORM!\!CONFIGURATION!\zsLib.Eventing.Tool.Compiler\zsLib.Eventing.Tool.Compiler.exe
+SET windowsKitPath="C:\Program Files (x86)\Windows Kits\10\bin\%PLATFORM%\"
+
+SET eventsIncludePath=..\Internal\
+SET eventsIntermediatePath=IntermediateTemp
+SET eventsOutput=%cd%\ortc\windows\solutions\eventing\
+
+
+SET startTime=0
+SET endingTime=0
+
+::log levels
+SET logLevel=4
+SET error=0
+SET info=1
+SET warning=2
+SET debug=3
+SET trace=4
+
+
+:main
+SET startTime=%time%
+
+CALL:determineVisualStudioPath
+
+CALL:setCompilerOption %PLATFORM%
+
+::CALL:buildEventing
+
+CALL:prepareEvent
+GOTO:EOF
+
+:determineVisualStudioPath
+
+SET progfiles=%ProgramFiles%
+IF NOT "%ProgramFiles(x86)%" == "" SET progfiles=%ProgramFiles(x86)%
+
+REM Check if Visual Studio 2015 is installed
+SET msVS_Path="%progfiles%\Microsoft Visual Studio 14.0"
+
+IF NOT EXIST %msVS_Path% (
+	REM Check if Visual Studio 2013 is installed
+	SET msVS_Path="%progfiles%\Microsoft Visual Studio 12.0"
+)
+
+IF NOT EXIST %msVS_Path% CALL:error 1 "Visual Studio 2015 or 2013 is not installed"
+
+CALL:print %trace% "Visual Studio path is %msVS_Path%"
+
+GOTO:EOF
+
+:setCompilerOption
+CALL:print %trace% "Determining compiler options ..."
+REG Query "HKLM\Hardware\Description\System\CentralProcessor\0" | FIND /i "x86" > NUL && SET CPU=x86 || SET CPU=x64
+
+CALL:print %trace% "CPU arhitecture is %CPU%"
+
+IF /I %CPU% == x86 (
+	SET x86BuildCompilerOption=x86
+	SET x64BuildCompilerOption=x86_amd64
+	SET armBuildCompilerOption=x86_arm
+)
+
+IF /I %~1==x86 (
+	SET currentBuildCompilerOption=%x86BuildCompilerOption%
+) ELSE (
+	IF /I %~1==ARM (
+		SET currentBuildCompilerOption=%armBuildCompilerOption%
+	) ELSE (
+		SET currentBuildCompilerOption=%x64BuildCompilerOption%
+	)
+)
+
+CALL:print %trace% "Selected compiler option is %currentBuildCompilerOption%"
+
+GOTO:EOF
+
+
+:buildEventing
+
+IF EXIST %msVS_Path% (
+	CALL %msVS_Path%\VC\vcvarsall.bat %currentBuildCompilerOption%
+	IF ERRORLEVEL 1 CALL:error 1 "Could not setup compiler for  %PLATFORM%"
+
+	MSBuild %solutionPath% /property:Configuration=%CONFIGURATION% /property:Platform=%PLATFORM% /t:Clean;Build /nodeReuse:False /m
+	if ERRORLEVEL 1 CALL:error 1 "Building zsLib.Eventing.Tool.Compiler projects for %PLATFORM% has failed"
+) ELSE (
+	CALL:error 1 "Could not compile because proper version of Visual Studio is not found"
+)
+GOTO:EOF
+
+:compileEvents
+SET eventJsonPath=%1
+SET eventPath=%~dp1
+SET providerName=%~n1
+SET intermediatePath=!eventPath!%eventsIntermediatePath%\
+SET headersPath=!eventPath!%eventsIncludePath%!providerName!
+SET outputPath=%eventsOutput%!providerName!
+
+echo eventJsonPath=!eventJsonPath!
+echo eventPath=!eventPath!
+echo providerName=!providerName!
+echo intermediatePath=!intermediatePath!
+echo headersPath=!headersPath!
+echo outputPath=!outputPath!
+echo windowsKitPath=%windowsKitPath%
+pause
+
+CALL:createFolder !headersPath!
+CALL:createFolder !intermediatePath!
+CALL:createFolder !outputPath!
+
+pause
+
+PUSHD !eventPath!
+CALL %compilerPath% -c !eventJsonPath! -o %eventsIncludePath%!providerName!\!providerName! > NUL
+
+pause
+echo Create manifest header file...
+
+%windowsKitPath%mc.exe -um -r !intermediatePath! -h "!headersPath!" "!headersPath!\!providerName!_win_etw.man"
+
+pause
+echo Create resource file...
+%windowsKitPath%rc.exe !intermediatePath!!providerName!_win_etw.rc
+
+echo Create manifest resource dll...
+pause
+
+echo If compiling to managed code resource DLL use: csc.exe /out:!intermediatePath!!providerName!_win_etw.dll /target:library /win32res:!intermediatePath!!providerName!_win_etw.res
+
+%msVS_Path%\VC\bin\link -dll -noentry /MACHINE:%PLATFORM% -out:!intermediatePath!!providerName!_win_etw.dll !intermediatePath!!providerName!_win_etw.res
+
+echo Copy files to output directory...
+pause
+CALL:copyFiles !intermediatePath!!providerName!_win_etw.dll "!outputPath!\"
+CALL:copyFiles "!headersPath!\!providerName!.jman" "!outputPath!\"
+CALL:copyFiles "!headersPath!\!providerName!_win_etw.man" "!outputPath!\"
+CALL:copyFiles "!headersPath!\!providerName!_win_etw.wprp" "!outputPath!\"
+pause
+icacls "!outputPath!\!providerName!_win_etw.dll" /grant Users:RX
+popd
+
+GOTO:EOF
+
+:prepareEvent
+
+for /r . %%g in (*.events.json) do CALL:compileEvents %%g
+
+GOTO:EOF
+
+:copyFiles
+IF EXIST %1 (
+	CALL:createFolder %2
+	CALL:print %debug% "Copying %1 to %2"
+	COPY %1 %2
+	IF ERRORLEVEL 1 CALL:error 1 "Could not copy a %1"
+) ELSE (
+	CALL:error 1 "Could not copy a %1"
+)
+GOTO:EOF
+
+:createFolder
+IF NOT EXIST %1 (
+	CALL:print %trace% "Creating folder %1"
+	MKDIR %1
+	IF ERRORLEVEL 1 CALL:error 1 "Could not make a directory %1"
+)
+GOTO:EOF
+
+REM Print logger message. First argument is log level, and second one is the message
+:print
+
+SET logType=%1
+SET logMessage=%~2
+
+IF %logLevel% GEQ  %logType% (
+	IF %logType%==0 ECHO %logMessage%
+	IF %logType%==1 ECHO %logMessage%
+	IF %logType%==2 ECHO %logMessage%
+	IF %logType%==3 ECHO %logMessage%
+	IF %logType%==4 ECHO %logMessage%
+)
+
+GOTO:EOF
+
+REM Print the error message and terminate further execution if error is critical.Firt argument is critical error flag (1 for critical). Second is error message
+:error
+SET criticalError=%~1
+SET errorMessage=%~2
+
+IF %criticalError%==0 (
+	ECHO.
+	CALL:print %warning% "WARNING: %errorMessage%"
+	ECHO.
+) ELSE (
+	ECHO.
+	CALL:print %error% "CRITICAL ERROR: %errorMessage%"
+	ECHO.
+	ECHO.
+	CALL:print %error% "FAILURE: Building zsLib.Eventing.Tool.Compiler executable has failed!"
+	ECHO.
+	SET endTime=%time%
+	CALL:showTime
+	::terminate batch execution
+	CALL %~dp0\batchTerminator.bat
+)
+GOTO:EOF
+
+:showTime
+
+SET options="tokens=1-4 delims=:.,"
+FOR /f %options% %%a in ("%startTime%") do SET start_h=%%a&SET /a start_m=100%%b %% 100&SET /a start_s=100%%c %% 100&SET /a start_ms=100%%d %% 100
+FOR /f %options% %%a in ("%endTime%") do SET end_h=%%a&SET /a end_m=100%%b %% 100&SET /a end_s=100%%c %% 100&SET /a end_ms=100%%d %% 100
+
+SET /a hours=%end_h%-%start_h%
+SET /a mins=%end_m%-%start_m%
+SET /a secs=%end_s%-%start_s%
+SET /a ms=%end_ms%-%start_ms%
+IF %ms% lss 0 SET /a secs = %secs% - 1 & SET /a ms = 100%ms%
+IF %secs% lss 0 SET /a mins = %mins% - 1 & SET /a secs = 60%secs%
+IF %mins% lss 0 SET /a hours = %hours% - 1 & SET /a mins = 60%mins%
+IF %hours% lss 0 SET /a hours = 24%hours%
+
+SET /a totalsecs = %hours%*3600 + %mins%*60 + %secs%
+
+IF 1%ms% lss 100 SET ms=0%ms%
+IF %secs% lss 10 SET secs=0%secs%
+IF %mins% lss 10 SET mins=0%mins%
+IF %hours% lss 10 SET hours=0%hours%
+
+:: mission accomplished
+ECHO Total execution time: %hours%:%mins%:%secs% (%totalsecs%s total)
+
+GOTO:EOF
+
+:done
+ECHO.
+CALL:print %info% "Success:  zsLib.Eventing.Tool.Compiler executable is built successfully."
+ECHO.
+SET endTime=%time%
+CALL:showTime
+:end


Try indirection substitution.

Try indirection substitution.

--- appveyor/install.cmd
+++ appveyor/install.cmd
@@ -22,7 +22,9 @@
 IF "%PLATFORM%"=="x64" (
     ECHO Configuring environment to build with MSVC on a 64bit architecture
     ECHO Using Windows SDK %WINDOWS_SDK_VERSION%
-    CALL "C:\Program Files\Microsoft SDKs\Windows\%WINDOWS_SDK_VERSION%\Bin\SetEnv.cmd" /x64 /release
+    SET SETENVFILE="C:\Program Files\Microsoft SDKs\Windows\%WINDOWS_SDK_VERSION%\Bin\SetEnv.cmd"
+    ECHO %SETENVFILE%
+    %SETENVFILE% /Release /x64
     SET DISTUTILS_USE_SDK=1
     SET MSSdk=1
     REM Alias the x64 miniconda file


Dropping old project files as difficult to maintain.

--- scripts/checkbuilds.bat
+++ scripts/checkbuilds.bat
@@ -80,20 +80,10 @@
 cd ..\..
 rem
 rem ************************************************************
-rem Target 7: Visual C++ using scintilla\vcbuild\SciLexer.dsp
-call scite\scripts\clearboth
-cd scintilla\vcbuild
-msdev SciLexer.dsp /MAKE "SciLexer - Win32 Release" /REBUILD
-if ERRORLEVEL 2 goto ERROR
-cd ..\..
+rem Removed: Target 7
 rem
 rem ************************************************************
-rem Target 8: Visual C++ using scite\vcbuild\SciTE.dsp
-call scite\scripts\clearboth
-cd scite\vcbuild
-msdev SciTE.dsp /MAKE "SciTE - Win32 Release" /REBUILD
-if ERRORLEVEL 2 goto ERROR
-cd ..\..
+rem Removed: Target 8
 rem
 rem ************************************************************
 rem Target 9: Visual C++ using scite\boundscheck\SciTE.dsp


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 substationSBG.buildproj /p:ForceBuild=true %logflag%
-"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" substationSBG.buildproj /p:ForceBuild=true %logFlag%+ECHO BuildNightly: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\msbuild.exe substationSBG.buildproj /p:ForceBuild=false %logflag%
+"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" substationSBG.buildproj /p:ForceBuild=false %logFlag%


Update bigfix_setup_root_eval.bat

Update bigfix_setup_root_eval.bat

--- CMD/bigfix_setup_root_eval.bat
+++ CMD/bigfix_setup_root_eval.bat
@@ -16,6 +16,7 @@

 REM https://github.com/jgstew/bigfix-content/blob/f36708ebf7af38f84a286f3b79131faccb1d2e9c/fixlet/Install%20SQL%20Server%20Management%20Studio%2016.5.1%20-%20Windows.bes
 REM Download SQL Server Management Studio
-
+powershell -command "& { (New-Object Net.WebClient).DownloadFile('https://download.microsoft.com/download/0/5/B/05B2AF8F-906F-4C57-A58E-5780F64F9D62/SSMS-Setup-ENU.exe', '%BASEFOLDER%\SSMS-Setup-ENU.exe') }" -ExecutionPolicy Bypass
+REM https://download.microsoft.com/download/0/5/B/05B2AF8F-906F-4C57-A58E-5780F64F9D62/SSMS-Setup-ENU.exe
 REM Install SQL Server Management Studio ?
-
+%BASEFOLDER%\SSMS-Setup-ENU.exe /install /quiet /norestart


modify run.bat run AFLoginServer,AFGameServer,AFProxySe

Former-commit-id: 79187a984d9df81b6612a7e3fae295c9ce6c15e4 [formerly 5d6db45685772cd1df127e3482f5276f2f46b8ee] [formerly 50bc27dcbc0b0929cb926d9d672f57b71e257a1d [formerly bcf2515ecc2616efd8ef2d23db8561348a97ac27]]
Former-commit-id: 20c8c1d87b9b2218f9f23cb44198107887a68776 [formerly dd7404e42fdc396d5072313b9d12b22099712b81]
Former-commit-id: 6100b64522458731e3bdb0c18b4acdd3427f1b8a
Former-commit-id: 6fb6c893cb4ace9fc70fd8055141edb323d20346

--- Bin/Server/Debug/run.bat
+++ Bin/Server/Debug/run.bat
@@ -25,26 +25,26 @@
 start "" "PluginLoader_d.exe"

-REM choice /t 5 /d y /n >nul
+choice /t 5 /d y /n >nul

-REM cd  ..
-REM cd  AFLoginServer
-REM echo Starting AFLoginServer...
-REM start "" "PluginLoader_d.exe"
+cd  ..
+cd  AFLoginServer
+echo Starting AFLoginServer...
+start "" "PluginLoader_d.exe"

-REM choice /t 2 /d y /n >nul
+choice /t 2 /d y /n >nul

-REM cd  ..
-REM cd  AFGameServer
-REM echo Starting AFGameServer...
-REM start "" "PluginLoader_d.exe"
+cd  ..
+cd  AFGameServer
+echo Starting AFGameServer...
+start "" "PluginLoader_d.exe"

-REM choice /t 4 /d y /n >nul
+choice /t 4 /d y /n >nul

-REM cd  ..
-REM cd  AFProxyServer
-REM echo Starting AFProxyServer...
-REM start "" "PluginLoader_d.exe"
+cd  ..
+cd  AFProxyServer
+echo Starting AFProxyServer...
+start "" "PluginLoader_d.exe"


Delete archive if it already exists.

Delete archive if it already exists.

--- Build/build_portable.bat
+++ Build/build_portable.bat
@@ -5,6 +5,8 @@
 SET BUILD_DIRECTORY=%CD%

 SET ZIP_ARCHIVE="%BUILD_DIRECTORY%\Tabster %APPLICATION_VERSION%.zip"
+
+IF EXIST %ZIP_ARCHIVE% del /F %ZIP_ARCHIVE%

 pushd..


create nuget folder on build

create nuget folder on build

--- buid.bat
+++ buid.bat
@@ -3,4 +3,5 @@
 c:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe Recognos.Sln /p:Configuration="Release 4.5"
 c:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe Recognos.Sln /p:Configuration="Release 4.0"

+mkdir NuGet
 .nuget\NuGet.exe pack -Verbosity detailed -Symbols -OutputDir "NuGet" Recognos.Core.nuspec


Only using 3 processors to build

Only using 3 processors to build

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

--- wrappers/Modelica/BuildLIB-VS2010.bat
+++ wrappers/Modelica/BuildLIB-VS2010.bat
@@ -4,7 +4,7 @@
 call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"

 REM ******* compile all the sources from CoolProp ***************
-cl /c /Ox /MP4 /fp:fast /I../../CoolProp /MD /EHsc ../../CoolProp/*.cpp
+cl /c /Ox /MP3 /fp:fast /I../../CoolProp /MD /EHsc ../../CoolProp/*.cpp
 cl /c /Ox /fp:fast /I../../CoolProp /MD /EHsc src/*.cpp

 mkdir bin\VS2010


VS2017

--- PackAndPush.XAF.ElasticSearch.bat
+++ PackAndPush.XAF.ElasticSearch.bat
@@ -1 +1 @@
-CMD /c ""C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\VsMSBuildCmd.bat" && msbuild /m XAF.ElasticSearch.msbuild /t:NugetPackAndPush /clp:WarningsOnly /l:FileLogger,Microsoft.Build.Engine;logfile=Build.log"+CMD /c "pushd "%~dp0" && (IF DEFINED VS150COMNTOOLS ("%VS150COMNTOOLS%VsMSBuildCmd.bat") ELSE ("%VS140COMNTOOLS%VsMSBuildCmd.bat")) && popd && msbuild /m XAF.ElasticSearch.msbuild /clp:WarningsOnly /l:FileLogger,Microsoft.Build.Engine;logfile=Build.log"


Update SetupComplete.cmd

Update SetupComplete.cmd

--- unattended.win10/Setup/Scripts/SetupComplete.cmd
+++ unattended.win10/Setup/Scripts/SetupComplete.cmd
@@ -42,6 +42,12 @@
 schtasks.exe /change /TN "\Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /DISABLE
 schtasks.exe /change /TN "\Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /DISABLE
 schtasks.exe /change /TN "\Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /DISABLE
+dism.exe /online /norestart /Enable-Feature /FeatureName:TelnetClient
+dism.exe /online /norestart /Disable-Feature /FeatureName:MediaPlayback
+dism.exe /online /norestart /Disable-Feature /FeatureName:WindowsMediaPlayer
+dism.exe /online /norestart /Disable-Feature /FeatureName:Indexing-Service-Package
+dism.exe /online /norestart /Disable-Feature /FeatureName:Internet-Explorer-Optional-x86
+dism.exe /online /norestart /Disable-Feature /FeatureName:Internet-Explorer-Optional-amd64

 "%WINDIR%\Setup\Files\chocolatey.exe" /S
 "%WINDIR%\Setup\Files\Firefox Setup 52.6.0esr.exe" -ms


'update'

'update'

--- _posts/push.bat
+++ _posts/push.bat
@@ -3,4 +3,5 @@
 @echo commit git
 @echo ========================================================

-git add . && git commit -am 'update' && git push+git add . && git commit -am 'update' && git push
+pause


10.13.0.1203

--- Automated.Setup.cmd
+++ Automated.Setup.cmd
@@ -1,5 +1,5 @@
 @Echo Off
-SET forgeVer=10.13.0.1199
+SET forgeVer=10.13.0.1203
 :DLForge
 IF NOT EXIST "%CD%\forge-1.7.10-%forgeVer%-src.zip" (
 	wget -c --no-check-certificate --no-cookies "http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.7.10-%forgeVer%/forge-1.7.10-%forgeVer%-src.zip" -O forge-1.7.10-%forgeVer%-src.zip


install_package.bat was added

install_package.bat was added

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

--- install_package.bat
+++ install_package.bat
@@ -0,0 +1,3 @@
+@echo off
+python -m pip install qpm --no-cache-dir --upgrade
+python -m qpm install --package_name vCenterShell


Update stage_3_disinfect.bat

Update stage_3_disinfect.bat

These just needed to be changed

--- resources/stage_3_disinfect/stage_3_disinfect.bat
+++ resources/stage_3_disinfect/stage_3_disinfect.bat
@@ -62,8 +62,8 @@
 :: JOB: MBAM (Malwarebytes Anti-Malware)
 title Tron v%TRON_VERSION% [stage_3_disinfect] [Malwarebytes Anti-Malware]
 set EXISTING_MBAM=no
-if exist "%ProgramFiles%\Malwarebytes Anti-Malware\mbam.exe" set EXISTING_MBAM=yes
-if exist "%ProgramFiles(x86)%\Malwarebytes\Anti-Malware\mbam.exe" set EXISTING_MBAM=yes
+if exist "%ProgramFiles(x86)%\Malwarebytes Anti-Malware\mbam.exe" set EXISTING_MBAM=yes
+if exist "%ProgramFiles%\Malwarebytes\Anti-Malware\mbam.exe" set EXISTING_MBAM=yes
 if /i %EXISTING_MBAM%==yes (
 	call functions\log.bat "%CUR_DATE% %TIME%    Existing MBAM installation detected. Skipping installation."
 	goto skip_mbam


Add the report_manager_schema actipon fuinctions and triggers

--- reports_manager/report_manager_database/reports_manager_test_db/install_reports_manager_test_db.bat
+++ reports_manager/report_manager_database/reports_manager_test_db/install_reports_manager_test_db.bat
@@ -95,32 +95,50 @@
 REM  **************************************************************

 REM install the report_manager_schema
-"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\reports_manager_test_db\report_manager_schema.sql  1> install_reports_manager_test_db.log 2>&1
+"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\reports_manager_test_db\report_manager_schema.sql  1>> install_reports_manager_test_db.log 2>>&1

 REM install the report_manager_schema tables
-"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\table_definitions\parameter_list.sql  1> install_reports_manager_test_db.log 2>&1
+"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\table_definitions\parameter_list.sql  1>> install_reports_manager_test_db.log 2>>&1

-"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\table_definitions\parameter_list_history.sql  1> install_reports_manager_test_db.log 2>&1
+"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\table_definitions\parameter_list_history.sql  1>> install_reports_manager_test_db.log 2>>&1

-"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\table_definitions\report_folders.sql  1> install_reports_manager_test_db.log 2>&1
+"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\table_definitions\report_folders.sql  1>> install_reports_manager_test_db.log 2>>&1

-"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\table_definitions\report_folders_history.sql  1> install_reports_manager_test_db.log 2>&1
+"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\table_definitions\report_folders_history.sql  1>> install_reports_manager_test_db.log 2>>&1

-"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\table_definitions\reports.sql  1> install_reports_manager_test_db.log 2>&1
+"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\table_definitions\reports.sql  1>> install_reports_manager_test_db.log 2>>&1

-"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\table_definitions\reports_history.sql  1> install_reports_manager_test_db.log 2>&1
+"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\table_definitions\reports_history.sql  1>> install_reports_manager_test_db.log 2>>&1

-"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\table_definitions\report_parameters.sql  1> install_reports_manager_test_db.log 2>&1
+"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\table_definitions\report_parameters.sql  1>> install_reports_manager_test_db.log 2>>&1

-"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\table_definitions\report_parameters_history.sql  1> install_reports_manager_test_db.log 2>&1
+"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\table_definitions\report_parameters_history.sql  1>> install_reports_manager_test_db.log 2>>&1

-"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\table_definitions\system_user_allowed_reports.sql  1> install_reports_manager_test_db.log 2>&1
+"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\table_definitions\system_user_allowed_reports.sql  1>> install_reports_manager_test_db.log 2>>&1

-"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\table_definitions\system_user_allowed_reports_history.sql  1> install_reports_manager_test_db.log 2>&1
+"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\table_definitions\system_user_allowed_reports_history.sql  1>> install_reports_manager_test_db.log 2>>&1

-"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\table_definitions\insert_system_actions_for_report_manager.sql  1> install_reports_manager_test_db.log 2>&1
+"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\table_definitions\insert_system_actions_for_report_manager.sql  1>> install_reports_manager_test_db.log 2>>&1
+
+REM Install the action functions and triggers
+"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\action_functions\action_enter_edit_folders.sql 1>> install_reports_manager_test_db.log 2>>&1
+
+"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\utility_functions\trig_log_folders_history.sql  1>> install_reports_manager_test_db.log 2>>&1
+
+"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\action_functions\\action_enter_edit_report_parameters.sql 1>> install_reports_manager_test_db.log 2>>&1
+
+"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\action_functions\\action_enter_edit_reports.sql 1>> install_reports_manager_test_db.log 2>>&1
+
+"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\utility_functions\trig_log_reports_history.sql  1>> install_reports_manager_test_db.log 2>>&1
+
+"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\utility_functions\trig_log_report_parameters_history.sql  1>> install_reports_manager_test_db.log 2>>&1
+
+"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\utility_functions\insert_parameters_in_parameter_list.sql  1>> install_reports_manager_test_db.log 2>>&1
+

 REM  *************************************************************
 REM Install the master user
 "C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\system_user\system_user_database\utility_functions\run_install_master_user.sql 1>> install_reports_manager_test_db.log 2>>&1
+
+"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d reports_manager_test_db  -p 5432 -f C:\funda_components\reports_manager\report_manager_database\utility_functions\run_insert_parameters_in_parameter_list.sql  1>> install_reports_manager_test_db.log 2>>&1


add calls to the program_manager tables scripts

--- programs_manager/programs_manager_database/program_manager_test_database/install_program_manager_test_db.bat
+++ programs_manager/programs_manager_database/program_manager_test_database/install_program_manager_test_db.bat
@@ -58,9 +58,17 @@
 REM Install the programs_manager_schema objects

 REM Install the tables
+"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d program_manager_test_db  -p 5432 -f C:\funda_components\programs_manager\programs_manager_database\table_definitions\organizations.sql  1>> install_program_manager_test_db.log 2>>&1
+
+"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d program_manager_test_db  -p 5432 -f C:\funda_components\programs_manager\programs_manager_database\table_definitions\organizations_history.sql  1>> install_program_manager_test_db.log 2>>&1
+
 "C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d program_manager_test_db  -p 5432 -f C:\funda_components\programs_manager\programs_manager_database\table_definitions\organization_level.sql  1>> install_program_manager_test_db.log 2>>&1

 "C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d program_manager_test_db  -p 5432 -f C:\funda_components\programs_manager\programs_manager_database\table_definitions\organization_level_history.sql  1>> install_program_manager_test_db.log 2>>&1

+"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d program_manager_test_db  -p 5432 -f C:\funda_components\programs_manager\programs_manager_database\table_definitions\programs.sql  1>> install_program_manager_test_db.log 2>>&1
+
+"C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d program_manager_test_db  -p 5432 -f C:\funda_components\programs_manager\programs_manager_database\table_definitions\programs_history.sql  1>> install_program_manager_test_db.log 2>>&1
+
 REM Install tnhe master user
 "C:\Program Files\PostgreSQL\9.6\bin\psql.exe" -h localhost -U postgres -d program_manager_test_db  -p 5432 -f C:\funda_components\system_user\system_user_database\utility_functions\run_install_master_user.sql 1>> install_program_manager_test_db.log 2>>&1


Create bld.bat

Create bld.bat

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

--- recipes/libuvc/bld.bat
+++ recipes/libuvc/bld.bat
@@ -0,0 +1,24 @@
+:: MSVC is preferred.
+set CC=cl.exe
+set CXX=cl.exe
+
+mkdir build
+cd build
+
+cmake ^
+    -G "Ninja" ^
+    -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^
+    -DCMAKE_BUILD_TYPE=Release ^
+    -DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=True ^
+    -DCMAKE_BUILD_TARGET=Shared ^
+    %SRC_DIR%
+
+if errorlevel 1 exit 1
+
+:: Build.
+cmake --build . --config Release
+if errorlevel 1 exit 1
+
+:: Install.
+cmake --build . --config Release --target install
+if errorlevel 1 exit 1


Added db build script

Added db build script

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

--- DexMigrator/run.bat
+++ DexMigrator/run.bat
@@ -0,0 +1 @@
+migrate -db SqlServer2014 -assembly DexMigrator.exe -connection "Data Source=.\SQLEXPRESS;Initial Catalog=dexcomplete;Integrated Security=True;Connect Timeout=15;"


dvc.bat for windows

dvc.bat for windows

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

--- bin/dvc.bat
+++ bin/dvc.bat
@@ -0,0 +1,3 @@
+@echo OFF
+set PYTHONPATH=%DVC_HOME%
+python %DVC_HOME%/dvc.py %*


added script for winzo$

added script for winzo$

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

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


END OF CLEANUP

END OF CLEANUP

Ignore the fact that there are now eighty million commits

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


Delete gradlew.bat

Delete gradlew.bat

To enable code can be send by gmail..


fix startup script

fix startup script

--- scripts/celery.bat
+++ scripts/celery.bat
@@ -1,5 +1,5 @@
 SET WORKDIR=c:\irma

 SET LOGFILE=%WORKDIR%\celery.log
-c:\Python27\Scripts\celery -A probe.probetasks worker -l info -n avname --without-heartbeat --without-mingle --without-gossip --workdir=%WORKDIR% > %LOGFILE% 2>&1
+c:\Python27\Scripts\celery -A probe.tasks worker -l info -n avname --without-heartbeat --without-mingle --without-gossip --workdir=%WORKDIR% > %LOGFILE% 2>&1
 PAUSE


Create schedule.cmd

Create schedule.cmd

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

--- schedule.cmd
+++ schedule.cmd
@@ -0,0 +1,2 @@
+REM Execute this file to run OpenClinica Event Schedular python script before the Data Importer Script is executed
+"C:\path_to_python_file\OC Event Scheduler Version 1.0.py"


move nuget restore to after applying arc patch

to handle a diff that changes packages.config

--- JenkinsConsoleUtility/JenkinsScripts/testInit.bat
+++ JenkinsConsoleUtility/JenkinsScripts/testInit.bat
@@ -7,9 +7,6 @@

 call :forceCD "%SHARED_WORKSPACE%"
 call :syncRepo pf-main
-pushd pf-main\Server
-nuget restore Server.sln
-popd
 call :forceCD "%WORKSPACE%"
 call :syncRepo SDKGenerator
 pushd SDKGenerator\JenkinsConsoleUtility
@@ -22,6 +19,10 @@

 call :cleanArcPatches
 call :applyArcPatch
+
+pushd pf-main\Server
+nuget restore Server.sln
+popd

 endlocal
 exit %errorLevel%


Add g.bat

Add g.bat

...which calls generate.bat and redirects output

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

--- script/g.bat
+++ script/g.bat
@@ -0,0 +1,3 @@
+@echo off
+call generate.bat > generate.log
+@echo on


Fixed some message text

Fixed some message text

The EasyBCD run text was wrong. It said install instead of run. Fixed "BootLoader" to "Boot Loader" in the same section.

--- install.bat
+++ install.bat
@@ -272,7 +272,7 @@

 :Boot
 cls
-echo This will install EasyBCD from which you can install the Bootloader.
+echo This will run EasyBCD from which you can install the Boot Loader.
 pause
 Y:\Programs\EasyBCD\EasyBCD.exe
 cls


Checking for compatible boost

Checking for compatible boost

--- install.bat
+++ install.bat
@@ -1,6 +1,8 @@
 git submodule update --init --recursive

-dir C:\Libraries
+dir %BOOST_ROOT%
+dir %BOOST_ROOT%\lib
+dir %BOOST_ROOT%\stage\lib

 cd %PROTOBUF_ROOT%\cmake
 cmake -Dprotobuf_BUILD_TESTS=OFF -G "Visual Studio 14"


removed deadly space

removed deadly space

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

--- scripts/windows/setproactive.bat
+++ scripts/windows/setproactive.bat
@@ -18,7 +18,7 @@
 	IF ERRORLEVEL 1 (
 		SUBST %%i: /D 2>NUL
 		SUBST %%i: "%PROACTIVE%"
-		SET PROACTIVE=%%i:
+		SET PROACTIVE=%%i:
 		goto :EOF
 	)
 )


random commit

random commit

--- commit.cmd
+++ commit.cmd
@@ -2,4 +2,4 @@
 git add --all
 git commit -m "random commit"
 git push -u origin master
-clear+pause


update usage

update usage

--- batch/maven.bat
+++ batch/maven.bat
@@ -34,8 +34,8 @@
 		for /f "tokens=1,2,3,4,5 delims=:" %%m in ("!val!") do (
 			set groupId=%%m
 			set artifactId=%%n
-			set version=%%o
-			set packaging=%%p
+			set packaging=%%o
+			set version=%%p
 		)
 	) else if "x!opt!" equ "x-f" (
 		set file=!val!


Use JAVA_HOME on windows if defined

Use JAVA_HOME on windows if defined

--- scripts/windows/apktool.bat
+++ scripts/windows/apktool.bat
@@ -2,6 +2,12 @@
 setlocal
 set BASENAME=apktool_
 chcp 65001 2>nul >nul
+
+set java_exe=java.exe
+
+if defined JAVA_HOME (
+set java_exe="%JAVA_HOME%\bin\java.exe"
+)

 rem Find the highest version .jar available in the same directory as the script
 setlocal EnableDelayedExpansion
@@ -30,7 +36,7 @@
 )

 :load
-java -jar -Duser.language=en -Dfile.encoding=UTF8 "%~dp0%BASENAME%%max%.jar" %fastCommand% %*
+%java_exe% -jar -Duser.language=en -Dfile.encoding=UTF8 "%~dp0%BASENAME%%max%.jar" %fastCommand% %*

 rem Pause when ran non interactively
 for /f "tokens=2" %%# in ("%cmdcmdline%") do if /i "%%#" equ "/c" pause


Fix mislabled gotos

Fix mislabled gotos

--- src/bolt-build.subr.bat
+++ src/bolt-build.subr.bat
@@ -138,7 +138,7 @@

   :parse_modules
     set generate_modules=true
-  goto parse_modules
+  goto parse_flags

   :parse_points
     :point_loop
@@ -155,12 +155,12 @@
       set /a count_entry_point=%count_entry_point% + 1
     goto point_loop
     :end_point_loop
-  goto parse_modules
+  goto parse_flags

   :parse_group
     echo --entry-group parsing not implemented.
     exit /b 1
-  goto parse_modules
+  goto parse_flags

 :done_parse_flags


SCCS cproto_all.bat 10/06/22 08:50:27: Replaced script headers for Open Source release

--- run/cproto_all.bat
+++ run/cproto_all.bat
@@ -1,4 +1,15 @@
 @echo off
+rem ----------------------------------------------------------------------------
+rem  Phorward Software Development Kit
+rem Copyright (C) 2009, 2010 by Phorward Software Technologies, Jan Max Meyer
+rem http://www.phorward-software.com ++ contact<at>phorward<dash>software<dot>com
+rem All rights reserved. See $PHOME/LICENSE for more information.
+rem
+rem Script:		cproto_all.bat
+rem Author:		Jan Max Meyer
+rem Usage:		A wrapper for mkproto (formerly cproto-wapper)
+rem ----------------------------------------------------------------------------
+
 set files=%1
 set files=%files:~1,-1%


fix vundle cloning in xp-installer

fix vundle cloning in xp-installer

--- spf13-vim-windows-xp-install.cmd
+++ spf13-vim-windows-xp-install.cmd
@@ -28,5 +28,5 @@
 call copy "%BASE_DIR%\.vimrc" "%HOME%\_vimrc"
 call copy "%BASE_DIR%\.vimrc.bundles" "%HOME%\.vimrc.bundles"

-call git clone http://github.com/gmarik/vundle.git "%HOME%/.vim/bundle/vundle"
+@if not exist "%HOME%/.vim/bundle/vundle" call git clone http://github.com/gmarik/vundle.git "%HOME%/.vim/bundle/vundle"
 call vim -u "$BASE_DIR/.vimrc.bundles" - +BundleInstall! +BundleClean +qall


Make.cmd: make 'all' the default target (was 'clean': BUG)

R=rsc
CC=golang-dev
http://codereview.appspot.com/661041

--- src/Make.cmd
+++ src/Make.cmd
@@ -2,6 +2,7 @@
 # Use of this source code is governed by a BSD-style
 # license that can be found in the LICENSE file.

+all: $(TARG)

 # ugly hack to deal with whitespaces in $GOROOT
 nullstring :=
@@ -11,8 +12,6 @@
 include $(QUOTED_GOROOT)/src/Make.common

 PREREQ+=$(patsubst %,%.make,$(DEPS))
-
-all: $(TARG)

 $(TARG): _go_.$O $(OFILES)
 	$(QUOTED_GOBIN)/$(LD) -o $@ _go_.$O $(OFILES)


regenerate buildfiles

regenerate buildfiles

--- src/csharp/build_packages.bat
+++ src/csharp/build_packages.bat
@@ -2,7 +2,7 @@

 @rem Current package versions
 set VERSION=0.14.2-pre1
-set PROTOBUF_VERSION=3.0.0-beta2
+set PROTOBUF_VERSION=3.0.0-beta3

 @rem Packages that depend on prerelease packages (like Google.Protobuf) need to have prerelease suffix as well.
 set VERSION_WITH_BETA=%VERSION%-beta


CA-217308 : Store .net version information in xtbugtool

--- src/diagnostics/xtbugtool.bat
+++ src/diagnostics/xtbugtool.bat
@@ -187,6 +187,7 @@
 reg export "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\WindowsUpdate" "%bugpath%\registry\userwupolicy.reg" /y > NUL 2>&1
 REM See https://technet.microsoft.com/en-us/library/dd939844 for details
 reg export "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate" "%bugpath%\registry\wu.reg" /y > NUL 2>&1
+reg export "HKLM\Software\Microsoft\NET Framework Setup\NDP" "%bugpath%\registry\netframework.reg" /y > NUL 2>&1

 REM Check for 64 Bit Keys
 reg query HKLM\Software\Wow6432node\%REGCO% > NUL 2>&1


doom.bat : Remove file-extension omission for PWADs/files

To much complexity given the number of different locations checked. It's simply easier to require the extension. This will also help with support for folders-as-wads.
Detection routines have also been improved & optimized.

--- PortaDOOM/files/doom.bat
+++ PortaDOOM/files/doom.bat
@@ -6,9 +6,10 @@
 REM # - automatic portable config files so that you get the same configuration (per-engine) everywhere
 REM # - searches GOG & Steam installs if WAD is missing
 REM # - FreeDOOM substituted if commercial DOOM.WAD / DOOM2.WAD missing
-REM # - will search the engine's folder for WADs if not found elsewhere
-REM # - WAD file extensions can be omitted (".wad" / ".pk3" / ".pk7")
-REM # - DeHackEd extension loading (".deh", ".bex" files)
+REM # - will search the engine's folder for WADs if not found elsewhere (e.g. "lights.pk3")
+REM # - IWAD file extensions can be omitted (".WAD" / ".PK3");
+REM #   PWAD and other WAD extensions are required due to the number of locations checked
+REM # - DeHackEd extension loading (".DEH", ".BEX" files)
 REM # - files are checked to exist before being passed on to the engine
 REM # - arbitrary parameters can be passed on to the engine
 REM # - launches the engine in the native resolution of the current machine (portable)
@@ -180,9 +181,9 @@
 	ECHO:
 	ECHO     %_HEADING_%Steam ^& GOG:%_%
 	ECHO:
-	ECHO     If "DOOM.WAD", "DOOM2.WAD", "TNT.WAD" or "PLUTONIA.WAD" are specified but
-	ECHO     cannot be found in the "%IWADS%" folder, doom.bat will try to locate them
-	ECHO     automatically for you in any relevant Steam or GOG installations:
+	ECHO     If the given IWAD cannot be found in the "%IWADS%" folder, doom.bat will
+	ECHO     try to locate them automatically for you in any relevant Steam or GOG
+	ECHO     installations:
 	ECHO:
 	ECHO             Steam : The Ultimate DOOM     - DOOM.WAD
 	ECHO             Steam : DOOM II               - DOOM2.WAD
@@ -190,7 +191,9 @@
 	ECHO             Steam : DOOM Classic Complete - ^(all of the above^)
 	ECHO       GOG / Steam : DOOM 3 BFG Edition    - DOOM.WAD ^& DOOM2.WAD
 	ECHO               GOG : The Ultimate DOOM     - DOOM.WAD
-	ECHO               GOG : DOOM II + Final DOOM  - DOOM2.WAD, TNT.WAD ^& PLUTONIA.WAD
+	ECHO               GOG : DOOM II + Final DOOM  - DOOM2.WAD, TNT.WAD ^& PLUTONIA.WAD
+	ECHO             Steam : Heretic               - HERETIC.WAD
+	ECHO             Steam : Hexen                 - HEXEN.WAD
         ECHO:
 	ECHO     %_HEADING_%Shareware:%_%
 	ECHO:
@@ -209,9 +212,7 @@
         ECHO            %_MISC_%doom.bat%_% %_ENGINE_%gzdoom%_% %_IWAD_%DOOM2%_% %_PWAD_%wolfendoom.pk3%_%
         ECHO:
         ECHO     If you just want to play an original game ^(e.g. DOOM, Hexen^) then the PWAD
-        ECHO     is not required. The ".PK3" / ".PK7" / ".WAD" extension can be omitted but
-        ECHO     if two files exist with the same name but different extensions then the
-        ECHO     first file will be chosen using the order of extensions just mentioned.
+        ECHO     is not required.
 	ECHO:
 	ECHO     %_HEADING_%Steam ^& GOG:%_%
 	ECHO:
@@ -680,53 +681,6 @@

 REM # move to the next parameter
 SHIFT
-GOTO :pwad
-
-
-:reg
-REM --------------------------------------------------------------------------------------------------------------------
-REM # a function to read a registry key and account for 32 / 64-bit differences
-REM # %1 = registry key | %2 = value name | returns %REG%, containing the value
-
-REM # SUPER IMPORTANT NOTE:
-REM # 1. if you are on a 64-bit machine, things get real screwy with the registry --
-REM #    a 64-bit process launching this batch script will access the registry as 64-bit,
-REM #    meaning that 32-bit keys will not be where you expect them to be!
-REM # 2. a 32-bit process launching this batch script will access ONLY the 32-bit registry;
-REM #    a secret route (a "sysnative" junction) will allow us to launch the 64-bit version of REG
-REM #    from a 32-bit process, granting a 64-bit view of the registry
-
-REM # check the native registry, for a native key:
-REM # -- i.e. 32-bit system, accessing 32-bit software keys or
-REM #         64-bit system, accessing 64-bit software keys
-FOR /F "tokens=2*" %%A IN (
-	'REG QUERY "%~1" /V "%~2" 2^>^&1 ^| FIND "REG_"'
-) DO (
-	SET "REG=%%B"
-	GOTO:EOF
-)
-REM # check 32-bits keys on a 64-bit system & process:
-REM # (note: this batch script could be running as a 32-bit or 64-bit process, so we need to forcefully invoke
-REM          a 32-bit REG process. on 64-bit Windows, "SYSTEM32" is actually the 64-bit software and is rewritten to
-REM          to "WINDOWS\SYSWOW64" where the 32-bit "SYSTEM32" is -- what a confusing mess)
-FOR /F "tokens=2*" %%A IN (
-	'%WINDIR%\SYSWOW64\REG QUERY "%~1" /V "%~2" 2^>^&1 ^| FIND "REG_"'
-) DO (
-	SET "REG=%%B"
-	GOTO:EOF
-)
-REM # check 64-bits keys on a 32-bit system or a 32-bit process on a 64-bit system:
-REM # thanks goes to https://ovidiupl.wordpress.com/2008/07/11/useful-wow64-file-system-trick/
-REM # for the solution to this mess!
-FOR /F "tokens=2*" %%A IN (
-	'%WINDIR%\SYSNATIVE\REG QUERY "%~1" /V "%~2" 2^>^&1 ^| FIND "REG_"'
-) DO (
-	SET "REG=%%B"
-	GOTO:EOF
-)
-REM # key not found
-SET "REG="
-GOTO:EOF

 :pwad
@@ -742,38 +696,64 @@
 IF "%NEXT:~0,1%" == "+" GOTO :iwad
 IF "%NEXT:~0,1%" == "/" GOTO :iwad

-REM --------------------------------------------------------------------------------------------------------------------
-
 REM # read the PWAD parameter
 SET "PWAD=%~1"
 SET "SAVE_WAD=%~n1"
 SHIFT

-REM # has the PWAD file extension been omitted?
-IF NOT "%~x1" == "" GOTO :pwad_check
-
-REM # check if a WAD version exists
-IF EXIST "%PWADS%\%~1.wad" SET "PWAD=%~1.wad"
-REM # check if a PK7 version exists
-IF EXIST "%PWADS%\%~1.pk7" SET "PWAD=%~1.pk7"
-REM # check if a PK3 version exists
-REM # (PK7s are slower and more resource-intensive,
-REM #  so if a user converts these to PK3, we want to prefer those)
-IF EXIST "%PWADS%\%~1.pk3" SET "PWAD=%~1.pk3"
-
-REM # if none of those are found, default to a ".WAD" extension for the Steam / GOG search
-If "%PWAD%" == "%~1" SET "PWAD=%~1.wad"
-
-:pwad_check
-REM --------------------------------------------------------------------------------------------------------------------
-REM # if the PWAD exists go validate the IWAD, as the action taken when the IWAD is missing is affected by the presence
-REM # of a PWAD. if the PWAD is missing, the next section searches for known Steam / GOG PWADs
-
+REM # if the PWAD exists, go validate the IWAD, as the action taken when the IWAD is missing is affected
+REM # by the presence of a PWAD. if the PWAD is missing, the next section searches for known Steam / GOG PWADs
+
+REM # check the default pwad path
 SET "PWAD_PATH=%PWADS%\%PWAD%"
 IF EXIST "%PWAD_PATH%" GOTO :iwad

+REM # check the "current directory" that called this script
 SET "PWAD_PATH=%OLD_DIR%\%PWAD%"
 IF EXIST "%PWAD_PATH%" GOTO :iwad
+
+REM # TODO: check HEXDD.WAD
+
+REM # are we looking for "No Rest for the Living?"
+REM # (part of DOOM 3 BFG Edition)
+IF "%PWAD%" == "NERVE.WAD" GOTO :pwad_nerve
+IF "%PWAD%" == "NRFTL+.WAD" GOTO :pwad_nerve
+REM # are we looking for "Master Levels for DOOM II"?
+IF /I "%PWAD:~0,7%" == "MASTER\" GOTO :pwad_master
+
+GOTO :pwad_missing
+
+
+:pwad_master
+REM --------------------------------------------------------------------------------------------------------------------
+REM # extract the WAD name from that
+SET "WAD=%PWAD:~8%"
+
+REM # is Steam : Master Levels for DOOM II installed?
+CALL :reg "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 9160" "InstallLocation"
+IF NOT "%REG%" == "" (
+	REM # check if the WAD can be found there
+	IF EXIST "%REG%\master\wads\%WAD%" SET "PWAD_PATH=%REG%\master\wads\%WAD%" & GOTO :iwad
+)
+REM # is GOG : DOOM II + Final DOOM (including Master Levels) installed?
+CALL :reg "HKLM\SOFTWARE\GOG.com\Games\1435848814" "Path"
+IF NOT "%REG%" == "" (
+	REM # check if the WAD can be found there
+	IF EXIST "%REG%\master\wads\%WAD%" SET "PWAD_PATH=%REG%\master\wads\%WAD%" & GOTO :iwad
+)
+
+REM # if the WAD was not found, we cannot continue
+ECHO:
+ECHO   ERROR: "%WAD%" missing:
+ECHO:
+ECHO   You must purchase either "DOOM Classic Complete" from Steam or
+ECHO   "DOOM II + Final DOOM" from GOG to get "Master Levels for DOOM II";
+ECHO   doom.bat automatically finds it, if installed. If you have the Master Levels
+ECHO   WADs elsewhere, copy them to the "%IWADS%\MASTER" folder and try again.
+ECHO:
+POPD
+PAUSE
+EXIT /B 1

 :pwad_nerve
 REM --------------------------------------------------------------------------------------------------------------------
@@ -793,58 +773,16 @@
 	IF EXIST "%REG%\base\wads\NERVE.WAD" SET "PWAD_PATH=%REG%\base\wads\NERVE.WAD" & GOTO :iwad
 )
 REM # if the WAD was not found, we cannot continue, the user does not have NERVE.WAD
-IF "%PWAD_PATH%" == "" (
-	ECHO:
-	ECHO   ERROR: "NERVE.WAD" missing:
-	ECHO:
-	ECHO   You must purchase "DOOM 3: BFG Edition" from Steam to get NERVE.WAD.
-	ECHO   doom.bat automatically finds it, if installed. If you have NERVE.WAD
-	ECHO   elsewhere, copy it to the "%IWADS%" folder and try again.
-	ECHO:
-	POPD
-	PAUSE
-	EXIT /B 1
-)
-REM # PWAD found, skip ahead
-GOTO :iwad
-
-:pwad_master
-REM --------------------------------------------------------------------------------------------------------------------
-REM # are we looking for "Master Levels for DOOM II"?
-IF /I NOT "%PWAD:~0,7%" == "MASTER\" GOTO :pwad_missing
-
-REM # extract the WAD name from that
-SET "WAD=%PWAD:~8%"
-
-REM # is Steam : Master Levels for DOOM II installed?
-CALL :reg "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 9160" "InstallLocation"
-IF NOT "%REG%" == "" (
-	REM # check if the WAD can be found there
-	IF EXIST "%REG%\master\wads\%WAD%" SET "PWAD_PATH=%REG%\master\wads\%WAD%"
-)
-REM # is GOG : DOOM II + Final DOOM (including Master Levels) installed?
-CALL :reg "HKLM\SOFTWARE\GOG.com\Games\1435848814" "Path"
-IF NOT "%REG%" == "" (
-	REM # check if the WAD can be found there
-	IF EXIST "%REG%\master\wads\%WAD%" SET "PWAD_PATH=%REG%\master\wads\%WAD%"
-)
-
-REM # if the WAD was not found, we cannot continue, the user does not have Master Levels
-IF "%PWAD_PATH%" == "" (
-	ECHO:
-	ECHO   ERROR: "%WAD%" missing:
-	ECHO:
-	ECHO   You must purchase either "DOOM Classic Complete" from Steam or
-	ECHO   "DOOM II + Final DOOM" from GOG to get "Master Levels for DOOM II";
-	ECHO   doom.bat automatically finds it, if installed. If you have the Master Levels
-	ECHO   WADs elsewhere, copy them to the "%IWADS%\MASTER" folder and try again.
-	ECHO:
-	POPD
-	PAUSE
-	EXIT /B 1
-)
-REM # PWAD found, skip ahead
-GOTO :iwad
+ECHO:
+ECHO   ERROR: "NERVE.WAD" missing:
+ECHO:
+ECHO   You must purchase "DOOM 3: BFG Edition" from Steam to get NERVE.WAD.
+ECHO   doom.bat automatically finds it, if installed. If you have NERVE.WAD
+ECHO   elsewhere, copy it to the "%IWADS%" folder and try again.
+ECHO:
+POPD
+PAUSE
+EXIT /B 1

 :pwad_missing
 REM --------------------------------------------------------------------------------------------------------------------
@@ -1009,7 +947,7 @@

 :iwad_check
 REM # did we find the IWAD in GOG / Steam?
-REM # TODO: if IWAD was found in GOG / Steam, offer to copy it into PortaDOOM
+REM # TODO: if IWAD was found in GOG / Steam, offer to copy it into PortaDOOM?
 IF EXIST "%IWAD_PATH%" GOTO :iwad_found

@@ -1188,8 +1126,8 @@
 REM # since the current directory will be changed to the WAD's save directory,
 REM # we can specify this parameter as just the 'current directory' (".").
 REM # NOTE: `-savedir` is for zdoom-based ports and `-save` for prboom+.
-REM #       chocolate-doom & DOOM 64 EX do not support a save directory parameter
-REM #       and will put savegames in the 'current directory'!
+REM #       chocolate-doom & DOOM 64 EX do not support a save directory
+REM #       parameter and will put savegames in the 'current directory'!
 IF "%ENGINE_KIN%" ==  "Z" (
         SET PARAMS=%PARAMS% -savedir "."
         ECHO      -savedir : %SAVES_WAD%
@@ -1297,41 +1235,50 @@
 :files_loop
         REM # no more parameters remaining?
         IF "%~1" == "" GOTO :files_continue
-
-        REM # by default this is where we'll assume the file is
-        SET "FILE=%PWADS%\%~1"

-        REM # check file extension:
+	REM # check the previous directory used; we will prefer WADs in the same
+	REM # directory as the PWAD, over WADs from the base PWAD directory
+	IF NOT "%PREV_DIR%" == "" (
+		IF EXIST "%PREV_DIR%\%~1" SET "FILE=%PREV_DIR%\%~1" & GOTO :file_found
+	)
+	REM # check the default PWAD directory
+	SET "FILE=%PWADS%\%~1"
+	IF EXIST "%FILE%" GOTO :file_found
+	REM # also check the directory that called this script
+	SET "FILE=%OLD_DIR%\%~1"
+	IF EXIST "%FILE%" GOTO :file_found
+        REM # check the engine directory
+	SET "FILE=%ENGINE_DIR%\%~1"
+        IF EXIST "%FILE%" GOTO :file_found
+
+	:file_missing
+        REM # file cannot be found!
+	ECHO:
+	ECHO  ERROR: The specified file does not exist:
+	ECHO:
+	ECHO     "%~1"
+	ECHO:
+	ECHO  The following locations were checked:
+	ECHO:
+	IF NOT "%PREV_DIR%" == "" (
+		ECHO 	 "%PREV_DIR%\%~1"
+	)
+	ECHO 	 "%PWADS%\%~1"
+	ECHO 	 "%OLD_DIR%\%~1"
+	ECHO 	 "%ENGINE_DIR%\%~1"
+	ECHO:
+	ECHO  Command:
+	ECHO:
+	ECHO     doom.bat %*
+	ECHO:
+	POPD
+	PAUSE
+	EXIT /B 1
+
+	:file_found
+	REM # is the file a DeHackEd script?
 	IF /I "%~x1" == ".deh" GOTO :deh
 	IF /I "%~x1" == ".bex" GOTO :bex
-	IF    "%~x1" == ""     GOTO :noext
-
-	REM ------------------------------------------------------------------------------------------------------------
-
-	REM # check the previous directory used
-	IF NOT "%PREV_DIR%" == "" (
-		REM # this will fool the next few lines
-		IF EXIST "%PREV_DIR%\%~1" SET "FILE=%PREV_DIR%\%~1"
-	)
-        REM # if the file doesn't exist, check the engine directory
-        IF NOT EXIST "%FILE%" SET "FILE=%ENGINE_DIR%\%~1"
-	REM # also check the directory that called this script
-	IF NOT EXIST "%FILE%" SET "FILE=%OLD_DIR%\%~1"
-        REM # finally, is it really there?
-        IF NOT EXIST "%FILE%" (
-                ECHO:
-                ECHO  ERROR: the file "%~1" doesn't exist in either the "%PWADS%" folder,
-                ECHO         or the "%ENGINE_DIR%" folder.
-		ECHO:
-                ECHO  Command:
-                ECHO:
-                ECHO     doom.bat %*
-                ECHO:
-		ECHO %CD%
-		POPD
-                PAUSE
-                EXIT /B 1
-        )

         SET FILES=%FILES% "%FIX_PATH%\%FILE%"
 	CALL :prev_dir "%FILE%"
@@ -1343,17 +1290,6 @@
 	:deh
 	REM ------------------------------------------------------------------------------------------------------------
 	REM # load a DeHackEd extension:
-
-	REM # does it exist in the previously used directory?
-	IF NOT "%PREV_DIR%" == "" (
-		IF EXIST "%PREV_DIR%\%~1" SET "FILE=%PREV_DIR%\%~1"
-	)
-	REM # if the file doesn't exist, check the engine directory
-	IF NOT EXIST "%FILE%" SET "FILE=%ENGINE_DIR%\%~1"
-	REM # finally, is it really there?
-	IF NOT EXIST "%FILE%" GOTO :deh_error
-
-	REM # accept the file
 	SET DEH=%DEH% "%FIX_PATH%\%FILE%"
 	CALL :prev_dir "%FILE%"
 	SET ANY_DEH=1
@@ -1364,83 +1300,10 @@
 	:bex
 	REM ------------------------------------------------------------------------------------------------------------
 	REM # load a Boom-enhanced DeHackEd extension:
-
-	REM # does it exist in the previously used directory?
-	IF NOT "%PREV_DIR%" == "" (
-		IF EXIST "%PREV_DIR%\%~1" SET "FILE=%PREV_DIR%\%~1"
-	)
-	REM # if the file doesn't exist, check the engine directory
-	IF NOT EXIST "%FILE%" SET "FILE=%ENGINE_DIR%\%~1"
-	REM # finally, is it really there?
-	IF NOT EXIST "%FILE%" GOTO :deh_error
-
-	REM # accept the file
 	SET BEX=%BEX% "%FIX_PATH%\%FILE%"
 	CALL :prev_dir "%FILE%"
 	SET ANY_BEX=1
 	ECHO          -bex : %FILE%
-	SHIFT
-	GOTO :files_loop
-
-	:noext
-	REM ------------------------------------------------------------------------------------------------------------
-	REM # if file extension missing, check for PK3, PK7, WAD
-
-	REM # check if a WAD version exists
-	IF EXIST "%PWADS%\%~1.wad" SET "FILE=%PWADS%\%~1.wad"
-	REM # check if a PK7 version exists
-	IF EXIST "%PWADS%\%~1.pk7" SET "FILE=%PWADS%\%~1.pk7"
-	REM # check if a PK3 version exists
-	REM # (PK7s are slower and more resource-intensive,
-	REM #  so if a user converts these to PK3, we want to prefer those)
-	IF EXIST "%PWADS%\%~1.pk3" SET "FILE=%PWADS%\%~1.pk3"
-
-	REM # should we check the previous folder used?
-	REM # NOTE : this implies that a WAD in the previous folder overrides one in pwads;
-	REM # 	     is this preferred over favouring root first?
-	IF NOT "%PREV_DIR%" == "" (
-		REM # check if a WAD version exists
-		IF EXIST "%PREV_DIR%\%~1.wad" SET "FILE=%PREV_DIR%\%~1.wad"
-		REM # check if a PK7 version exists
-		IF EXIST "%PREV_DIR%\%~1.pk7" SET "FILE=%PREV_DIR%\%~1.pk7"
-		REM # check if a PK3 version exists
-		REM # (PK7s are slower and more resource-intensive,
-		REM #  so if a user converts these to PK3, we want to prefer those)
-		IF EXIST "%PREV_DIR%\%~1.pk3" SET "FILE=%PREV_DIR%\%~1.pk3"
-	)
-
-	REM # did none of those exist?
-	IF NOT "%FILE%" == "%PWADS%\%~1" GOTO :noext_found
-
-	REM # since no extension was initially provided,
-	REM # now recheck extensions in the engine directory
-	IF EXIST "%ENGINE_DIR%\%~1.wad" SET "FILE=%ENGINE_DIR%\%~1.wad"
-	REM # check if a PK7 version exists
-	IF EXIST "%ENGINE_DIR%\%~1.pk7" SET "FILE=%ENGINE_DIR%\%~1.pk7"
-	REM # check if a PK3 version exists
-	REM # (PK7s are slower and more resource-intensive,
-	REM #  so if a user converts these to PK3, we want to prefer those)
-	IF EXIST "%ENGINE_DIR%\%~1.pk3" SET "FILE=%ENGINE_DIR%\%~1.pk3"
-
-	REM # did none of those exist either?
-	IF "%FILE%" == "%PWADS%\%~1" (
-		ECHO:
-		ECHO  ERROR: the file "%~1" doesn't exist in either the "%PWADS%" folder,
-		ECHO         or the "%ENGINE_DIR%" folder.
-		ECHO  Command:
-		ECHO:
-		ECHO     doom.bat %*
-		ECHO:
-		PAUSE
-		EXIT /B 1
-	)
-
-	:noext_found
-	REM # we found it!
-	SET FILES=%FILES% "%FIX_PATH%\%FILE%"
-	CALL :prev_dir "%FILE%"
-	SET ANY_WAD=1
-	ECHO         -file : %FILE%
 	SHIFT
 	GOTO :files_loop

@@ -1452,30 +1315,6 @@
 	SET "PREV_DIR=!PREV_DIR:~0,-1!"	& REM # strip trailing slash
 	ENDLOCAL & SET "PREV_DIR=%PREV_DIR%"
 	GOTO:EOF
-
-:deh_error
-	REM # DeHackEd (.deh / .bex) file missing:
-	ECHO:
-	ECHO  ERROR: The specified DeHackEd file does not exist:
-	ECHO:
-	ECHO     "%~1"
-	ECHO:
-	ECHO  The following locations were checked:
-	ECHO:
-	IF NOT "%PREV_DIR%" == "" (
-		ECHO 	 "%PREV_DIR%\%~1"
-	)
-	ECHO 	 "%PWADS%\%~1"
-	ECHO 	 "%ENGINE_DIR%\%~1"
-	ECHO:
-	ECHO  Command:
-	ECHO:
-	ECHO     doom.bat %*
-	ECHO:
-	POPD
-	PAUSE
-	EXIT /B 1
-

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

@@ -1551,4 +1390,51 @@
 )

 REM # restore the current directory
-POPD+POPD
+EXIT /B
+
+
+:reg
+REM ====================================================================================================================
+REM # a function to read a registry key and account for 32 / 64-bit differences
+REM # %1 = registry key | %2 = value name | returns %REG%, containing the value
+
+REM # SUPER IMPORTANT NOTE:
+REM # 1. if you are on a 64-bit machine, things get real screwy with the registry --
+REM #    a 64-bit process launching this batch script will access the registry as 64-bit,
+REM #    meaning that 32-bit keys will not be where you expect them to be!
+REM # 2. a 32-bit process launching this batch script will access ONLY the 32-bit registry;
+REM #    a secret route (a "sysnative" junction) will allow us to launch the 64-bit version of REG
+REM #    from a 32-bit process, granting a 64-bit view of the registry
+
+REM # check the native registry, for a native key:
+REM # -- i.e. 32-bit system, accessing 32-bit software keys or
+REM #         64-bit system, accessing 64-bit software keys
+FOR /F "tokens=2*" %%A IN (
+	'REG QUERY "%~1" /V "%~2" 2^>^&1 ^| FIND "REG_"'
+) DO (
+	SET "REG=%%B"
+	GOTO:EOF
+)
+REM # check 32-bits keys on a 64-bit system & process:
+REM # (note: this batch script could be running as a 32-bit or 64-bit process, so we need to forcefully invoke
+REM          a 32-bit REG process. on 64-bit Windows, "SYSTEM32" is actually the 64-bit software and is rewritten to
+REM          to "WINDOWS\SYSWOW64" where the 32-bit "SYSTEM32" is -- what a confusing mess)
+FOR /F "tokens=2*" %%A IN (
+	'%WINDIR%\SYSWOW64\REG QUERY "%~1" /V "%~2" 2^>^&1 ^| FIND "REG_"'
+) DO (
+	SET "REG=%%B"
+	GOTO:EOF
+)
+REM # check 64-bits keys on a 32-bit system or a 32-bit process on a 64-bit system:
+REM # thanks goes to https://ovidiupl.wordpress.com/2008/07/11/useful-wow64-file-system-trick/
+REM # for the solution to this mess!
+FOR /F "tokens=2*" %%A IN (
+	'%WINDIR%\SYSNATIVE\REG QUERY "%~1" /V "%~2" 2^>^&1 ^| FIND "REG_"'
+) DO (
+	SET "REG=%%B"
+	GOTO:EOF
+)
+REM # key not found
+SET "REG="
+GOTO:EOF


Moved fallback setting HADOOP_HOME to common.cmd.

Fixed syntax and path.

--- bin/common.cmd
+++ bin/common.cmd
@@ -50,8 +50,8 @@
 REM Hadoop for Windows - This is a fix for spark/hadoop requiring winutils.exe -  see https://issues.apache.org/jira/browse/ZEPPELIN-2438
 REM
 if not exist "%HADOOP_HOME%" (
-    if exists %ZEPPELIN_HOME%\..\interpreter\spark\winutils\bin\winutils.exe (
-        set HADOOP_HOME=%ZEPPELIN_HOME%\..\interpreter\spark\winutils
+    if exist "%ZEPPELIN_HOME%\interpreter\spark\winutils\bin\winutils.exe" (
+        set HADOOP_HOME=%ZEPPELIN_HOME%\interpreter\spark\winutils
     )
 )


Fix zipfile dir in deploy script

Fix zipfile dir in deploy script

--- deploy.bat
+++ deploy.bat
@@ -1 +1 @@
-copy /y %buildFolder%\Timmers_KeepFit.zip %OUTFOLDER%+copy /y %buildFolder%\temp\KeepFit\Timmers_KeepFit.zip %OUTFOLDER%


Fix deploy.cmd to do npm install before msbuild

--- deploy.cmd
+++ deploy.cmd
@@ -65,6 +65,15 @@
 :: Deployment
 :: ----------

+echo Installing npm packages
+
+IF EXIST "%DEPLOYMENT_SOURCE%\src\Cloud\ContosoMoments.API\App" (
+  cd "%DEPLOYMENT_SOURCE%\src\Cloud\ContosoMoments.API\App"
+  IF EXIST "package.json" (
+    call npm install
+  )
+)
+
 echo Handling .NET Web Application deployment.

 :: 1. Restore NuGet packages
@@ -87,17 +96,6 @@
   call :ExecuteCmd "%KUDU_SYNC_CMD%" -v 50 -f "%DEPLOYMENT_TEMP%" -t "%DEPLOYMENT_TARGET%" -n "%NEXT_MANIFEST_PATH%" -p "%PREVIOUS_MANIFEST_PATH%" -i ".git;.hg;.deployment;deploy.cmd"
   IF !ERRORLEVEL! NEQ 0 goto error
 )
-
-
-echo npm install
-
-IF EXIST "%DEPLOYMENT_SOURCE%\src\Cloud\ContosoMoments.API\App" (
-  cd "%DEPLOYMENT_SOURCE%\src\Cloud\ContosoMoments.API\App"
-  IF EXIST "package.json" (
-    call npm install
-  )
-)
-

 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
 goto end


Forcing Nuget restore on Kudu

Forcing Nuget restore on Kudu

--- deploy.cmd
+++ deploy.cmd
@@ -68,10 +68,8 @@
 echo Handling .NET Web Application deployment.

 :: 1. Restore NuGet packages
-IF /I "" NEQ "" (
-  call :ExecuteCmd nuget restore "%DEPLOYMENT_SOURCE%\src\Orchard.sln"
-  IF !ERRORLEVEL! NEQ 0 goto error
-)
+call :ExecuteCmd nuget restore "%DEPLOYMENT_SOURCE%\src\Orchard.sln"
+IF !ERRORLEVEL! NEQ 0 goto error

 :: 2. Build to the temporary path
 call :ExecuteCmd "%MSBUILD_PATH%" "%DEPLOYMENT_SOURCE%\Orchard.proj" /t:Precompiled /v:m


Build Master:2017-03-03T21:14:23.199Z

Build Master:2017-03-03T21:14:23.199Z


escape

escape

--- deploy.cmd
+++ deploy.cmd
@@ -106,12 +106,12 @@
 )

 node --version
-%NODE_EXE% --version
+"%NODE_EXE%" --version

 :: 4. Run gulp
 IF EXIST "%DEPLOYMENT_TARGET%\gulpfile.js" (
    pushd "%DEPLOYMENT_TARGET%"
-  call :ExecuteCmd %NODE_EXE%  ".\node_modules\gulp\bin\gulp.js" build
+  call :ExecuteCmd "%NODE_EXE%"  .\node_modules\gulp\bin\gulp.js build
   IF !ERRORLEVEL! NEQ 0 goto error
   popd
 )


updated deploy.cmd to prevent device sample code to be copied to function folder

--- deploy.cmd
+++ deploy.cmd
@@ -56,7 +56,7 @@

 :: KuduSync
 IF /I "%IN_PLACE_DEPLOYMENT%" NEQ "1" (
-  call :ExecuteCmd "%KUDU_SYNC_CMD%" -v 50 -f "%DEPLOYMENT_SOURCE%" -t "%DEPLOYMENT_TARGET%" -n "%NEXT_MANIFEST_PATH%" -p "%PREVIOUS_MANIFEST_PATH%" -i ".git;.hg;.deployment;deploy.cmd;devicesample"
+  call :ExecuteCmd "%KUDU_SYNC_CMD%" -v 50 -f "%DEPLOYMENT_SOURCE%" -t "%DEPLOYMENT_TARGET%" -n "%NEXT_MANIFEST_PATH%" -p "%PREVIOUS_MANIFEST_PATH%" -i ".git;.hg;.deployment;deploy.cmd;devicesample;.gitignore;LICENSE.txt;readme.md;azuredeploy.json"
   IF !ERRORLEVEL! NEQ 0 goto error
 )


Fix a bug where brackets in PATH would break the batch script.

--- bin/nodist.cmd
+++ bin/nodist.cmd
@@ -5,7 +5,7 @@
   %0 + %2
   if ERRORLEVEL 0 (
     :: get path to version and add it to PATH
-    FOR /F "tokens=1 delims=" %%A in ('"%0" path %2') do @set Path=%%A;%Path%
+    FOR /F "tokens=1 delims=" %%A in ('"%0" path %2') do @set "Path=%%A;%Path%"
   )
   goto end
 )


Told you so

Told you so

- A script that should provide a sanity check

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

--- RunRightOffTheBat.bat
+++ RunRightOffTheBat.bat
@@ -0,0 +1,9 @@
+cls
+echo off
+echo -------------------------------
+echo Script that builds this project
+echo Please make sure you've run the
+echo RunMeFirst.bat, well, first :-)
+echo -------------------------------
+"%windir%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe" /v:n "build/build.proj" /target:NonInteractiveBuild /logger:FileLogger,Microsoft.Build.Engine;LogFile=build/build.log
+pause


Automatised dist process

Automatised dist process

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

--- dist.bat
+++ dist.bat
@@ -0,0 +1,12 @@
+echo node package manager
+call npm install
+echo bower
+call bower install
+echo compiling sass
+call grunt sass
+echo compiling all
+call grunt dist
+echo Lucca-ui ready to use
+echo /dist/lucca-ui.min.js
+echo /dist/lucca-ui.global.min.css
+pause


added "nmake install" to the build qt static script

git-svn-id: 83c4c97093aeea62ac982fbfd516bf9db27f5c99@575 c36c8488-0289-0348-9b64-b301f74bd9a7

--- Scripts/MakeStaticQT.bat
+++ Scripts/MakeStaticQT.bat
@@ -1,2 +1,3 @@
 echo y | configure -static -qt-libtiff -qt-libpng -qt-libjpeg
-nmake sub-src+nmake sub-src
+nmake install


commit on 05/06/2018 at 17:24:25

commit on 05/06/2018 at 17:24:25

--- ansys-APDL/transverseCrack.cmd
+++ ansys-APDL/transverseCrack.cmd
@@ -92,16 +92,22 @@
 CM,CRACK,LINE

 LSEL, S, LINE, , 7
-CM,SYMMBCCROSS,LINE
+CM,YSYMMBCCROSS,LINE

 LSEL, S, LINE, , 6
-CM,SYMMBCUD,LINE
+CM,YSYMMBCUD,LINE

 LSEL, S, LINE, , 3
 CM,LOADBCCROSS,LINE

 LSEL, S, LINE, , 4
 CM,LOADBCUD,LINE
+
+LSEL, S, LINE, , 1
+CM,XSYMMBCCRACK,LINE
+
+LSEL, S, LINE, , 2
+CM,XSYMMBCBULK,LINE

 ALLSEL

@@ -190,14 +196,27 @@
 CINT,TYPE,VCCT
 CINT,CTNCP,CRACKTIP
 CINT,SYMM,ON
-!OUTRES,CINT,10   ! output CINT results every 10 substeps
+OUTRES,CINT,LAST

 ! J-integral
 CINT,NEW,2
 CINT,CTNC,CRACKTIP
 CINT,SYMM,ON
 CINT,NCON,nContours
-!OUTRES,CINT,10  ! output J-integral every 10 substeps
+OUTRES,CINT,LAST
+
+! For output setting: OUTRES, Item, Freq, Cname, -- , NSVAR, DSUBres
+
+OUTRES, NSOL
+OUTRES, NLOAD
+OUTRES, STRS
+OUTRES, EPEL
+OUTRES, LOCI
+
+OUTRES, RSOL, YSYMMBCCROSS
+OUTRES, RSOL, YSYMMBCUD
+OUTRES, RSOL, XSYMMBCCRACK
+OUTRES, RSOL, XSYMMBCBULK

 SOLVE                ! Solve the problem


commit on 07/06/2018 at 16:43:24

commit on 07/06/2018 at 16:43:24

--- ansys-APDL/transverseCrack.cmd
+++ ansys-APDL/transverseCrack.cmd
@@ -252,6 +252,7 @@
 ALLSEL

 CMSEL,S,CRACKTIP
+NSEL,S,NODE

 *DIM, jintegral, ARRAY, nContours, 2
 *DIM, vcct, ARRAY, 2


Itools script for Windows (#180)

Itools script for Windows (#180)

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

--- scripts/itools.bat
+++ scripts/itools.bat
@@ -0,0 +1,61 @@
+@echo off
+REM Copyright (c) 2018, RTE (http://www.rte-france.com)
+REM This Source Code Form is subject to the terms of the Mozilla Public
+REM License, v. 2.0. If a copy of the MPL was not distributed with this
+REM file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+if "%JAVA_HOME%" == "" (
+  echo JAVA_HOME is not defined >&2
+  exit -1
+)
+
+setlocal EnableDelayedExpansion
+
+set installBinDir=%~dp0
+set installDir=%installBinDir%..
+
+for /f "delims=" %%x in (%installDir%\etc\itools.conf) do (
+  set var=%%x
+  if not "!var:~0,1!" == "#" ( set "!var!" )
+)
+
+set args=
+set parallel=false
+:continue
+if "%1"=="" ( goto done ) else (
+  if "%1" == "--config-name" (
+    set itools_config_name=%2
+    shift
+  ) else (
+    if "%1" == "--parallel" (
+      set parallel=true
+      shift
+      echo WARNING : '--parallel' option not currently supported on Windows
+    ) else (
+        set args=%args% %1 %2
+        shift
+      )
+  )
+  shift
+  goto continue
+)
+:done
+
+set options=
+if not "%itools_cache_dir%" == "" ( set options=-Ditools.cache.dir="%itools_cache_dir%" )
+if not "%itools_config_dir%" == "" ( set options=%options% -Ditools.config.dir="%itools_config_dir%" )
+if not "%itools_config_name%" == "" ( set options=%options% -Ditools.config.name=%itools_config_name%)
+
+set options=%options% -Dlogback.configurationFile="
+if exist %itools_config_dir%\logback-itools.xml (
+  set options=%options%%itools_config_dir%
+) else (
+  set options=%options%%installDir%\etc
+)
+set options=%options%\logback-itools.xml"
+
+if "%java_xmx%"=="" ( set java_xmx=8G )
+
+"%JAVA_HOME%"\bin\java.exe  -Xmx%java_xmx% -cp %installDir%\share\java\* %options% com.powsybl.computation.local.Main %args%
+
+endlocal


simplify build (#98)

simplify build (#98)

--- winmake.bat
+++ winmake.bat
@@ -1,4 +1,3 @@
-0</* :
 @echo off
 if "%1" equ "clean" (
 echo y|1>nul rd build /s
@@ -9,21 +8,17 @@
 set BUILDDISK=build\passport

 set ACME=acme
-set EXOMIZER=exomizer raw -q -P23
+set EXOMIZER=exomizer
 set CADIUS=cadius
 2>nul md build
 cd src\mods
 %ACME% universalrwts.a
 cd ..\..\build
-%EXOMIZER% universalrwts.bin -o universalrwts.tmp
-cscript /nologo //e:jscript %~f0 "b8" "00"
-1>nul copy /b tmp+universalrwts.tmp universalrwts.pak
+%EXOMIZER% mem -lnone -q -P23 -f universalrwts.bin@0xb800 -o universalrwts.pak
 cd ..\src\mods
 %ACME% -r ..\..\build\t00only.lst t00only.a
 cd ..\..\build
-%EXOMIZER% t00only.bin -o t00only.tmp
-cscript /nologo //e:jscript %~f0 "20" "00"
-1>nul copy /b tmp+t00only.tmp t00only.pak
+%EXOMIZER% mem -lnone -q -P23 -f t00only.bin@0x2000 -o t00only.pak
 cd ..\src
 2>..\build\out.txt %ACME% -DFORWARD_DECRUNCHING=1 passport.a
 for /f "tokens=2,3 delims=)" %%q in ('find "RELBASE =" ..\build\out.txt') do set _make=%%q
@@ -52,7 +47,7 @@
 for /f "tokens=4,* delims=:(" %%q in ('find "ReadFile=" ..\build\out.txt') do echo %%q >> ..\build\vars.a
 for /f "tokens=4,* delims=:(" %%q in ('find "CloseFile=" ..\build\out.txt') do echo %%q >> ..\build\vars.a
 cd ..\build
-%EXOMIZER% -b passport.tmp -o passport.pak
+%EXOMIZER% raw -q -P23 -T4 -b passport.tmp -o passport.pak
 cd ..\src
 %ACME% -DFORWARD_DECRUNCHING=0 wrapper.a
 cd ..
@@ -61,15 +56,9 @@
 %CADIUS% ADDFILE "%BUILDDISK%.po" "/PASSPORT/" "build\PASSPORT.SYSTEM"
 cscript /nologo bin/po2do.js build\ build\
 2>nul del "%BUILDDISK%.po"
-goto :EOF
-*/
-new ActiveXObject("scripting.filesystemobject").createtextfile("tmp").write(String.fromCharCode(parseInt(WScript.arguments(0),16),String.fromCharCode(parseInt(WScript.arguments(1),16))))
-/*
-bat/jscript hybrid make script for Windows environments
-a qkumba monstrosity from 2017-10-16
+
 rem third-party tools required to build (must be in path)
 rem https://sourceforge.net/projects/acme-crossass/
 rem https://bitbucket.org/magli143/exomizer/wiki/Home
 rem https://www.brutaldeluxe.fr/products/crossdevtools/cadius/
 rem https://github.com/mach-kernel/cadius
-*/


CI: try to fix thread.bat script inclusion (again).

--- ci/tools/threads.bat
+++ ci/tools/threads.bat
@@ -1,6 +1,6 @@
 @echo off

-IF "%THREADS%"=="" goto End
+IF "%THREADS%" NEQ "" goto End

 set "THREADS=%NUMBER_OF_PROCESSORS%"


Add helper sript to set the debug env

Add helper sript to set the debug env

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

--- IceBuilder.debug.bat
+++ IceBuilder.debug.bat
@@ -0,0 +1,10 @@
+
+set ICEBUILDERINSTALLDIR=%LOCALAPPDATA%\Microsoft\VisualStudio\14.0Exp\Extensions\ZeroC\Ice Builder\4.3.2
+
+set IceBuilderCppProps=%ICEBUILDERINSTALLDIR%\Resources\IceBuilder.Cpp.props
+set IceBuilderCppTargets=%ICEBUILDERINSTALLDIR%\Resources\IceBuilder.Cpp.targets
+
+set IceBuilderCsharpProps=%ICEBUILDERINSTALLDIR%\Resources\IceBuilder.Csharp.props
+set IceBuilderCsharpTargets=%ICEBUILDERINSTALLDIR%\Resources\IceBuilder.Csharp.targets
+
+"%VSINSTALLDIR%\Common7\IDE\devenv.exe" /RootSuffix Exp


Removed codecov from build arguments.

Removed codecov from build arguments.

--- build/build.cmd
+++ build/build.cmd
@@ -2,4 +2,4 @@

 dotnet restore

-dotnet build LineBot.sln -c Release /p:codecov=true+dotnet build LineBot.sln -c Release


:fire:

:fire:

--- script/postinstall.cmd
+++ script/postinstall.cmd
@@ -4,7 +4,6 @@

 echo ^>^> Downloading bundled Node
 node .\script\download-node.js
-echo ^>^> Downloaded Node version

 echo The version of Node we downloaded:
 call .\bin\node.exe -v