Use environment variables and add atom support

--- init.bat
+++ init.bat
@@ -30,14 +30,15 @@

 rem Edit functionality

-IF NOT EXIST "C:\Program Files (x86)\Microsoft VS Code" GOTO NOVSCODE
-    doskey edit="C:\Program Files (x86)\Microsoft VS Code\bin\code.cmd" $*
-    GOTO NOSUBLIME
-:NOVSCODE
-
-IF NOT EXIST "C:\Program Files\Sublime Text 3" GOTO NOSUBLIME
-    doskey edit="C:\Program Files\Sublime Text 3\sublime_text" $*
-:NOSUBLIME
+if exist ""%PROGRAMFILES%\Sublime Text 3"" (
+    doskey edit="%PROGRAMFILES%\Sublime Text 3\sublime_text" $*
+)
+if exist ""%LOCALAPPDATA%\atom\app-1.4.0"" (
+    doskey edit=atom $*
+)
+if exist ""%PROGRAMFILES(X86)%\Microsoft VS Code"" (
+    doskey edit="%PROGRAMFILES(X86)%\Microsoft VS Code\bin\code.cmd" $*
+)

 rem Open functionality


中文分词器分词效果对比程序

中文分词器分词效果对比程序

--- contrast.bat
+++ contrast.bat
@@ -3,6 +3,6 @@

 @echo off

-set JAVA_OPTS=-Xms3g -Xmx3g
+set MAVEN_OPTS=-Xms3g -Xmx3g

 call mvn clean install exec:java -Dexec.mainClass="org.apdplat.evaluation.WordSegmenter" -Dexec.args="utf-8"


Ignore generated code when calculating coverage

--- coverage.cmd
+++ coverage.cmd
@@ -1,5 +1,5 @@
 nuget install OpenCover -Version 4.6.519 -OutputDirectory tools
 nuget install coveralls.net -Version 0.412.0 -OutputDirectory tools

-.\tools\OpenCover.4.6.519\tools\OpenCover.Console.exe -target:"vstest.console.exe" -filter:"+[*]* -[*.*Tests]*" -targetargs:".\tests\Konves.KScript.UnitTests\bin\Release\Konves.KScript.UnitTests.dll" -register:user
+.\tools\OpenCover.4.6.519\tools\OpenCover.Console.exe -target:"vstest.console.exe" -filter:"+[*]* -[*.*Tests]* -[*/Konves.KScript/Parsing/*]*" -targetargs:".\tests\Konves.KScript.UnitTests\bin\Release\Konves.KScript.UnitTests.dll" -register:user
 .\tools\coveralls.net.0.412\tools\csmacnz.Coveralls.exe --opencover -i .\results.xml


make.bat: enclose path with double quotes in order to handle paths with spaces

Fixes build issues when %GOPATH% is in e.g. "C:\Program Files" et al.

--- make.bat
+++ make.bat
@@ -15,14 +15,14 @@
 REM bin generates the releaseable binaries for Vault
 :bin
 	call :generate
-	call .\scripts\windows\build.bat %CD%
+	call .\scripts\windows\build.bat "%CD%"
 	goto :eof

 REM dev creates binaries for testing Vault locally. These are put
 REM into ./bin/ as well as %GOPATH%/bin
 :dev
 	call :generate
-	call .\scripts\windows\build.bat %CD% VAULT_DEV
+	call .\scripts\windows\build.bat "%CD%" VAULT_DEV
 	goto :eof

 REM generate runs `go generate` to build the dynamically generated


Fix windows publish script

Fix windows publish script

--- make.bat
+++ make.bat
@@ -41,10 +41,16 @@
 CALL make.bat clean
 CALL make.bat tiny
 CALL make.bat test
-COPY build\Release\luvi.exe luvi-binaries\Windows\luvi.exe
+COPY build\Release\luvi.exe luvi-binaries\Windows\luvi-tiny.exe
 CALL make.bat clean
 CALL make.bat large
 CALL make.bat test
-COPY build\Release\luvi.exe luvi-binaries\Windows\luvi-tiny.exe
+COPY build\Release\luvi.exe luvi-binaries\Windows\luvi.exe
+CD luvi-binaries
+git pull
+git add Windows
+git commit
+git push
+CD ..

 :end


Rewrote powershell's option on make.cmd for powershell's example

--- make.cmd
+++ make.cmd
@@ -18,7 +18,9 @@

 :build
         call :fmt
-        powershell -ExecutionPolicy RemoteSigned "cd '%~dp0main' ; . '%~dp0main\makesyso.ps1'"
+        pushd "%~dp0main"
+        powershell -ExecutionPolicy RemoteSigned -File makesyso.ps1
+        popd
         for /F "delims=" %%V in ('git log -1 --date^=short --pretty^=format:"-X main.stamp=%%ad -X main.commit=%%H"') do go build -o nyagos.exe -ldflags "%%V %X_VERSION%" .\main
         goto end


Fix a typo in the MSVC autobuild script

Fix a typo in the MSVC autobuild script

This typo made it fail to copy ut.dll when building for windows
phone.

--- build/AutoBuildForWPAndWindows.bat
+++ build/AutoBuildForWPAndWindows.bat
@@ -397,8 +397,7 @@
   echo DestDir is %DestDir%
   if "%vOSType%"=="msvc-wp" (
      set aFileList=%DllFile% %LibFile% %PDBFile% %UTDllFile%
-  )
-  else (
+  ) else (
      set aFileList=%DllFile% %LibFile% %PDBFile% %UTBinFile% %EncBinFile% %DecBinFile%
   )
   for %%k in (%aFileList%) do (


provide absolute path

provide absolute path

--- recipes/chargemol/run_test.bat
+++ recipes/chargemol/run_test.bat
@@ -3,5 +3,5 @@
 mklink "atomic_densities/" "%PREFIX%\share\chargemol\atomic_densities\"

 REM Pass directory containing jobcontrol.txt
-( echo . ) | chargemol
+( echo "%cd%" ) | chargemol
 CD -


Added jake.bat for building on Windows

Added jake.bat for building on Windows

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

--- jake.bat
+++ jake.bat
@@ -0,0 +1 @@
+node node_modules\jake\bin\cli.js %*


rm obsolete build-cpu.bat

rm obsolete build-cpu.bat

--- src/os/win32/build-cpu.bat
+++ src/os/win32/build-cpu.bat
@@ -1,2 +0,0 @@
-@echo off
-cl -I..\..\..\include -I. -DWIN32 -DCPU_MAIN cpu.c /link ADVAPI32.LIB


Slight changes to build script

Slight changes to build script

--- make.bat
+++ make.bat
@@ -1,17 +1,3 @@
 @echo off
 cls
-
-@%~dp0tools\Pencil\Pencil.exe %~dp0Build.cs %*
-
-if not %ERRORLEVEL% ==0 goto error
-
-rem Success, paint it green.
-	color 2F
-	goto done
-
-:error
-rem Fail!, paint it red.
-	color 4F
-
-:done
-	color+@%~dp0tools\Pencil\Pencil.exe %~dp0Build.cs %*


Added tests before make

Added tests before make

--- make.cmd
+++ make.cmd
@@ -1,9 +1,60 @@
+@echo off
+
+cd test\host
+
+echo Testing source with cscript...
+cscript.exe /E:JScript cscript.js >nul
+if %ERRORLEVEL% neq 0 goto test_failed
+
+echo Testing source with node...
+node.exe nodejs.js >nul
+if %ERRORLEVEL% neq 0 goto test_failed
+
+REM echo Testing source in a browser
+REM start mocha\web.html
+REM echo Press enter to continue or break
+REM pause
+
+cd ..\..
+goto build
+
+:test_failed
+echo Test failed
+cd ..\..
+goto end
+
+:build
+
+echo Building...
 cd make
 node node_make.js debug
 node node_make.js release
 cd ..
+
+cd test\host
+
+echo Validating debug with cscript...
+cscript.exe /E:JScript cscript.js debug >nul
+if %ERRORLEVEL% neq 0 goto test_failed
+
+echo Validating release with cscript...
+cscript.exe /E:JScript cscript.js release >nul
+if %ERRORLEVEL% neq 0 goto test_failed
+
+echo Validating debug with node...
+node.exe nodejs.js -debug >nul
+if %ERRORLEVEL% neq 0 goto test_failed
+
+echo Validating release with cscript...
+node.exe nodejs.js -release >nul
+if %ERRORLEVEL% neq 0 goto test_failed
+
+cd ..\..
+
 if not exist ..\ArnaudBuchholz.github.io goto end
+
+echo Publishing...
 copy build\gpf.js ..\ArnaudBuchholz.github.io\
 copy build\gpf-debug.js ..\ArnaudBuchholz.github.io\
-plato -x coding_convention.js -d ..\ArnaudBuchholz.github.io\plato\gpf-js -t GPF-JS -l .jshintrc *.js
+plato -x coding_convention.js -d ..\ArnaudBuchholz.github.io\plato\gpf-js -t GPF-JS -l .jshintrc src/*.js
 :end


make get: do not go get sub-directory of 'github.com/zetamatta/nyagos'

--- make.cmd
+++ make.cmd
@@ -65,7 +65,7 @@
         @exit /b

 :"get"
-        powershell "Get-ChildItem . -Recurse | ?{ $_.Extension -eq '.go' } | %%{  Get-Content $_.FullName | %%{ ($_ -replace '\s*//.*$','').Split()[-1] } | ?{ $_ -match 'github.com/' } } | Sort-Object | Get-Unique | %%{ Write-Host $_ ; go get -u $_ }"
+        powershell "Get-ChildItem . -Recurse | ?{ $_.Extension -eq '.go' } | %%{  Get-Content $_.FullName | %%{ ($_ -replace '\s*//.*$','').Split()[-1] } | ?{ $_ -match 'github.com/' -and -not ($_ -match '/nyagos/' ) } } | Sort-Object | Get-Unique | %%{ Write-Host $_ ; go get -u $_ }"
         @exit /b

 :getbindata


make.cmd: fix the error on `make get`

make.cmd: fix the error on `make get`

--- make.cmd
+++ make.cmd
@@ -275,7 +275,7 @@
         }
     }
     "get" {
-        go get -u all
+        go get -u
         go get -u github.com/mattn/go-tty@master
         go mod tidy
     }


Added batch file for running 'GenerateCompletePackage'

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

--- build/GenerateCompletePackage.bat
+++ build/GenerateCompletePackage.bat
@@ -0,0 +1,14 @@
+:BEGIN
+@ECHO OFF
+%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:Build /p:BuildConfiguration=Release
+IF ERRORLEVEL 1 GOTO END
+
+:SILVERLIGHT2
+%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:Build /p:BuildConfiguration=Release_Silverlight2
+IF ERRORLEVEL 1 GOTO END
+
+:GENERATE_PACKAGE
+%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:GeneratePackage /p:PackageScope=AllBinariesAndSource
+
+:END
+PAUSE


commit on 06/06/2018 at 13:00:04

commit on 06/06/2018 at 13:00:04

--- ansys-APDL/transverseCrack.cmd
+++ ansys-APDL/transverseCrack.cmd
@@ -265,8 +265,8 @@
 !*VGET, CrackDisps(1,1), NODE, 1, NODE(CrackDisps(1,2),CrackDisps(1,3),CrackDisps(1,4))

 *CFOPEN, CFFileCoordDisp, csv
-*VWRITE, 'NODE LABEL, X [mm], Z [mm], UX [mm], UZ [mm]'
-(A80)
+*VWRITE, 'NODE ','LABEL,',' X [mm],',' Z [mm],',' UX [mm],',' UZ [mm]'
+(A,A,A,A,A,A)
 *VWRITE, CrackDisps(1,1), ', ', CrackDisps(1,2), ', ', CrackDisps(1,3), ', ', CrackDisps(1,5), ', ', CrackDisps(1,6)
 (F12.8,A2,F12.8,A2,F12.8,A2,F12.8,A2,F12.8)
 *CFCLOS


Set default BenchView run type to local - This is the case when running on the dev boxes (outside automation)

--- tests/scripts/run-xunit-perf.cmd
+++ tests/scripts/run-xunit-perf.cmd
@@ -7,6 +7,7 @@

 setlocal
   set ERRORLEVEL=
+  set BENCHVIEW_RUN_TYPE=local
   set CORECLR_REPO=%CD%
   set TEST_FILE_EXT=exe
   set TEST_ARCH=x64
@@ -109,7 +110,7 @@
     goto :parse_command_line_arguments
   )
   IF /I [%~1] == [-runtype] (
-    set RUN_TYPE=%~2
+    set BENCHVIEW_RUN_TYPE=%~2
     shift
     shift
     goto :parse_command_line_arguments
@@ -222,23 +223,25 @@
 rem ****************************************************************************
 rem   Generates BenchView's submission data and upload it
 rem ****************************************************************************
-  call :run_cmd py.exe "%BENCHVIEW_PATH%\submission.py" measurement.json ^
-                                                        --build ..\build.json ^
-                                                        --machine-data ..\machinedata.json ^
-                                                        --metadata ..\submission-metadata.json ^
-                                                        --group "CoreCLR" ^
-                                                        --type "%RUN_TYPE%" ^
-                                                        --config-name "%TEST_CONFIG%" ^
-                                                        --config Configuration "%TEST_CONFIG%" ^
-                                                        --config OS "Windows_NT" ^
-                                                        --arch "%TEST_ARCHITECTURE%" ^
-                                                        --machinepool "PerfSnake"
+setlocal
+  set LV_SUBMISSION_ARGS=
+  set LV_SUBMISSION_ARGS=%LV_SUBMISSION_ARGS% --build ..\build.json
+  set LV_SUBMISSION_ARGS=%LV_SUBMISSION_ARGS% --machine-data ..\machinedata.json
+  set LV_SUBMISSION_ARGS=%LV_SUBMISSION_ARGS% --metadata ..\submission-metadata.json
+  set LV_SUBMISSION_ARGS=%LV_SUBMISSION_ARGS% --group "CoreCLR"
+  set LV_SUBMISSION_ARGS=%LV_SUBMISSION_ARGS% --type "%BENCHVIEW_RUN_TYPE%"
+  set LV_SUBMISSION_ARGS=%LV_SUBMISSION_ARGS% --config-name "%TEST_CONFIG%"
+  set LV_SUBMISSION_ARGS=%LV_SUBMISSION_ARGS% --config Configuration "%TEST_CONFIG%"
+  set LV_SUBMISSION_ARGS=%LV_SUBMISSION_ARGS% --config OS "Windows_NT"
+  set LV_SUBMISSION_ARGS=%LV_SUBMISSION_ARGS% --arch "%TEST_ARCHITECTURE%"
+  set LV_SUBMISSION_ARGS=%LV_SUBMISSION_ARGS% --machinepool "PerfSnake"
+  call :run_cmd py.exe "%BENCHVIEW_PATH%\submission.py" measurement.json %LV_SUBMISSION_ARGS%
   IF %ERRORLEVEL% NEQ 0 (
     call :print_error Creating BenchView submission data failed.
     exit /b 1
   )

-  REM FIXME: call :run_cmd py.exe "%BENCHVIEW_PATH%\upload.py" submission.json --container coreclr
+  call :run_cmd py.exe "%BENCHVIEW_PATH%\upload.py" submission.json --container coreclr
   IF %ERRORLEVEL% NEQ 0 (
     call :print_error Uploading to BenchView failed.
     exit /b 1


Inline help implementation

Inline help implementation

--- src/jsc.bat
+++ src/jsc.bat
@@ -57,14 +57,12 @@
 if "%mode%"=="identify" goto done_mode_validation
 if "%mode%"=="inline" goto done_mode_validation
 if "%mode%"=="link" goto done_mode_validation
-if "%mode%"=="help" goto done_mode_validation
+if "%mode%"=="help" call :usage && exit /b 0

 echo invalid mode [%mode%], must be one of dev^|compile^|identify^|inline^|link^|help
 goto fail_usage

 :done_mode_validation
-
-if "%mode%"=="help" call :usage && exit /b 0

 :parse_flags
   set flag=%~1


Change jsc to use a better method of checking if a specified path is a directory

--- src/jsc.bat
+++ src/jsc.bat
@@ -41,6 +41,14 @@

 :fail
   exit /b 1
+
+:is_dir
+  setlocal
+  set olddir=%CD%
+  cd "%~1" 2>NUL
+  set err=%errorlevel%
+  cd "%olddir%"
+  exit /b %err%

 :entry
@@ -113,7 +121,8 @@
 if "%invoke_main%"=="" set invoke_main=false

 if not exist "%config_js%" echo %config_js% does not exist or is not a file && goto fail
-for %%i in ("%config_js%") do if exist %%~si\NUL echo %config_js% does not exist or is not a file && goto fail
+call :is_dir "%config_js%"
+if %errorlevel%==0 echo %config_js% does not exist or is not a file && goto fail

 for %%i in (node.exe) do set node=%%~$PATH:i
 if "%node%"=="" echo error: node.js is not on the system path && goto fail
@@ -152,7 +161,7 @@
   if "%~1"=="" goto end_jsc_inline_remaining
   set remaining=%remaining% "%~1"
   shift
-  goto :jsc_inline_remaining
+  goto jsc_inline_remaining
   :end_jsc_inline_remaining

   "%node%" "%base%jsc.js" "%mode%" "%config_js%" "%invoke_main%" "%main%" "%register_modules%" %remaining%
@@ -169,7 +178,7 @@
   if "%~1"=="" goto end_jsc_x_remaining
   set remaining=%remaining% "%~1"
   shift
-  goto :jsc_x_remaining
+  goto jsc_x_remaining
   :end_jsc_x_remaining

   "%node%" "%base%jsc.js" "%mode%" "%config_js%" %remaining%


nuget restore file

nuget restore file

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

--- nuget-restore.cmd
+++ nuget-restore.cmd
@@ -0,0 +1,15 @@
+@echo off
+rem initiate the retry number
+set retryNumber=0
+set maxRetries=3
+
+:RESTORE
+nuget restore %*
+
+rem problem?
+IF NOT ERRORLEVEL 1 GOTO :EOF
+@echo Oops, nuget restore exited with code %ERRORLEVEL% - let us try again!
+set /a retryNumber=%retryNumber%+1
+IF %reTryNumber% LSS %maxRetries% (GOTO :RESTORE)
+@echo Sorry, we tried restoring nuget packages for %maxRetries% times and all attempts were unsuccessful!
+EXIT /B 1


Fix handling of paths containing parentheses

This commit fixes an issue with the handling of paths containing
parentheses on Windows. When such a path is used as a component of
Elasticsearch home, then a later echo statement that is guarded by an if
will fail because the parentheses in the path will be confused with the
parentheses defining the if block. This commit fixes the issue by
protecting this echo statement by wrapping the possibly offending path
in quotes.

Relates #26916

--- distribution/src/main/resources/bin/elasticsearch-service.bat
+++ distribution/src/main/resources/bin/elasticsearch-service.bat
@@ -163,15 +163,15 @@
 @endlocal & set JVM_MS=%JVM_MS% & set JVM_MX=%JVM_MX% & set JVM_SS=%JVM_SS%

 if "%JVM_MS%" == "" (
-  echo minimum heap size not set; configure using -Xms via %ES_JVM_OPTIONS% or ES_JAVA_OPTS
+  echo minimum heap size not set; configure using -Xms via "%ES_JVM_OPTIONS%" or ES_JAVA_OPTS
   goto:eof
 )
 if "%JVM_MX%" == "" (
-  echo maximum heap size not set; configure using -Xmx via %ES_JVM_OPTIONS% or ES_JAVA_OPTS
+  echo maximum heap size not set; configure using -Xmx via "%ES_JVM_OPTIONS%" or ES_JAVA_OPTS
   goto:eof
 )
 if "%JVM_SS%" == "" (
-  echo thread stack size not set; configure using -Xss via %ES_JVM_OPTIONS% or ES_JAVA_OPTS
+  echo thread stack size not set; configure using -Xss via "%ES_JVM_OPTIONS%" or ES_JAVA_OPTS
   goto:eof
 )


Remove echo line

Remove echo line

--- teatime.bat
+++ teatime.bat
@@ -1,2 +1 @@
-@ECHO OFF;
 ruby lib\main.rb %*


the core is not a Maven project anymore

the core is not a Maven project anymore

--- update_core.bat
+++ update_core.bat
@@ -1,8 +0,0 @@
-@echo off
-
-cd sophena-core
-call mvn install -DskipTests=true
-cd ..\sophena
-call mvn package
-cd ..
-


git-svn-id: svn://scm.gforge.inria.fr/svn/openvibe@2025 c330d7e9-fc0c-0410-a5b3-fd85c6f5aa8f

--- trunk/scripts/win32-build.cmd
+++ trunk/scripts/win32-build.cmd
@@ -48,7 +48,7 @@
 	cmake -DCMAKE_INSTALL_PREFIX="%%s" -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS=" /DWIN32 /D_WINDOWS /W3 /Zm1000 /EHsc /GR /wd4355" -Wno-dev -DCMAKE_MODULE_PATH="%saved_directory:\=/%/../cmake-modules;${CMAKE_MODULE_PATH}" !OpenViBE_project_name_full! -G"NMake Makefiles"
 	IF NOT "!ERRORLEVEL!" == "0" goto terminate_error

-	nmake
+	nmake
 	IF NOT "!ERRORLEVEL!" == "0" goto terminate_error

 	nmake OpenViBE-documentation 2> NULL
@@ -96,7 +96,7 @@
 echo cd share\openvibe-applications\vr-demo\tie-fighter                   >> %target_dist%\test-vr-demo-tie-fighter.cmd
 echo %%OpenViBE_DistRoot%%\bin\OpenViBE-vr-demo-dynamic.exe tie-fighter   >> %target_dist%\test-vr-demo-tie-fighter.cmd
 echo cd %%OpenViBE_DistRoot%%                                             >> %target_dist%\test-vr-demo-tie-fighter.cmd
-echo exit                                                                 >> %target_dist%\test-vr-demo-tie-fighter.cmd                                                         >> %target_dist%\test-vr-demo-handball.cmd
+echo exit                                                                 >> %target_dist%\test-vr-demo-tie-fighter.cmd

 echo @echo off                                               >  %target_dist%\test-acquisition-server.cmd
 echo pushd ..\scripts                                        >> %target_dist%\test-acquisition-server.cmd


Add reading setting of .pvimrc in mklink.bat

--- mklink.bat
+++ mklink.bat
@@ -16,7 +16,7 @@
 @set DOTWINDIR=%CWD%%WINDIR%

 @rem Make a symbolic links from dotfiles and winenv.
-@for %%i in (.vimrc .gvimrc) do @mklink %HOME%\%%i %DOTDOTDIR%\%%i
+@for %%i in (.pvimrc .vimrc .gvimrc) do @mklink %HOME%\%%i %DOTDOTDIR%\%%i
 @for %%i in (.doskey) do @copy %DOTWINDIR%\%%i %HOME%

 @pause


Update generate.cmd to work with new directory structure (#6593)

--- tools/generate.cmd
+++ tools/generate.cmd
@@ -48,7 +48,7 @@
 if not "%3" == "" (set specsRepoUser="%3")   else (set specsRepoUser="Azure")
 if not "%4" == "" (set specsRepoBranch="%4") else (set specsRepoBranch="master")
 if not "%5" == "" (set specsRepoName="%5")   else (set specsRepoName="azure-rest-api-specs")
-if not "%6" == "" (set sdksFolder="%6")      else (set sdksFolder=%~dp0..\src\SDKS)
+if not "%6" == "" (set sdksFolder="%6")      else (set sdksFolder=%~dp0..\sdk)
 set configFile="https://github.com/%specsRepoUser%/%specsRepoName%/blob/%specsRepoBranch%/specification/%rp%/readme.md"

 :: installation


'Jenkins'

'Jenkins'

--- buildscripts/jenkins-build.bat
+++ buildscripts/jenkins-build.bat
@@ -26,6 +26,7 @@
 REM TODO: Add cffi to this list once it is added to anaconda windows.

 call C:\Anaconda\Scripts\conda create --yes --channel https://conda.binstar.org/mwiebe -p %PYENV_PREFIX% python=%PYTHON_VERSION%  cython scipy ply dynd-python nose flask pyparsing pyyaml setuptools dateutil pip pytables sqlalchemy h5py pandas requests pytest toolz cytoolz bcolz || exit /b 1
+call C:\Anaconda\Scripts\conda install --yes --channel blaze mongodb

 echo on
 set PYTHON_EXECUTABLE=%PYENV_PREFIX%\Python.exe


Fixed windows bug:  replaced "EQU" with "==".

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

Former-commit-id: 95e824c30584a728c0b9b518bf0efa26ebee9261

--- bin/jmeter-server.bat
+++ bin/jmeter-server.bat
@@ -1,20 +1,23 @@
-@echo off
+@echo on
+
 set PROP=jmeter.properties
 set LOG4JCONFIG=log4j.configuration=log4j.conf
 set HOST=
 set PORT=
-IF "%1" EQU "-f" set PROP=%2
-IF "%1" EQU "-h" set HOST=-Dhttp.proxyHost=%2 -Dhttps.proxyHost=%2
-IF "%1" EQU "-p" set PORT=-Dhttp.proxyPort=%2 -Dhttps.proxyPort=%2
-IF "%3" EQU "-f" set PROP=%4
-IF "%3" EQU "-h" set HOST=-Dhttp.proxyHost=%4 -Dhttps.proxyHost=%4
-IF "%3" EQU "-p" set PORT=-Dhttp.proxyPort=%4 -Dhttps.proxyPort=%4
-IF "%5" EQU "-f" set PROP=%6
-IF "%5" EQU "-h" set HOST=-Dhttp.proxyHost=%6 -Dhttps.proxyHost=%6
-IF "%5" EQU "-p" set PORT=-Dhttp.proxyPort=%6 -Dhttps.proxyPort=%6
+
+IF "%1" == "-f" set PROP=%2
+IF "%1" == "-h" set HOST=-Dhttp.proxyHost=%2 -Dhttps.proxyHost=%2
+IF "%1" == "-p" set PORT=-Dhttp.proxyPort=%2 -Dhttps.proxyPort=%2
+IF "%3" == "-f" set PROP=%4
+IF "%3" == "-h" set HOST=-Dhttp.proxyHost=%4 -Dhttps.proxyHost=%4
+IF "%3" == "-p" set PORT=-Dhttp.proxyPort=%4 -Dhttps.proxyPort=%4
+IF "%5" == "-f" set PROP=%6
+IF "%5" == "-h" set HOST=-Dhttp.proxyHost=%6 -Dhttps.proxyHost=%6
+IF "%5" == "-p" set PORT=-Dhttp.proxyPort=%6 -Dhttps.proxyPort=%6

 set LOCALCLASSPATH=%CLASSPATH%

 for %%i in ("..\lib\*.jar") do CALL ..\lcp %%i
 for %%i in ("..\ext\*.jar") do CALL ..\lcp %%i
-java -cp %LOCALCLASSPATH%;ApacheJMeter.jar -D%LOG4JCONFIG% %HOST% %PORT% org.apache.jmeter.engine.RemoteJMeterEngineImpl %PROP%+
+java -cp %LOCALCLASSPATH%;ApacheJMeter.jar -D%LOG4JCONFIG% %HOST% %PORT% org.apache.jmeter.engine.RemoteJMeterEngineImpl %PROP%


fix conflict with init.bat build-in command parser, update user-profile.cmd

--- vendor/init.bat
+++ vendor/init.bat
@@ -81,6 +81,7 @@
         set SVN_SSH=%2
         shift
     )
+    set "CMDER_FLAGS=%CMDER_FLAGS% %1"
     shift
 goto var_loop

@@ -290,14 +291,14 @@
 set "initialConfig=%CMDER_ROOT%\config\user-profile.cmd"
 if exist "%CMDER_ROOT%\config\user-profile.cmd" (
     REM Create this file and place your own command in there
-    call "%CMDER_ROOT%\config\user-profile.cmd" %*
+    call "%CMDER_ROOT%\config\user-profile.cmd" %CMDER_FLAGS%
 )

 if defined CMDER_USER_CONFIG (
   set "initialConfig=%CMDER_USER_CONFIG%\user-profile.cmd"
   if exist "%CMDER_USER_CONFIG%\user-profile.cmd" (
       REM Create this file and place your own command in there
-      call "%CMDER_USER_CONFIG%\user-profile.cmd" %*
+      call "%CMDER_USER_CONFIG%\user-profile.cmd" %CMDER_FLAGS%
   )
 )

@@ -317,6 +318,12 @@
 echo :: you can add your plugins to the cmder path like so
 echo :: set "PATH=%%CMDER_ROOT%%\vendor\whatever;%%PATH%%"
 echo.
+echo :: pass your custom arguments to init.bat, and you can parse them like so
+echo :: echo %* | find /i "/noautorun">nul
+echo :: if "%ERRORLEVEL%" == "1" (
+echo ::   call vsCode
+echo :: )
+echo.
 echo @echo off
 ) >"%initialConfig%"
 )


add enable hyper-v script

add enable hyper-v script

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

--- batch/enable_hyper-v.bat
+++ batch/enable_hyper-v.bat
@@ -0,0 +1,19 @@
+@echo off
+rem Enables Hyper-V on non-Win 10 Pro and up
+rem Run systeminfo command before running this file and verify that under Hyper-V Requirements:
+rem 1) VM Monitor Mode Extensions: Yes
+rem 2) Virtualization Enabled In Firmware: Yes
+rem 3) Second Level Address Translation: Yes
+rem 4) Data Execution Prevention Available: Yes
+rem Once all of those say yes, run this file as Administrator
+rem Original sources: https://pastebin.com/cX6nupy4 and https://github.com/MicrosoftDocs/Virtualization-Documentation/issues/915
+
+pushd "%~dp0"
+
+dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt
+
+for /f %%i in ('findstr /i . hyper-v.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"
+
+del hyper-v.txt
+
+Dism /online /enable-feature /featurename:Microsoft-Hyper-V-All /LimitAccess /ALL


Just some polishing

Just some polishing

--- updater.bat
+++ updater.bat
@@ -3,7 +3,7 @@

 REM ### ghacks-user.js updater for Windows
 REM ## author: @claustromaniac
-REM ## version: 2.0
+REM ## version: 2.1

 SETLOCAL EnableDelayedExpansion
 SET "_ua="
@@ -42,7 +42,7 @@
 IF NOT "%_ua%"=="true" (
 	ECHO This batch should be run from your Firefox profile directory. It will download the latest version of ghacks user.js from github and then append any of your own changes from user-overrides.js to it.
 	ECHO.
-	REM Visit the wiki for more detailed information.
+	REM ECHO Visit the wiki for more detailed information.
 	REM ECHO.
 	CHOICE /M "Continue"
 	IF ERRORLEVEL 2 GOTO end
@@ -50,11 +50,9 @@
 CLS
 ECHO.
 IF "%_log%"=="true" (
-	CALL :log >>user.js-update-log.txt
+	CALL :log >>user.js-update-log.txt 2>&1
 	EXIT /B
-)
-:log
-IF "%_log%"=="true" (
+	:log
 	ECHO ##################################################################
 	ECHO.
 	ECHO %date%, %time%
@@ -67,7 +65,7 @@
 	ECHO.
 )
 ECHO Retrieving latest user.js file from ghacks github repository...
-powershell -Command "(New-Object Net.WebClient).DownloadFile('https://github.com/ghacksuserjs/ghacks-user.js/raw/master/user.js', 'user.js')"
+powershell -Command "(New-Object Net.WebClient).DownloadFile('https://github.com/ghacksuserjs/ghacks-user.js/raw/master/user.js', 'user.js')" >nul
 ECHO.
 IF EXIST user.js (
 	IF EXIST "user-overrides.js" (
@@ -103,7 +101,7 @@
 	ECHO No changes were made.
 	ECHO.
 )
+IF NOT "%_log%"=="true" (
+        IF NOT "%_ua%"=="true" PAUSE
+)
 :end
-IF NOT "%_log%"=="true" (
-	IF NOT "%_ua%"=="true" PAUSE
-)


Replace PING with TIMEOUT

Replace PING with TIMEOUT

Otherwise earthing's nosy firewall bitches about it.

--- updater.bat
+++ updater.bat
@@ -39,7 +39,7 @@
 	IF NOT "!_myname:~0,9!"=="[updated]" (
 		ECHO Checking updater version...
 		ECHO.
-		DEL /F "[updated]!_myname!.bat" 2>nul
+		IF EXIST "[updated]!_myname!.bat" ( DEL /F "[updated]!_myname!.bat" )
 		REM Uncomment the next line and comment the powershell call for testing.
 		REM COPY /B /V /Y "!_myname!.bat" "[updated]!_myname!.bat"
 		(
@@ -51,7 +51,7 @@
 		) ELSE (
 			ECHO Failed. Make sure PowerShell is allowed internet access.
 			ECHO.
-			PING -n 301 127.0.0.1>nul
+			TIMEOUT 300
 			EXIT /B
 		)
 	) ELSE (
@@ -63,7 +63,7 @@
 		) ELSE (
 			ECHO.
 			ECHO The [updated] label is reserved. Do not run an [updated] script directly, or rename it to something else before you run it.
-			PING -n 301 127.0.0.1>nul
+			TIMEOUT 300
 			EXIT /B
 		)
 	)


build, windows: allow override of python executable

Fixes #723.

--- vcbuild.bat
+++ vcbuild.bat
@@ -82,7 +82,8 @@
 goto exit

 :have_gyp
-python gyp_uv -Dtarget_arch=%target_arch% -Dlibrary=%library%
+if not defined PYTHON set PYTHON="python"
+%PYTHON% gyp_uv -Dtarget_arch=%target_arch% -Dlibrary=%library%
 if errorlevel 1 goto create-msvs-files-failed
 if not exist uv.sln goto create-msvs-files-failed
 echo Project files generated.


updated artifact location

updated artifact location

--- build/build-nuget.bat
+++ build/build-nuget.bat
@@ -1,5 +1,5 @@
 @echo off
 cd %1
-cd ..\build\
+cd ..
 del *.nupkg
-tools\nuget.exe pack ..\source\NestClientFactory\NestClientFactory.csproj
+build\tools\nuget.exe pack source\NestClientFactory\NestClientFactory.csproj


Add MSBuild.bat

Add MSBuild.bat

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

--- MSBuild.bat
+++ MSBuild.bat
@@ -0,0 +1,45 @@
+:: MSBuild.exe %*
+
+@echo off
+setlocal
+:: cd /d %~dp0
+
+set PF32=%ProgramFiles(x86)%
+if not exist "%PF32%" set PF32=%ProgramFiles%
+
+set VsWherePath="%PF32%\Microsoft Visual Studio\Installer\vswhere.exe"
+
+:: vs2019 or later
+for /f "usebackq tokens=*" %%i in (`%VsWherePath% -latest -requires Microsoft.Component.MSBuild -find MSBuild\**\Bin\MSBuild.exe`) do (
+    if exist "%%i" (
+        set MSBuildPath="%%i"
+        goto :run
+    )
+)
+
+:: vs2017 or earlier
+for /f "usebackq tokens=1* delims=: " %%i in (`%VsWherePath% -latest -requires Microsoft.Component.MSBuild`) do (
+    if /i "%%i"=="installationPath" (
+        if exist "%%j\MSBuild\15.0\Bin\MSBuild.exe" (
+            set MSBuildPath="%%j\MSBuild\15.0\Bin\MSBuild.exe"
+            goto :run
+        )
+        if exist "%%j\MSBuild\14.0\Bin\MSBuild.exe" (
+            set MSBuildPath="%%j\MSBuild\14.0\Bin\MSBuild.exe"
+            goto :run
+        )
+        if exist "%%j\MSBuild\12.0\Bin\MSBuild.exe" (
+            set MSBuildPath="%%j\MSBuild\12.0\Bin\MSBuild.exe"
+            goto :run
+        )
+    )
+)
+
+:run
+if not exist %MSBuildPath% (
+    echo "MSBuild.exe not find"
+    exit /b 1
+)
+
+echo on
+%MSBuildPath% %*


Delete pack.bat

Delete pack.bat

--- pack.bat
+++ pack.bat
@@ -1,2 +0,0 @@
-.nuget\NuGet.exe pack ArcGIS.PCL.nuspec
-


Fix command line tool build file

Fix command line tool build file

--- Build/makeCommandLineTools.bat
+++ Build/makeCommandLineTools.bat
@@ -10,14 +10,11 @@

 set DEP=/DEP:%TB-PLATFORM-PROJECTS-DRIVE%%TB-PLATFORM-PROJECTS-PATH%\Build\ExternalDependencies.txt

-if "%~1" == "V" (
-	set SET_VERSION=/V
-) else if not "%~1"=="" (
-	if "%2" == "V" set SET_VERSION=/V
+if not "%~1"=="" (
 	pushd %TB-PLATFORM-PROJECTS-PATH%\src\CommandLineUtils
 	echo =================================
 	echo Making command line utility project %~1
-	call makeExe.bat %~1 %~1 /CONSOLE /NOV6CC /M:E %DEP% /V
+	call makeExe.bat %~1 %~1 /CONSOLE /NOV6CC /M:E %DEP%
 	popd
 	exit /B
 )
@@ -27,41 +24,43 @@

 pushd %TB-PLATFORM-PROJECTS-PATH%\src\CommandLineUtils

-call makeExe.bat gbd gbd /CONSOLE /NOV6CC /M:E %DEP% /V
+call makeExe.bat gbd gbd /CONSOLE /NOV6CC /M:E %DEP%
 if errorlevel 1 pause

-call makeExe.bat gccd gccd /CONSOLE /NOV6CC /M:E %DEP% /V
+call makeExe.bat gccd gccd /CONSOLE /NOV6CC /M:E %DEP%
 if errorlevel 1 pause

-call makeExe.bat gcd gcd /CONSOLE /NOV6CC /M:E %DEP% /V
+call makeExe.bat gcd gcd /CONSOLE /NOV6CC /M:E %DEP%
 if errorlevel 1 pause

-call makeExe.bat gsd gsd /CONSOLE /NOV6CC /M:E %DEP% /V
+call makeExe.bat gsd gsd /CONSOLE /NOV6CC /M:E %DEP%
 if errorlevel 1 pause

-call makeExe.bat gtd gtd /CONSOLE /NOV6CC /M:E %DEP% /V
+call makeExe.bat gtd gtd /CONSOLE /NOV6CC /M:E %DEP%
 if errorlevel 1 pause

-call makeExe.bat gxd gxd /CONSOLE /NOV6CC /M:E %DEP% /V
+call makeExe.bat gxd gxd /CONSOLE /NOV6CC /M:E %DEP%
 if errorlevel 1 pause

-call makeExe.bat ltz ltz /CONSOLE /NOV6CC /M:E %DEP% /V
+call makeExe.bat ltz ltz /CONSOLE /NOV6CC /M:E %DEP%
 if errorlevel 1 pause

-call makeExe.bat plord plord /CONSOLE /NOV6CC /M:E %DEP% /V
+call makeExe.bat plord plord /CONSOLE /NOV6CC /M:E %DEP%
 if errorlevel 1 pause

-call makeExe.bat uccd uccd /CONSOLE /NOV6CC /M:E %DEP% /V
+call makeExe.bat uccd uccd /CONSOLE /NOV6CC /M:E %DEP%
 if errorlevel 1 pause

-call makeExe.bat ucd ucd /CONSOLE /NOV6CC /M:E %DEP% /V
+call makeExe.bat ucd ucd /CONSOLE /NOV6CC /M:E %DEP%
 if errorlevel 1 pause

-call makeExe.bat uxd uxd /CONSOLE /NOV6CC /M:E %DEP% /V
+call makeExe.bat uxd uxd /CONSOLE /NOV6CC /M:E %DEP%
 if errorlevel 1 pause

 :: temporary solution to building the Chart program
 pushd Chart
+echo =================================
+echo Building Chart\Chart.exe
 msbuild Chart.sln -t:Rebuild -p:Configuration=Debug -verbosity:m
 if errorlevel 1 pause
 popd


Delete gradlew.bat

Delete gradlew.bat

--- android/gradlew.bat
+++ android/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


Add option to create pathrc file

Add option to create pathrc file

--- install.bat
+++ install.bat
@@ -2,13 +2,13 @@
 title Dotfiles installation script

-rem Start program ----------------------------------------------------------
+rem Start program ---------------------------------------------------------
 :init
-  set source=%~dp0
+  set location=%~dp0
   goto check_permissions

-rem Check administrator permissions ----------------------------------------
+rem Check administrator permissions ---------------------------------------
 :check_permissions
   echo Administrative permissions required. Detecting permissions...
   net session >nul 2>&1
@@ -23,7 +23,7 @@
   )

-rem Show admin prompt ------------------------------------------------------
+rem Show admin prompt -----------------------------------------------------
 :UAC_prompt
   echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
   set params=%~1
@@ -34,13 +34,14 @@
   exit /B

-rem Select what to link ----------------------------------------------------
+rem Select what to link ---------------------------------------------------
 :select_links
   if "%~1"=="" (
     echo Please select what you want to do:
     echo 1. Link vim files
     echo 2. Link vimperator files
     echo 3. Link all files
+    echo 4. Create pathrc file
     echo.

     set /p choose=
@@ -51,19 +52,52 @@

   if "%choose%" == "1" ( goto link_vim )
   if "%choose%" == "2" ( goto link_vimp )
-  if "%choose%" == "3" ( goto link_vim )
+  if "%choose%" == "3" ( goto link_vimp )
+  if "%choose%" == "4" ( goto create_pathrc )

   if "%choose%" == "vim" ( goto link_vim )
   if "%choose%" == "vimp" ( goto link_vimp )
+  if "%choose%" == "pathrc" ( goto create_pathrc )
   if "%choose%" == "all" (
     set choose=3
-    goto link_vim
+    goto link_vimp
   )

   goto error

-rem Link vim files ---------------------------------------------------------
+rem Link vimperator files -------------------------------------------------
+:link_vimp
+  rem Go to home directory
+  cd %USERPROFILE%
+
+  echo Linking vimperator files...
+  echo.
+
+  if exist vimperator (
+    echo vimperator folder already exists. Skipping to next file.
+  ) else (
+    mklink /D vimperator %location%vimperator
+  )
+  if exist _vimperatorrc (
+    echo _vimperatorrc file already exists. Skipping to next file.
+  ) else (
+    mklink _vimperatorrc %location%vimperator\vimperatorrc
+  )
+
+  if "%choose%" == "3" (
+    echo.
+    goto link_vim
+  )
+
+  if %errorLevel% == 0 (
+    goto success
+  ) else (
+    goto error
+  )
+
+
+rem Link vim files --------------------------------------------------------
 :link_vim
   rem Go to home directory
   cd %USERPROFILE%
@@ -74,13 +108,50 @@
   if exist vimfiles (
     echo vimfiles folder already exists. Skipping to next file.
   ) else (
-    mklink /D vimfiles %source%vim
+    mklink /D vimfiles %location%vim
   )

-  if "%choose%" == "3" (
-    echo.
-    goto link_vimp
-  )
+  goto create_pathrc
+
+
+rem Create pathrc file ----------------------------------------------------
+:create_pathrc
+  echo.
+  echo Creating pathrc file...
+  rem Variables
+
+  set file=%location%vim\pathrc.vim
+
+  set vimrc=%location%vim\vimrc
+  set vimprc=%location%vimperator\vimperatorrc
+  set color=%location%vim\colors\customized.vim
+  set bundle=%location%vim\bundle\
+
+  rem Target content
+
+  >%file% echo ^" File containing all path specific options
+
+  >>%file% echo.
+  >>%file% echo ^" Vundle paths ------------------------------------------------------------
+
+  >>%file% echo.
+  >>%file% echo set rtp+=%bundle%vundle
+  >>%file% echo call vundle#rc('%bundle%')
+
+  >>%file% echo.
+  >>%file% echo ^" Mappings ----------------------------------------------------------------
+
+  >>%file% echo.
+  >>%file% echo ^" Open vimrc mapping
+  >>%file% echo nnoremap ^<leader^>vv :split %vimrc%^<CR^>
+
+  >>%file% echo.
+  >>%file% echo ^" Open vimperatorrc mapping
+  >>%file% echo nnoremap ^<leader^>vp :split %vimprc%^<CR^>
+
+  >>%file% echo.
+  >>%file% echo ^" Open customized colorscheme mapping
+  >>%file% echo nnoremap ^<leader^>vt :split %color%^<CR^>

   if %errorLevel% == 0 (
     goto success
@@ -89,33 +160,7 @@
   )

-rem Link vimperator files --------------------------------------------------
-:link_vimp
-  rem Go to home directory
-  cd %USERPROFILE%
-
-  echo Linking vimperator files...
-  echo.
-
-  if exist vimperator (
-    echo vimperator folder already exists. Skipping to next file.
-  ) else (
-    mklink /D vimperator %source%vimperator
-  )
-  if exist _vimperatorrc (
-    echo _vimperatorrc file already exists. Skipping to next file.
-  ) else (
-    mklink _vimperatorrc %source%vimperator\vimperatorrc
-  )
-
-  if %errorLevel% == 0 (
-    goto success
-  ) else (
-    goto error
-  )
-
-
-rem End program ------------------------------------------------------------
+rem End program -----------------------------------------------------------
 :error
   echo.
   echo Error: Something went wrong.
@@ -123,7 +168,7 @@

 :success
   echo.
-  echo Success: All files liked correctly.
+  echo Success: Everything finished.
   goto end

 :end


fix install.bat

fix install.bat

--- install.bat
+++ install.bat
@@ -30,11 +30,6 @@
 if errorlevel 1 goto CONDAERROR

 echo Miniconda3 has been installed!
-goto END
-
-:CONDAERROR
-echo Miniconda3 install failed!
-exit /B 1

 :CONDAFOUND
 echo Conda is already installed!
@@ -49,3 +44,7 @@

 :END
 exit /B 0
+
+:CONDAERROR
+echo Miniconda3 install failed!
+exit /B 1


fixed windows syntax

fixed windows syntax

Please enter the commit message for your changes. Lines starting

--- install.bat
+++ install.bat
@@ -1,25 +1,25 @@
 @echo off
-git --version 2>&1 >NUL
-if %errorlevel% NEQ 0 (
+git --version
+if not "%errorlevel%" == "0" (
 	echo git is currently not installed, or has not been added to your system PATH
 	echo please install git, or if git is already installed, run:
 	echo setx PATH "%PATH%,C:\Program Files\Git\mingw64\libexec\git-core"
 	echo If using 32-bit or alternate install path, replace your git path in the above command
 	pause
 ) else (
-	git bash
-	git submodule init
-	git submodule update
-	if [ $? -ne 0 ] ; then
-			echo submodule install failed.
-			echo Maybe try cloning recursively?
-			echo git clone --recursive https://github.com/FrostTheFox/ptc-acc-gen.git
-	fi
-
-		node --version 2>&1 >/dev/null
-	if [ $? -ne 0 ] ; then
-			echo NodeJS is not currently installed correctly. Please install that, then run "npm install" from your PokemonGo-Map folder.
-		else
-			npm install
+	git submodule init 2>&1 >NUL
+	git submodule update 2>&1 >NUL
+	if not "%errorlevel%" == "0" (
+		echo submodule install failed.
+		echo Maybe try cloning recursively?
+		echo git clone --recursive https://github.com/FrostTheFox/ptc-acc-gen.git
+	) else (
+		node --version 2>&1 >NUL
+	)
+	if not "%errorlevel%" == "0" (
+		echo NodeJS is not currently installed correctly. Please install that, then run "npm install" from your PokemonGo-Map folder.
+	) else (
+		npm install
+	)
 	fi
 exit


Fix missing double quotes after %DEBUG%

Fix missing double quotes after %DEBUG%

--- install.cmd
+++ install.cmd
@@ -108,7 +108,7 @@

 echo Installing binaries...
 FOR /R "%GITEXTRAS%\bin" %%i in (*.*) DO (
-    IF "%DEBUG%=="true" ( ECHO "Writing File: %PREFIX%\bin\%%~ni" )
+    IF "%DEBUG%"=="true" ( ECHO "Writing File: %PREFIX%\bin\%%~ni" )

     ECHO #^^!/usr/bin/env bash > "%PREFIX%\bin\%%~ni"
     TYPE "%GITEXTRAS%\helper\reset-env" >> "%PREFIX%\bin\%%~ni"
@@ -120,7 +120,7 @@
 )

 FOR %%i in (%COMMANDS_WITHOUT_REPO%) DO (
-    IF "%DEBUG%=="true" ( ECHO "Writing File: %PREFIX%\bin\%%i" )
+    IF "%DEBUG%"=="true" ( ECHO "Writing File: %PREFIX%\bin\%%i" )

     ECHO #^^!/usr/bin/env bash > "%PREFIX%\bin\%%i"
     TYPE "%GITEXTRAS%\helper\reset-env" >> "%PREFIX%\bin\%%i"


double escape %

double escape %

--- jenkins.bat
+++ jenkins.bat
@@ -1,6 +1,6 @@
 set PATH=%PATH%;"C:\\Program Files\\Docker Toolbox\\"
 docker-machine start default
 REM Set the environment variables to use docker-machine and docker commands
-@FOR /f "tokens=*" %i IN ('docker-machine env --shell cmd default') DO @%i
+FOR /f "tokens=*" %%i IN ('docker-machine env --shell cmd default') DO %%i

 python setup.py test --addopts --junit-xml=tests.xml


try fix build

try fix build

--- build-scripts/3-copy.bat
+++ build-scripts/3-copy.bat
@@ -31,6 +31,7 @@
 move "%EXTRACTED_DIR%\unknown-horizons" "%TARGET_DIR%"

 echo Copy needed dlls vcruntime140.dll msvcp140.dll
+mkdir %TARGET_DIR%\Python27\Lib\site-packages\fife
 copy "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x86\Microsoft.VC140.CRT\vcruntime140.dll" "%TARGET_DIR%\Python27\Lib\site-packages\fife\vcruntime140.dll"
 copy "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x86\Microsoft.VC140.CRT\msvcp140.dll" "%TARGET_DIR%\Python27\Lib\site-packages\fife\msvcp140.dll"


Add bld.bat for Windows builds

Add bld.bat for Windows builds

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

--- recipes/FunctionalPlus/bld.bat
+++ recipes/FunctionalPlus/bld.bat
@@ -0,0 +1,8 @@
+cmake -G "NMake Makefiles" -D CMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% %SRC_DIR%
+if errorlevel 1 exit 1
+
+nmake
+if errorlevel 1 exit 1
+
+nmake install
+if errorlevel 1 exit 1


Explicitly use GraalVM to run native image scripts on Windows

--- .github/scripts/windows-build-native-image.bat
+++ .github/scripts/windows-build-native-image.bat
@@ -1,2 +1,2 @@
 @call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
-bin\amm launcher.sc generateNativeImage --version 2.0-SNAPSHOT --output cs-test
+bin\cs launch ammonite:2.1.4-11-307f3d8 --scala 2.12.12 --jvm graalvm-ce-java11:20.1.0 -- launcher.sc generateNativeImage --version 2.0-SNAPSHOT --output cs-test


Default jsonfmt to all .jsons

Default jsonfmt to all .jsons

--- jsonfmt.cmd
+++ jsonfmt.cmd
@@ -1,6 +1,10 @@
 @echo off

-for %%i in (*.json) do (
+set _1=%*
+
+if not defined _1 set _1=*.json
+
+for %%i in (%_1%) do (
     py jsonfmt.py "%%~i"
 )


Removed my directory in launch script Forgot to save... whoops.

--- launch.bat
+++ launch.bat
@@ -14,5 +14,4 @@

 @echo off
 cls
-"C:\Users\62alberi\Program\.NET Core\dotnet" run %~dp0src
-REM "DOTNET-DIRECTORY" run %~dp0src
+"DOTNET-DIRECTORY" run %~dp0src


Provide better start/stop messages in midpoint.bat

--- dist/src/main/bin/midpoint.bat
+++ dist/src/main/bin/midpoint.bat
@@ -2,6 +2,13 @@

 setlocal

+if "%1" == "start" goto doStart
+if "%1" == "stop" goto doStop
+
+echo Error: No command given. Specify either start or stop.
+goto end
+
+:doStart
 set BIN_DIR=%~dp0
 set LIB_DIR=%BIN_DIR%..\lib

@@ -31,15 +38,8 @@
 if "%BOOT_OUT%" == "" set BOOT_OUT=%MIDPOINT_HOME%\log\midpoint.out
 echo Using BOOT_OUT:        "%BOOT_OUT%"

-rem ----- Execute The Requested Command ---------------------------------------
+rem ----- Execute The Requested Start Command ---------------------------------------

-if "%1" == "start" goto doStart
-if "%1" == "stop" goto doStop
-
-echo Error: No command given. Specify either start or stop.
-goto end
-
-:doStart
 shift
 set RUN_JAVA=javaw
 if not "%JAVA_HOME%" == "" set RUN_JAVA=%JAVA_HOME%\bin\javaw
@@ -47,12 +47,23 @@
 echo Using RUN_JAVA:        "%RUN_JAVA%"
 echo Using JAVA_OPTS:       "%JAVA_OPTS%"
 echo Using parameters:      "%*"
+echo.
+echo Starting midPoint.
 start /b %RUN_JAVA% -jar %JAVA_OPTS% -Xms2048M -Xmx2048M -Dpython.cachedir="%MIDPOINT_HOME%\tmp" -Djavax.net.ssl.trustStore="%MIDPOINT_HOME%\keystore.jceks" -Djavax.net.ssl.trustStoreType=jceks -Dmidpoint.home="%MIDPOINT_HOME%" "%LIB_DIR%\midpoint.war" %* > "%BOOT_OUT%" 2>&1
 goto end

 :doStop
+
+set MIDPOINT_PORT=8080
+
 shift
-FOR /F "usebackq tokens=5" %%i IN (`netstat -aon ^| findstr "0.0.0.0:8080"`) DO taskkill /F /PID %%i
+echo Trying to find and stop a process listening on port %MIDPOINT_PORT%...
+set MIDPOINT_FOUND=
+FOR /F "usebackq tokens=5" %%i IN (`netstat -aon ^| findstr "0.0.0.0:%MIDPOINT_PORT% "`) DO (
+    taskkill /F /PID %%i
+    set MIDPOINT_FOUND=true
+)
+if not "%MIDPOINT_FOUND%" == "true" echo No process listening on %MIDPOINT_PORT% was found.
 goto end

 :end


update win build

update win build

--- winbuild.bat
+++ winbuild.bat
@@ -9,10 +9,10 @@
 	for /f %%b IN ('msbuildpath.exe') do %%bMSBuild.exe libuv\msvs\libuv.sln
 	call "%VS100COMNTOOLS%vsvars32.bat"
 	FOR /F %%a IN ('msbuildpath.exe') DO %%aMSBuild.exe webserver.csproj
-	"%VCINSTALLDIR%bin\cl.exe" uv_wrap.c /o build/uvwrap.dll libuv/build/Win32/Debug/libuv.lib ws2_32.lib advapi32.lib /link /DLL /EXPORT:uv_init /EXPORT:manos_uv_tcp_t_size /EXPORT:uv_tcp_init /EXPORT:uv_tcp_listen /EXPORT:uv_accept /EXPORT:manos_uv_read_start /EXPORT:uv_run /EXPORT:manos_uv_tcp_bind
+	"%VCINSTALLDIR%bin\cl.exe" uv_wrap.c /o build/uvwrap.dll libuv/build/Win32/Debug/libuv.lib ws2_32.lib advapi32.lib /link /DLL /EXPORT:uv_init /EXPORT:uv_tcp_init /EXPORT:uv_tcp_listen /EXPORT:uv_accept /EXPORT:manos_uv_read_start /EXPORT:uv_run /EXPORT:manos_uv_tcp_bind /EXPORT:manos_uv_tcp_t_create /EXPORT:manos_uv_tcp_t_destroy /EXPORT:manos_uv_write
 GOTO :EOF
 :Clean
 	rmdir /S /Q build
 	rmdir /S /Q libuv\build
 	del /Q uv_wrap.obj
-GOTO :EOF+GOTO :EOF


Increase memory for PC startup file

Increase memory for PC startup file

--- go.bat
+++ go.bat
@@ -1,5 +1,5 @@
-SET "memParams=-Xms2g -Xmx4g"
- rem SET "debugParams=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8080"
- SET debugParams=
+SET "memParams=-Xms4g -Xmx8g"
+rem SET "debugParams=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8080"
+SET debugParams=

 java -jar %memParams% %debugParams% target\RF2toRF1Converter.jar -u D:\ -v G:\incoming\SnomedCT_RF2Release_INT_20160131.zip


Remove debug message

Remove debug message

--- gear360pano.cmd
+++ gear360pano.cmd
@@ -90,7 +90,6 @@
     )
   )
   if /i "!SWITCH!" == "r" (
-    echo "Mark 7"
     rem call :PRINT_DEBUG Will remove source file(s)
     set REMOVESRCFILE=yes
   )


add for future reference how to move a bunch of directories to new naming format

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

--- mv.cmd
+++ mv.cmd
@@ -0,0 +1 @@
+for i in `ls | grep 2011`; do foo=`echo $i | cut -c 5-8`; mv $i $foo; done


add batch file for pushing

add batch file for pushing

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

--- push.bat
+++ push.bat
@@ -0,0 +1,3 @@
+@echo off
+git push
+timeout /t 60


GOD WIN.

GOD WIN.

--- push.bat
+++ push.bat
@@ -1,5 +1,5 @@
 @ECHO OFF
 git add *.*
-git commit -m "Version 0.0.0.1"
+git commit -m "GOD WIN."
 git push
 pause


Fix rc.cmd

Fix rc.cmd

--- rc.cmd
+++ rc.cmd
@@ -3,4 +3,4 @@
 call Scripts/activate.bat
 pip install -r requirements.txt
 set PYTHONPATH=%CD%
-set PATH=%CD%/bin;%PATH%
+set PATH=%CD%\bin;%PATH%


SCHEDULING-1251

SCHEDULING-1251

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

--- bin/windows/pa-dataserver-gui.bat
+++ bin/windows/pa-dataserver-gui.bat
@@ -3,7 +3,7 @@

 rem I did not use init.bat because it does not work, and I have no idea why

-set PROACTIVE=%~dp0\..
+set PROACTIVE=%~dp0\..\..

 if NOT DEFINED JAVA_HOME goto javahome
 if "%JAVA_HOME%" == "" goto javahome
@@ -15,7 +15,8 @@
 )

 SET CLASSPATH=%CLASSPATH%;%PROACTIVE%\dist\lib\ProActive.jar;%PROACTIVE%\dist\lib\ProActive_examples.jar;%PROACTIVE%\dist\lib\ProActive_utils.jar
-set JAVA_CMD="%JAVA_HOME%\bin\java.exe" -Dproactive.home="%PROACTIVE%"  -Djava.security.manager -Djava.security.policy="%PROACTIVE%\examples\proactive.java.policy"
+
+set JAVA_CMD="%JAVA_HOME%\bin\java.exe" -Dproactive.home="%PROACTIVE%"  -Djava.security.manager -Djava.security.policy="%PROACTIVE%\config\security.java.policy-client"
 %JAVA_CMD% org.objectweb.proactive.extensions.vfsprovider.gui.ServerBrowser

 goto end


no message

no message

git-svn-id: e2e1a767b54e5f731ad8ac18fa5089ee37d5625a@5 7ec92016-0320-0410-acc4-a06ded1c099a

--- s.bat
+++ s.bat
@@ -1,3 +0,0 @@
-set PATH=%PATH%;"C:\Program Files\GNU\WinCvs 1.2";"C:\Program Files\SSH Communications Security\SSH Secure Shell"
-set CVSROOT=:ext:aandrei@cvs.loki-lib.sourceforge.net:/cvsroot/loki-lib
-set CVS_RSH=ssh2


Add Build time

Add Build time

--- src/application.bat
+++ src/application.bat
@@ -1 +1,2 @@
+echo "Build:10:00"
 echo "version 1"


build: patch Windows container, fixing Node 10 (#236)

--- .kokoro/test.bat
+++ .kokoro/test.bat
@@ -17,7 +17,15 @@
 cd /d %~dp0
 cd ..

-call npm install -g npm@latest || goto :error
+@rem The image we're currently running has a broken version of Node.js enabled
+@rem by nvm (v10.15.3), which has no npm bin. This hack uses the functional
+@rem Node v8.9.1 to install npm@latest, it then uses this version of npm to
+@rem install npm for v10.15.3.
+call nvm use v8.9.1 || goto :error
+call node C:\Users\kbuilder\AppData\Roaming\nvm-ps\versions\v8.9.1\node_modules\npm-bootstrap\bin\npm-cli.js i npm -g || goto :error
+call nvm use v10.15.3 || goto :error
+call node C:\Users\kbuilder\AppData\Roaming\nvm-ps\versions\v8.9.1\node_modules\npm\bin\npm-cli.js i npm -g || goto :error
+
 call npm install || goto :error
 call npm run test || goto :error


chore: use latest npm on Windows (#156)

chore: use latest npm on Windows (#156)

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

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


Add file run.bat

Add file run.bat

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

--- ringlibs/weblib/run.bat
+++ ringlibs/weblib/run.bat
@@ -0,0 +1 @@
+start http://localhost/ringapp/index.ring


Use automatic versioning for assembly version build number

--- FullBuild.cmd
+++ FullBuild.cmd
@@ -20,7 +20,7 @@
 :main
 setlocal

-set BuildAssemblyVersion=1.0.0.0
+set BuildAssemblyVersion=1.0.0.*
 set BuildSemanticVersion=1.0.0-alpha-build0007

 echo Building version %BuildSemanticVersion% NuGet packages.


creating simple installer configuration

creating simple installer configuration

error: pathspec 'bootstrap/win32/engage_simple.cmd' did not match any file(s) known to git

--- bootstrap/win32/engage_simple.cmd
+++ bootstrap/win32/engage_simple.cmd
@@ -0,0 +1,116 @@
+@ECHO off
+SETLOCAL EnableExtensions
+SETLOCAL EnableDelayedExpansion
+
+:: ### Version History -- X.Y.Z_YYYYMMDD-hhmm Author Description
+SET version=1.0.0_20150930-0600 &: Peter Kirschner   downloading,extract,configure and launch eclipse-installer with jre
+SET version=%version: =%
+SET title=oomphInstaller script %~nx0 - version %version%
+TITLE %title%
+SET POWERSHELL_TITLE=$Host.UI.RawUI.WindowTitle='%title%'
+
+:: ###########################################################
+SET SCRIPTNAME=%~n0
+SET SCRIPT_PATH=%~dp0
+SET SCRIPT_PATH=%SCRIPT_PATH:~0,-1%
+
+SET OOMPH_NAME=oomphInstaller
+SET DOWNLOAD_LOCATION=%SCRIPT_PATH%\download
+
+SET ECLIPSE_INSTALLER_WEB=http://peterkir.github.io/org.eclipse.oomph/peterkir/products
+SET ECLIPSE_INSTALLER_ARCHIVE=org.eclipse.oomph.setup.installer.product-win32.win32.x86_64.zip
+SET ECLIPSE_INSTALLER=%ECLIPSE_INSTALLER_ARCHIVE:~0,-4%
+
+::SET JAVA_WEB=https://s3-eu-west-1.amazonaws.com/klib.io/www/_archives/java/zipped/1.8
+SET JAVA_WEB=http://jazz01.rd.corpintra.net/web/repo/_archives/java/zipped/1.8
+SET JAVA_ARCHIVE=win32.x86_64-jre1.8.0_60.zip
+SET JAVA=%JAVA_ARCHIVE:~13,-4%
+
+::ECHO.
+::ECHO # workaroung for NTLMv2 ProxyAuth - starting IE
+::ECHO.
+::SET IE_CMD="C:\Program Files (x86)\Internet Explorer\iexplore.exe www.google.de"
+::SET IE_DIR="%TEMP%"
+::FOR /F "tokens=2 delims=;=" %%a IN (
+::	'WMIC process call create %IE_CMD%^, %IE_DIR% ^| find "ProcessId"'
+::) DO (
+::	SET IE_PID=%%a
+::)
+::ECHO browser launched with PID %IE_PID%
+:: TODO search an kill the IE if not previously open WMIC process %IE_PID% delete
+
+ECHO.
+ECHO # downloading and preparing %ECLIPSE_INSTALLER%
+ECHO.
+
+:: download of a file with powershell - http://superuser.com/a/423789/344922
+MKDIR %SCRIPT_PATH%\download 2>&1 > NUL
+
+ECHO downloading archive %ECLIPSE_INSTALLER_WEB%/%ECLIPSE_INSTALLER_ARCHIVE%
+powershell -nologo -noprofile -command "%POWERSHELL_TITLE%;if ( Test-Path %DOWNLOAD_LOCATION%\%ECLIPSE_INSTALLER_ARCHIVE% ) { Write-Output 'skipping download, cause file exists - %DOWNLOAD_LOCATION%\%ECLIPSE_INSTALLER_ARCHIVE%' } else {(New-Object System.Net.WebClient).DownloadFile('%ECLIPSE_INSTALLER_WEB%/%ECLIPSE_INSTALLER_ARCHIVE%','%DOWNLOAD_LOCATION%\%ECLIPSE_INSTALLER_ARCHIVE%')}"
+
+ECHO extracting ECLIPSE_INSTALLER archive to %ECLIPSE_INSTALLER%
+powershell -nologo -noprofile  -command "%POWERSHELL_TITLE%;if ( Test-Path '%SCRIPT_PATH%\%OOMPH_NAME%' -PathType Container )  { Write-Output 'skipping extraction, cause folder exists - %SCRIPT_PATH%\%OOMPH_NAME%' } else {Add-Type -A System.IO.Compression.FileSystem; [IO.Compression.ZipFile]::ExtractToDirectory('%DOWNLOAD_LOCATION%\%ECLIPSE_INSTALLER_ARCHIVE%', '%SCRIPT_PATH%\%OOMPH_NAME%')}"
+
+ECHO.
+ECHO # downloading and configuring %JAVA_ARCHIVE%
+ECHO.
+
+ECHO downloading archive %JAVA_WEB%/%JAVA_ARCHIVE%
+powershell -nologo -noprofile  -command "%POWERSHELL_TITLE%;if ( Test-Path %DOWNLOAD_LOCATION%\%JAVA_ARCHIVE% ) { Write-Output 'skipping download, cause file exists - %DOWNLOAD_LOCATION%\%JAVA_ARCHIVE%' } else {(New-Object System.Net.WebClient).DownloadFile('%JAVA_WEB%/%JAVA_ARCHIVE%','%DOWNLOAD_LOCATION%\%JAVA_ARCHIVE%')}"
+
+ECHO extracting %ECLIPSE_INSTALLER% archive to %ECLIPSE_INSTALLER%/%JAVA%
+powershell -nologo -noprofile  -command "%POWERSHELL_TITLE%;if ( Test-Path '%SCRIPT_PATH%\%OOMPH_NAME%\jre' -PathType Container )  { Write-Output 'skipping extraction, cause folder exists - %SCRIPT_PATH%\%OOMPH_NAME%\jre' } else {Add-Type -A System.IO.Compression.FileSystem; [IO.Compression.ZipFile]::ExtractToDirectory('%DOWNLOAD_LOCATION%\%JAVA_ARCHIVE%', '%SCRIPT_PATH%\download');Move-Item %DOWNLOAD_LOCATION%\%JAVA% %SCRIPT_PATH%\%OOMPH_NAME%\jre}"
+
+SET JAVA_HOME=%SCRIPT_PATH%\%OOMPH_NAME%\jre
+SET "OOMPH_HOME=%SCRIPT_PATH%\oomph"
+SET "P2_HOME=%SCRIPT_PATH%\p2"
+
+MKDIR %OOMPH_HOME% 2>&1 > NUL
+SET OOMPH_HOME=%OOMPH_HOME:\=/%
+SET OOMPH_INI=%SCRIPT_PATH%\%OOMPH_NAME%\eclipse-inst.ini
+
+ECHO adding vmArgs to ini file
+
+:: custom added parameters
+ECHO -Doomph.home=%OOMPH_HOME% >> %OOMPH_INI%
+ECHO -Doomph.p2.agent.path=%P2_HOME% >> %OOMPH_INI%
+
+::SET INSTALL_ROOT=%SCRIPT_PATH%\install
+::MKDIR %INSTALL_ROOT% 2>&1 > NUL
+::SET INSTALL_ROOT=%INSTALL_ROOT:\=/%
+::ECHO -Dinstall.root=%INSTALL_ROOT% >> %OOMPH_INI%
+
+::SET WRKSPC_ROOT=%SCRIPT_PATH%\wrkspc
+::MKDIR %WRKSPC_ROOT% 2>&1 > NUL
+::SET WRKSPC_ROOT=%WRKSPC_ROOT:\=/%
+::ECHO -Dworkspace.container.root=%WRKSPC_ROOT% >> %OOMPH_INI%
+
+:: allow installation of unsigned bundles
+ECHO -Declipse.p2.unsignedPolicy=allow >> %OOMPH_INI%
+
+:: hidden p2 options (configured to default)
+ECHO -Declipse.p2.max.threads=4  >> %OOMPH_INI%
+ECHO -Declipse.p2.force.threading=true >> %OOMPH_INI%
+ECHO -Declipse.p2.mirrors=true >> %OOMPH_INI%
+
+:: filtering user displayed catalogs/products/versions
+ECHO -Doomph.setup.product.catalog.filter=io.klib.products >> %OOMPH_INI%
+ECHO -Doomph.setup.product.filter=idefix.cec.161 >> %OOMPH_INI%
+::ECHO -Doomph.setup.product.version.filter=none >> %OOMPH_INI%
+
+ECHO -Doomph.setup.jre.choice=false >> %OOMPH_INI%
+ECHO -Doomph.installer.update.url=http://peterkir.github.io/org.eclipse.oomph/peterkir/repo/oomph >> %OOMPH_INI%
+::ECHO -Doomph.setup.installer.mode=advanced >> %OOMPH_INI%
+ECHO -Doomph.redirection.klibProductCatalog=index:/redirectable.products.setup-^>http://peterkir.github.io/idefix/oomph/products/productsCatalog.setup >> %OOMPH_INI%
+ECHO -Doomph.redirection.klibProjectCatalog=index:/redirectable.projects.setup-^>http://peterkir.github.io/idefix/oomph/projects/projectsCatalog.setup >> %OOMPH_INI%
+
+ECHO.
+ECHO # launching %OOMPH_NAME%
+ECHO.
+START /B %SCRIPT_PATH%\%OOMPH_NAME%\eclipse-inst.exe
+
+ECHO.
+ECHO # clean-up
+ECHO.
+RMDIR /Q /S %DOWNLOAD_LOCATION%


Backslash for windows

Backslash for windows

--- recipes/ocp/bld.bat
+++ recipes/ocp/bld.bat
@@ -1,7 +1,7 @@
 set CONDA_PREFIX=%PREFIX%
 if errorlevel 1 exit 1

-cmake -B build -S "%SRC_DIR%/src" ^
+cmake -B build -S "%SRC_DIR%\src" ^
 	-G Ninja ^
 	-DCMAKE_BUILD_TYPE=Release ^
 	-DPython3_FIND_STRATEGY=LOCATION ^


Fixed the PATH again.

Fixed the PATH again.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: lhauch <larry.hauch@intel.com>
Reviewed-by:

git-svn-id: 3158a46dfd52e07d1fda3e32e1ab2e353a00b20f@15881 6f19259b-4bc3-4df7-8a09-765794883524

--- Edk2Setup.bat
+++ Edk2Setup.bat
@@ -374,17 +374,17 @@

 @REM Set up Visual Studio if required to build the Nt32Pkg/Nt32Pkg.dsc emulator
 @if "%NT32PKG%"=="TRUE" (
-    @if not defined VSINSTALLDIR @set PATH=%ORIGINAL_PATH%
+    @if not defined VSINSTALLDIR @set "PATH=%ORIGINAL_PATH%"
     @if not defined NT32_X64 @call "%WORKSPACE%\BaseTools\get_vsvars.bat"
     @if defined NT32_X64 call "%WORKSPACE%\BaseTools\Scripts\SetVisualStudio.bat"
     @set NT32_X64=
 )
 @if "%NT32PKG%"=="TRUE" (
-    @if not defined VS_PATH set VS_PATH=%PATH%
+    @if not defined VS_PATH set "VS_PATH=%PATH%"
 )
 @if defined VS_PATH @set "PATH=%VS_PATH%"
 @if not defined VS_PATH @set "PATH=%ORIGINAL_PATH%"
-@set "PATH=%EDK_TOOLS_PATH%\Bin\Win32";%PATH%
+@set "PATH=%EDK_TOOLS_PATH%\Bin\Win32;%PATH%"

 @if "%REBUILD_TOOLS%"=="TRUE" @goto Rebuild
 @if "%SVN_PULL%"== "TRUE" (


Fixed running unit tests on myget.org.

Fixed running unit tests on myget.org.

--- MyGet.bat
+++ MyGet.bat
@@ -35,12 +35,13 @@

 if "%GallioEcho%" == "" (

-  rem Simulate myget.org environment.
+  echo Running tests with mstest...
   "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\mstest.exe" /testcontainer:Projects\TestMagic.Tests\bin\Release\TestMagic.Tests.dll"
+
 ) else (

-  rem myget.org build server.
-  %GallioEcho%  Projects\TestMagic.Tests\bin\Release\TestMagic.Tests.dll
+  echo Running tests with Gallio...
+  "%GallioEcho%" Projects\TestMagic.Tests\bin\Release\TestMagic.Tests.dll
 )

 if not "%errorlevel%" == "0" goto Error


Update GetAndBuildThis batch file

Update GetAndBuildThis batch file

--- GetAndBuildThis.bat
+++ GetAndBuildThis.bat
@@ -1,3 +1,12 @@
-call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"
+IF "%1"=="" (
+	set BUILD_CONFIG="Debug"
+) ELSE (
+	set BUILD_CONFIG=%1
+)
+
+IF "%2"=="" (
+	call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"
+)
+
 hg pull -u --rebase
-msbuild "Palaso VS2010.sln" /verbosity:quiet /maxcpucount
+msbuild "Palaso VS2010.sln" /verbosity:quiet /maxcpucount /p:Configuration=%BUILD_CONFIG%


Fix copy script

Fix copy script

--- Scripts/CopyToKSPDirectory.bat
+++ Scripts/CopyToKSPDirectory.bat
@@ -52,7 +52,7 @@
 IF DEFINED KSPPATH2 (del "%KSPPATH2%\GameData\LunaMultiplayer\Flags\*.*" /Q /F)

 xcopy /Y /s /e "%~dp0..\External\Dependencies\Harmony\" "%KSPPATH%\GameData\"
-IF DEFINED KSPPATH2 (xcopy /Y "%~dp0..\External\Dependencies\Harmony\*.*" "%KSPPATH2%\GameData\")
+IF DEFINED KSPPATH2 (xcopy /Y /s /e "%~dp0..\External\Dependencies\Harmony\" "%KSPPATH2%\GameData\")

 xcopy /Y "%~dp0..\LmpClient\bin\%SOLUTIONCONFIGURATION%\*.*" "%KSPPATH%\GameData\LunaMultiplayer\Plugins"
 IF DEFINED KSPPATH2 (xcopy /Y "%~dp0..\LmpClient\bin\%SOLUTIONCONFIGURATION%\*.*" "%KSPPATH2%\GameData\LunaMultiplayer\Plugins")


Missing SQL dependencies.

Missing SQL dependencies.

--- Build.bat
+++ Build.bat
@@ -5,7 +5,7 @@
 CALL Tools\Build\FindVisualStudio.bat || GOTO Error0

 REM Updating the build version.
-PowerShell .\ChangeVersion.ps1 %Version% %Prerelease% || GOTO Error0
+PowerShell -ExecutionPolicy ByPass .\ChangeVersion.ps1 %Version% %Prerelease% || GOTO Error0

 WHERE /Q NuGet.exe || ECHO ERROR: Please download the NuGet.exe command line tool. && GOTO Error0
 NuGet restore -NonInteractive || GOTO Error0
@@ -14,7 +14,7 @@
 NuGet pack -OutputDirectory Install || GOTO Error0

 REM Updating the build version back to "dev" (internal development build), to avoid spamming git history with timestamped prerelease versions.
-PowerShell .\ChangeVersion.ps1 %Version% dev || GOTO Error0
+PowerShell -ExecutionPolicy ByPass .\ChangeVersion.ps1 %Version% dev || GOTO Error0

 @REM ================================================


adding network type to the variables to be used

--- bin/cea-workflow.bat
+++ bin/cea-workflow.bat
@@ -14,6 +14,12 @@
     echo please set CEA-WEATHER first
     exit /b 1
 )
+
+if not defined CEA-NETWORK-TYPE (
+    echo please set CEA-NETWORK-TYPE first
+    exit /b 1
+)
+

 rem run each script, break on error

@@ -49,7 +55,7 @@

 rem network-layout
 echo %date% %time% network-layout begin >> %CEA-SCENARIO%\cea-workflow.log
-cea network-layout
+cea network-layout --network-type %CEA-NETWORK-TYPE%
 if %errorlevel% neq 0 exit /b %errorlevel%
 echo %date% %time% network-layout end >> %CEA-SCENARIO%\cea-workflow.log

@@ -97,7 +103,7 @@

 rem thermal-network-matrix
 echo %date% %time% thermal-network-matrix begin >> %CEA-SCENARIO%\cea-workflow.log
-cea thermal-network-matrix
+cea thermal-network-matrix --network-type %CEA-NETWORK-TYPE%
 if %errorlevel% neq 0 exit /b %errorlevel%
 echo %date% %time% thermal-network-matrix end >> %CEA-SCENARIO%\cea-workflow.log


cygwin-setup.bat: fix syntax error, check for cygrunsrv before stopping services

--- bin/cygwin-setup.bat
+++ bin/cygwin-setup.bat
@@ -26,6 +26,7 @@
 goto :eof

 :stop_services
+    if not exist "%_ROOTDIR%\bin\cygrunsrv.exe" goto :eof
     for /f "usebackq" %%s in (`%_ROOTDIR%\bin\cygrunsrv.exe --list`) do (
         echo %_PREFIX% Stopping %%s
         %_ROOTDIR%\bin\cygrunsrv --stop %%s
@@ -86,13 +87,13 @@
         goto :eof
     )
     findstr /r "^sshd:" %_ROOTDIR%\etc\passwd
-    if %ERRORLEVEL% EQL 0 (
+    if %ERRORLEVEL% EQU 0 (
         echo %_PREFIX% ERROR: sshd account found in /etc/passwd
         goto :eof
     )
     %_ROOTDIR%\bin\bash --login -i -c "/usr/bin/ssh-host-config"
+    echo %_PREFIX% Disabling reverse DNS lookup by sshd
     %_ROOTDIR%\bin\bash --login -i -c "/usr/bin/sed -i -e 's/#UseDNS yes/UseDNS no/' /etc/sshd_config"
-    rem%_ROOTDIR%\bin\bash --login -i -c "/usr/bin/chown fdsv-sa-prx-sshdsrvr /etc/ssh* /var/empty /var/log/lastlog"
 goto :eof

 :config_lsa


I can pack Nupkgs too!

I can pack Nupkgs too!

--- Testable.Events/Package.bat
+++ Testable.Events/Package.bat
@@ -1,3 +1,3 @@
 @echo off

-..\.nuget\nuget.exe pack -OutputDirectory ..\build -sym proj\Testable.Events.Net45.csproj
+..\.nuget\nuget.exe pack -OutputDirectory ..\build -sym src_net45\Testable.Events.Net45.csproj


Initialize VS environment in external.bat as well.

--- Tools/buildbot/external.bat
+++ Tools/buildbot/external.bat
@@ -2,6 +2,7 @@

 @rem Assume we start inside the Python source directory
 cd ..
+call "%VS71COMNTOOLS%vsvars32.bat"

 @rem bzip
 if not exist bzip2-1.0.3 svn export http://svn.python.org/projects/external/bzip2-1.0.3


NetKVM: Improve clean.bat

NetKVM: Improve clean.bat

Several logs were not removed during the run of clean.bat.

Signed-off-by: Yan Vugenfirer <42a2f19fc0e2f936689088d7ea4bb1f2d7be23d6@redhat.com>

--- NetKVM/clean.bat
+++ NetKVM/clean.bat
@@ -23,6 +23,12 @@
 call :rmdir "NetKVM Package\x64"
 call :rmdir x64
 call :rmdir x86
+del build.err
+del build.log
+del buildfre_*.log
+del buildchk_*.log
+del msbuild.log
+del netkvm.DVL.XML
 call clean_dvl_log.cmd

 pushd CoInstaller


minor simplification

minor simplification

--- run/JBookTrader.cmd
+++ run/JBookTrader.cmd
@@ -1,6 +1,5 @@
 echo off
 set appHome=..
-set javaHome=C:/WINDOWS/system32/

 set cp=%appHome%
 set cp=%cp%;%appHome%/classes
@@ -20,5 +19,5 @@
 set mainClass=com.jbooktrader.platform.startup.JBookTrader

 echo on
-%javaHome%java.exe -cp "%cp%" %javaOptions% %mainClass% "%appHome%"
+java.exe -cp "%cp%" %javaOptions% %mainClass% "%appHome%"


remove some debuging

remove some debuging

--- recipes/fossil/bld.bat
+++ recipes/fossil/bld.bat
@@ -1,9 +1,7 @@
 @echo ON
 cd win
 if errorlevel 1 exit 1
-dir
 nmake /f Makefile.msc FOSSIL_DYNAMIC_BUILD=1 FOSSIL_ENABLE_SSL=1 FOSSIL_ENABLE_JSON=1 FOSSIL_ENABLE_TCL=1 FOSSIL_BUILD_ZLIB=0 PERLDIR=%PREFIX%\Library\bin
 if errorlevel 1 exit 1
-dir
 copy fossil.exe %SCRIPTS%\fossil.exe
 if errorlevel 1 exit 1


Update bld.bat

Update bld.bat

--- recipes/pdal-c/bld.bat
+++ recipes/pdal-c/bld.bat
@@ -1,23 +1,3 @@
-:: Helper script for vcpkg-based x64-windows vscode build tasks
-
-:: This script assumes that cmake is in PATH
-:: TODO Auto-detect latest platform
-set SCRIPT_DIR=%~dp0
-
-if not defined TOOLCHAIN set TOOLCHAIN=%VCPKG_ROOT%\scripts\buildsystems\vcpkg.cmake
-if not defined BUILD_TYPE set BUILD_TYPE=Release
-if not defined ARCH set ARCH=x64
-if not defined TARGET_OS set TARGET_OS=windows
-
-set TRIPLET=%ARCH%-%TARGET_OS%
-
-set BUILD_DIR=%SCRIPT_DIR%\build\%TRIPLET%
-
-if exist "%BUILD_DIR%\pdal-c.sln" (
-	pushd "%BUILD_DIR%"
-) else (
-	mkdir "%BUILD_DIR%"
-	pushd "%BUILD_DIR%"

 	cmake ../.. ^
 		-DCMAKE_BUILD_TYPE=%BUILD_TYPE% ^


add gen_external_vs2010.bat

add gen_external_vs2010.bat

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

--- external/build/gen_external_vs2010.bat
+++ external/build/gen_external_vs2010.bat
@@ -0,0 +1,2 @@
+..\..\build\scripts\dist\builder -external -vs2010
+pause


remove lang bat file

remove lang bat file

--- src/main/resources/assets/samsapples/lang/copy.bat
+++ src/main/resources/assets/samsapples/lang/copy.bat
@@ -1,3 +0,0 @@
-echo y | copy/-Y en_CA.lang en_US.lang
-echo y | copy/-Y en_CA.lang en_GB.lang
-echo y | copy/-Y en_CA.lang en_AU.lang


Make dartdoc.bat work with snapshots and run in the repo.

This supercedes https://codereview.chromium.org/16415003/.

BUG=
R=dgrove@google.com

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

git-svn-id: c93d8a2297af3b929165606efe145742a534bc71@23722 260f80e4-7a28-3924-810f-c04153c831b5

--- sdk/bin/dartdoc.bat
+++ sdk/bin/dartdoc.bat
@@ -3,15 +3,49 @@
 REM for details. All rights reserved. Use of this source code is governed by a
 REM BSD-style license that can be found in the LICENSE file.

-set SCRIPTPATH=%~dp0
+setlocal
+rem Handle the case where dart-sdk/bin has been symlinked to.
+set DIR_NAME_WITH_SLASH=%~dp0
+set DIR_NAME=%DIR_NAME_WITH_SLASH:~0,-1%%
+call :follow_links "%DIR_NAME%", RETURNED_BIN_DIR
+rem Get rid of surrounding quotes.
+for %%i in ("%RETURNED_BIN_DIR%") do set BIN_DIR=%%~fi

-REM Does the path have a trailing slash? If so, remove it.
-if %SCRIPTPATH:~-1%== set SCRIPTPATH=%SCRIPTPATH:~0,-1%
+rem Get absolute full name for SDK_DIR.
+for %%i in ("%BIN_DIR%\..\") do set SDK_DIR=%%~fi

-set arguments=%*
-rem set SNAPSHOTNAME="%SCRIPTPATH%dartdoc.snapshot"
-rem if exist %SNAPSHOTNAME% set SNAPSHOT=--use-script-snapshot=%SNAPSHOTNAME%
+rem Remove trailing backslash if there is one
+IF %SDK_DIR:~-1%==\ set SDK_DIR=%SDK_DIR:~0,-1%

-:: The trailing forward slash in --package-root is required because of issue
-:: 9499.
-"%SCRIPTPATH%dart" --heap_growth_rate=32 "--package-root=%SCRIPTPATH%..\packages/" %SNAPSHOT% "%SCRIPTPATH%..\lib\_internal\dartdoc\bin\dartdoc.dart" %arguments%
+set DARTDOC=%SDK_DIR%\lib\_internal\dartdoc\bin\dartdoc.dart
+set DART=%BIN_DIR%\dart
+set SNAPSHOT=%BIN_DIR%\snapshots\utils_wrapper.dart.snapshot
+
+if not defined DART_CONFIGURATION set DART_CONFIGURATION=ReleaseIA32
+
+set BUILD_DIR=%SDK_DIR%\..\build\%DART_CONFIGURATION%
+if exist "%SNAPSHOT%" (
+  "%DART%" "%SNAPSHOT%" "dartdoc" %*
+) else (
+  :: The trailing forward slash in --package-root is required because of issue
+  :: 9499.
+  "%BUILD_DIR%\dart-sdk\bin\dart" "--package-root=%BUILD_DIR%\packages/" "%DARTDOC%" %*
+)
+
+endlocal
+
+exit /b %errorlevel%
+
+:follow_links
+setlocal
+for %%i in (%1) do set result=%%~fi
+set current=
+for /f "tokens=2 delims=[]" %%i in ('dir /a:l ^"%~dp1^" 2^>nul ^
+                                     ^| find ">     %~n1 ["') do (
+  set current=%%i
+)
+if not "%current%"=="" call :follow_links "%current%", result
+endlocal & set %~2=%result%
+goto :eof
+
+:end


BISERVER-4632-Installer scripts and archive scripts must to remain the same so that there is consistency on how the applications runs.

git-svn-id: 51b39fcfd0d3a6ea7caa15377cad4af13b9d2664@14006 5fb7f6ec-07c1-534a-b4ca-9155e429e800

--- bin/Spoon.bat
+++ bin/Spoon.bat
@@ -31,7 +31,7 @@
 REM Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
 REM Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)
 REM
-FOR /F %%a IN ('""%_PENTAHO_JAVA%" -version" 2^>^&1^|find /C "64-Bit"') DO (SET /a IS64BITJAVA=%%a)
+FOR /F %%a IN ('java -version 2^>^&1^|find /C "64-Bit"') DO (SET /a IS64BITJAVA=%%a)
 IF %IS64BITJAVA% == 1 GOTO :USE64
 :USE32
 REM ===========================================


chore: bump to report generator dep

chore: bump to report generator dep

--- tools/testcoverage.bat
+++ tools/testcoverage.bat
@@ -9,7 +9,7 @@

 cd ../../%destination%

-set "reportgenerator=%UserProfile%\.nuget\packages\reportgenerator\4.3.2\tools\net47\ReportGenerator.exe"
+set "reportgenerator=%UserProfile%\.nuget\packages\reportgenerator\4.3.3\tools\net47\ReportGenerator.exe"
 set "targetdir=."

 "%reportGenerator%" -reports:coverage.xml -reporttypes:HtmlInline -targetdir:%targetdir%


Saving

Saving

--- autoclean.bat
+++ autoclean.bat
@@ -2,6 +2,7 @@
 rem test del %homedir%/desktop/techtutors/ command
 rem add test for techtemp
 rem add test for non null entries
+rem check where netletter test went...

 @echo off
     color 1f


Add console logger to test command (#20273)

--- eng/helix/content/runtests.cmd
+++ eng/helix/content/runtests.cmd
@@ -77,7 +77,7 @@
 set QUARANTINE_FILTER="Quarantined=true"
 if %$quarantined%==true (
     echo Running quarantined tests.
-    %DOTNET_ROOT%\dotnet vstest %$target% --logger:xunit --TestCaseFilter:%QUARANTINE_FILTER%
+    %DOTNET_ROOT%\dotnet vstest %$target% --logger:xunit --logger:"console;verbosity=normal" --TestCaseFilter:%QUARANTINE_FILTER%
     if errorlevel 1 (
         echo Failure in quarantined test 1>&2
         REM DO NOT EXIT and DO NOT SET EXIT_CODE to 1
@@ -85,7 +85,7 @@
 ) else (
     REM Filter syntax: https://github.com/Microsoft/vstest-docs/blob/master/docs/filter.md
     echo Running non-quarantined tests.
-    %DOTNET_ROOT%\dotnet vstest %$target% --logger:xunit --TestCaseFilter:%NONQUARANTINE_FILTER%
+    %DOTNET_ROOT%\dotnet vstest %$target% --logger:xunit --logger:"console;verbosity=normal" --TestCaseFilter:%NONQUARANTINE_FILTER%
     if errorlevel 1 (
         echo Failure in non-quarantined test 1>&2
         set exit_code=1


fix windows script

fix windows script

--- bin/start.bat
+++ bin/start.bat
@@ -1,6 +1,15 @@
 @ECHO OFF

-node ./browser/server.js --apikey %RPC_API_KEY% --serverport %SERVER_PORT% --daemon &
+setlocal
+for %%P in (%PATHEXT%) do (
+    if exist "%%~$PATH:node.exe" (
+      start "server" %%~$PATH:node.exe ./browser/server.js --apikey %RPC_API_KEY% --serverport %SERVER_PORT% --daemon
+      GOTO next
+    )
+  )
+)
+
+:next

 ./bin/decentraland-node \
   --fast \


Shim the shim because Studio needs a 'valid windows executable'.

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

--- p4shim.cmd
+++ p4shim.cmd
@@ -0,0 +1 @@
+c:\dev\tools\p4shim.py %*


[DEVOPS-646] Since bridge is gone, cardano zip is smaller

--- scripts/build-installer-win64.bat
+++ scripts/build-installer-win64.bat
@@ -4,7 +4,7 @@
 rem
 rem   installer dev mode:  set SKIP_TO_FRONTEND/SKIP_TO_INSTALLER

-set MIN_CARDANO_BYTES=50000000
+set MIN_CARDANO_BYTES=20000000
 set LIBRESSL_VERSION=2.5.3
 set CURL_VERSION=7.54.0
 set CARDANO_BRANCH_DEFAULT=cardano-sl-1.0


add bat file

add bat file

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

--- icb.bat
+++ icb.bat
@@ -0,0 +1 @@
+python C:\internetConnectionBreaker\icb.py %*


chore: use latest npm on Windows (#80)

chore: use latest npm on Windows (#80)

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

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


returning exit code

returning exit code

--- tests/SimpleFixture.Tests/CodeCoverageAppVeyor.cmd
+++ tests/SimpleFixture.Tests/CodeCoverageAppVeyor.cmd
@@ -13,7 +13,12 @@
 nuget install coveralls.net -Version 0.412.0 -OutputDirectory ..\..\tools

 REM Run code coverage analysis
-%opencover% -oldStyle -register:user -target:%dotnet% -output:%coveragefile% -targetargs:%targetargs% -filter:%filter% -skipautoprops -hideskipped:All
+%opencover% -oldStyle -returntargetcode -register:user -target:%dotnet% -output:%coveragefile% -targetargs:%targetargs% -filter:%filter% -skipautoprops -hideskipped:All
+
+IF %ERRORLEVEL% NEQ 0 (
+    Echo Unit tests failed
+	EXIT /B %ERRORLEVEL%
+)

 REM publish
-%coveralls% --serviceName appveyor --opencover -i .\Coverage.xml+IF NOT "%COVERALLS_REPO_TOKEN%"=="" %coveralls% --serviceName appveyor --opencover -i .\Coverage.xml


fixed debug build

fixed debug build

--- build_lib.bat
+++ build_lib.bat
@@ -4,10 +4,11 @@

 make -f %GDK_WIN%\makelib.gen clean
 make -f %GDK_WIN%\makelib.gen release
+make -f %GDK_WIN%\makelib.gen clean
 make -f %GDK_WIN%\makelib.gen debug

 @ECHO.
 @ECHO.
 @ECHO -------------------------------------------
 @ECHO SGDK is now ready! Press any key to exit...
-@PAUSE >nul+@PAUSE >nul


support script: opalias

support script: opalias

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

--- scripts/opalias_ql.cmd
+++ scripts/opalias_ql.cmd
@@ -0,0 +1,18 @@
+#
+# opaliases for qLib
+#
+# this file is intended for assets that are initially, but named properly later.
+#
+# if your scene complains about not findind qLib assets, source this file
+# and reopen your .hip file.
+#
+#
+
+# misspelled asset names
+#
+opalias Sop qLib::proxy_primgroups_ql::1 proxy_primgroups
+
+
+# ...
+#
+


Signed-off-by: Alborz A. Amir-Khalili <alborza@bisicl.ad.ece.ubc.ca>

--- Azure_client.bat
+++ Azure_client.bat
@@ -14,6 +14,7 @@
 :loop
 timeout 10
 %DBPATH%\clientbayes.exe %LOCALADD% %LOCALADD%:12456 %SERVERADD% %XDATA% %YDATA% log 1
+goto loop

 rem %DBPATH%\clientbayes.exe %LOCALADD% %LOCALADD%:12456 %SERVERADD% %XDATA% %YDATA% log 0
 rem :loop


Windows buildbot should use msvc 2019 as well

--- Tools/autobuild.cmd
+++ Tools/autobuild.cmd
@@ -126,12 +126,12 @@

 if "%ARCH%" == "64" (
 SET MINGWDIR=%RTOOLSDIR%\mingw_64\bin
-SET QTVCDIR=%QTDIR%\%QTVER%\msvc2017_64\bin
+SET QTVCDIR=%QTDIR%\%QTVER%\msvc2019_64\bin
 SET WIXARCH="x64"
 SET COPY_R_ARCH="x64"
 ) else (
 SET MINGWDIR=%RTOOLSDIR%\mingw_32\bin
-SET QTVCDIR=%QTDIR%\%QTVER%\msvc2017\bin
+SET QTVCDIR=%QTDIR%\%QTVER%\msvc2019\bin
 SET WIXARCH="x86"
 SET COPY_R_ARCH="i386"
 )
@@ -314,6 +314,8 @@

 SET MERGEMODULENAME=Microsoft_VC141_CRT_%WIXARCH%.msm

+echo VCToolsRedistDir: "%VCToolsRedistDir%"
+
 COPY "%VCToolsRedistDir%\MergeModules\%MERGEMODULENAME%" /Y
 "%WIX%\bin\heat.exe" dir .\%JASP_INSTALL_DIR% -cg JASPFiles -gg -scom -sreg -sfrag -srd -dr APPLICATIONFOLDER -var var.JASP_INSTALL_DIR -out JASPFilesFragment.wxs || exit /B 7


Added _OpenInIntelliJ.bat for direct opening the project

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

--- _OpenInIntelliJ.bat
+++ _OpenInIntelliJ.bat
@@ -0,0 +1,8 @@
+set projectPath=%~dp0
+set intellij_bin=A:\IntelliJIDEA\bin
+
+
+rem IntelliJ needs the project path without a trailing backslash
+if %projectPath:~-1%==\ set projectPath=%projectPath:~0,-1%
+
+start "" /D "%intellij_bin%" "idea.exe" "%projectPath%"


NOJIRA allow the windows ant.bat to be run from anywhere

git-svn-id: 477788cc2a8229a747c5b8073e47c1d0f6ec0604@15593 f5dbab47-78f9-eb45-b975-e544023573eb

--- assembly/quickstart/ant.bat
+++ assembly/quickstart/ant.bat
@@ -1,3 +1,3 @@
 @echo off
-set ANT_HOME=%CD%\@ant.name@
-%CD%\@ant.name@\bin\ant.bat %*
+set ANT_HOME=%~dp0\@ant.name@
+%~dp0\@ant.name@\bin\ant.bat %*


Forgot the buildconf.bat :)

Forgot the buildconf.bat :)

Please don't correct the DOS endings - earlier versions of Windows need them.

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

--- buildconf.bat
+++ buildconf.bat
@@ -0,0 +1,2 @@
+@echo off
+cscript /nologo win32\buildconf.js


no message

no message

--- sage/deploy.cmd
+++ sage/deploy.cmd
@@ -124,11 +124,9 @@
 :: 6. Django collectstatic
 IF EXIST "%DEPLOYMENT_TARGET%\manage.py" (
   IF EXIST "%DEPLOYMENT_TARGET%\env\lib\site-packages\django" (
-    IF NOT EXIST "%DEPLOYMENT_TARGET%\.skipDjango" (
       echo Collecting Django static files. You can skip Django specific steps with a .skipDjango file.
       IF NOT EXIST "%DEPLOYMENT_TARGET%\static" (
         MKDIR "%DEPLOYMENT_TARGET%\static"
-      )
       env\scripts\python manage.py runserver 0.0.0.0:8000
     )
   )


No version in win start script

No version in win start script

--- bin/fdbsqllayer.cmd
+++ bin/fdbsqllayer.cmd
@@ -17,9 +17,8 @@

 @ECHO OFF

-SETLOCAL
-
-SET SERVER_JAR=fdb-sql-layer-1.9.1-SNAPSHOT.jar
+SETLOCAL EnableDelayedExpansion
+
 SET SERVICE_NAME=fdbsqllayer
 SET SERVICE_DNAME=FoundationDB SQL Layer
 SET SERVICE_DESC=FoundationDB SQL Layer
@@ -30,7 +29,7 @@

 FOR %%P IN ("%~dp0..") DO SET FDBSQL_HOME=%%~fP

-SET JAR_FILE=%FDBSQL_HOME%\sql\lib\%SERVER_JAR%
+CALL:findJarFile "%FDBSQL_HOME%\sql\lib"
 SET DEP_DIR=%FDBSQL_HOME%\sql\lib\server
 SET FDBSQL_HOME_DIR=%FDBSQL_HOME%\sql
 @REM Replaced during install
@@ -58,7 +57,7 @@

 FOR %%P IN ("%~dp0..") DO SET BUILD_HOME=%%~fP

-SET JAR_FILE=%BUILD_HOME%\target\%SERVER_JAR%
+CALL:findJarFile "%BUILD_HOME%\target"
 SET DEP_DIR=%BUILD_HOME%\target\dependency
 SET FDBSQL_CONF=%BUILD_HOME%\conf
 SET FDBSQL_LOGDIR=\tmp\fdbsqllayer
@@ -221,5 +220,19 @@
 PAUSE
 GOTO EOF

+:findJarFile
+SET JAR_FILE=
+FOR %%P IN ("%~1\fdb-sql-layer*.jar") DO (
+    SET T=%%P
+    REM Ignore files that change with -test, -source and -client removed
+    IF "!T:test=!"=="%%P" IF "!T:source=!"=="%%P" IF "!T:client=!"=="%%P" (
+        SET JAR_FILE=%%P
+    )
+)
+IF "%JAR_FILE%"=="" (
+    ECHO No jar file in %~1
+)
+GOTO:EOF
+
 :EOF
 ENDLOCAL


Adding script to create Windows release

Adding script to create Windows release

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

--- win_create_release.cmd
+++ win_create_release.cmd
@@ -0,0 +1,6 @@
+#!/bin/bash
+mkdir ./PokerTH
+mv release/pokerth.exe ./PokerTH/
+cp -R ./data ./PokerTH/
+find ./PokerTH/ -name ".svn" -exec rm -rf {} \;
+zip -r PokerTH-windows.zip ./PokerTH


Windows unit tests should run in parallel

[#168085969](https://www.pivotaltracker.com/story/show/168085969)

Co-authored-by: Steve Taylor <2618d8eeb38db5666975df4fd945cc4512e3f384@pivotal.io>

--- ci/cli/tasks/units-windows.bat
+++ ci/cli/tasks/units-windows.bat
@@ -11,4 +11,4 @@

 ginkgo version

-ginkgo -r -randomizeAllSpecs -randomizeSuites -skipPackage integration -flakeAttempts=2 .
+ginkgo -r -p -randomizeAllSpecs -randomizeSuites -skipPackage integration -flakeAttempts=2 .


fixed svn properties

fixed svn properties

git-svn-id: 2f0e1b834f829f9d45d4005679b0d62d953a4cdf@2423 4396de85-42e0-4213-a939-0f47b466bcdf

--- data/bin/symfony.bat
+++ data/bin/symfony.bat
@@ -1,39 +1,39 @@
-@echo off
-
-rem *************************************************************
-rem ** symfony CLI for Windows based systems (based on phing.bat)
-rem *************************************************************
-
-rem This script will do the following:
-rem - check for PHP_COMMAND env, if found, use it.
-rem   - if not found detect php, if found use it, otherwise err and terminate
-
-if "%OS%"=="Windows_NT" @setlocal
-
-rem %~dp0 is expanded pathname of the current script under NT
-set SCRIPT_DIR=%~dp0
-
-goto init
-
-:init
-
-if "%PHP_COMMAND%" == "" goto no_phpcommand
-
-IF EXIST ".\symfony" (
-  %PHP_COMMAND% -d html_errors=off ".\symfony" %1 %2 %3 %4 %5 %6 %7 %8 %9
-) ELSE (
-  %PHP_COMMAND% -d html_errors=off "%SCRIPT_DIR%\symfony" %1 %2 %3 %4 %5 %6 %7 %8 %9
-)
-goto cleanup
-
-:no_phpcommand
-rem echo ------------------------------------------------------------------------
-rem echo WARNING: Set environment var PHP_COMMAND to the location of your php.exe
-rem echo          executable (e.g. C:\PHP\php.exe).  (assuming php.exe on PATH)
-rem echo ------------------------------------------------------------------------
-set PHP_COMMAND=php.exe
-goto init
-
-:cleanup
-if "%OS%"=="Windows_NT" @endlocal
-rem pause
+@echo off
+
+rem *************************************************************
+rem ** symfony CLI for Windows based systems (based on phing.bat)
+rem *************************************************************
+
+rem This script will do the following:
+rem - check for PHP_COMMAND env, if found, use it.
+rem   - if not found detect php, if found use it, otherwise err and terminate
+
+if "%OS%"=="Windows_NT" @setlocal
+
+rem %~dp0 is expanded pathname of the current script under NT
+set SCRIPT_DIR=%~dp0
+
+goto init
+
+:init
+
+if "%PHP_COMMAND%" == "" goto no_phpcommand
+
+IF EXIST ".\symfony" (
+  %PHP_COMMAND% -d html_errors=off ".\symfony" %1 %2 %3 %4 %5 %6 %7 %8 %9
+) ELSE (
+  %PHP_COMMAND% -d html_errors=off "%SCRIPT_DIR%\symfony" %1 %2 %3 %4 %5 %6 %7 %8 %9
+)
+goto cleanup
+
+:no_phpcommand
+rem echo ------------------------------------------------------------------------
+rem echo WARNING: Set environment var PHP_COMMAND to the location of your php.exe
+rem echo          executable (e.g. C:\PHP\php.exe).  (assuming php.exe on PATH)
+rem echo ------------------------------------------------------------------------
+set PHP_COMMAND=php.exe
+goto init
+
+:cleanup
+if "%OS%"=="Windows_NT" @endlocal
+rem pause


Copy 3rdParty folder.

Copy 3rdParty folder.

--- Builder/copySrc.cmd
+++ Builder/copySrc.cmd
@@ -5,6 +5,14 @@

 xcopy /s /i /Y ..\YaccConstructor .\workdir\src

+if  exist .\workdir\3rdParty (
+    rd /s /q .\workdir\3rdParty )
+
+mkdir .\workdir\3rdParty
+
+xcopy /s /i /Y ..\3rdParty .\workdir\3rdParty
+
+
 cd scripts

 fsi prepare.fsx


Update after removing setup.bat.

Update after removing setup.bat.

--- external/mswin/for_binaries/prepare_for_binaries.bat
+++ external/mswin/for_binaries/prepare_for_binaries.bat
@@ -3,23 +3,15 @@
 REM *** SETUP THIS COPY OF TOPOGRAPHICA FOR MAKING A BINARY INSTALLATION ***
 REM *** BE SURE YOU MEAN TO DO THIS TO YOUR COPY! ***

-REM    - deletes setup.bat from root topographica directory
-REM    - copies this directory's setup.bat to setup/ subdirectory
+REM    - copies setup.py to root directory
 REM    - cleans files that aren't needed for the binary version

-
-
-
-
-REM Put the setup scripts into {topographica}/setup/
-mkdir ..\..\..\setup
-copy setup.bat ..\..\..\setup\
-copy ..\setup.py ..\..\..\setup\
+REM Put the setup script into {topographica}
+copy ..\setup.py ..\..\..\

 REM Clean this copy of Topographica...
-

 REM ** root directory


Fixed ScriptCop filter

Fixed ScriptCop filter

--- _buildTools/RunScriptCop.bat
+++ _buildTools/RunScriptCop.bat
@@ -3,11 +3,11 @@
 SET SCRIPTCOP_PATH=%1
 SET SCRIPTCOP_EXCLUDE=%2
 IF "%1"=="" SET SCRIPTCOP_PATH=%~dp0..
-IF "%2"=="" SET SCRIPTCOP_EXCLUDE="@('bat','_buildTools','dsc','externalLibs','teamcityProvisioning','examples','configurations')"
+IF "%2"=="" SET SCRIPTCOP_EXCLUDE="@('bat','_buildTools','dsc','externalLibs','teamcityProvisioning','examples','BuiltinSteps')"

 powershell -command "& {. '.\Invoke-ScriptCop.ps1'; Invoke-ScriptCop -Path '%SCRIPTCOP_PATH%' -ExcludeNames %SCRIPTCOP_EXCLUDE% }"
 if "%TEAMCITY_VERSION%"=="" pause
 EXIT /B %errorlevel%

 :parametermissing
-echo %0 path+echo %0 path


version number

version number

--- nuspec/pack.bat
+++ nuspec/pack.bat
@@ -1,6 +1,6 @@
 del *.nupkg

-set version=200.4.1.1
+set version=200.4.2

 nuget pack Chance.MvvmCross.Plugins.UserInteraction.nuspec -Version %version%
 copy /y *.nupkg ..\..\nugets


Updated release package script.

Updated release package script.

--- PackageReleases.bat
+++ PackageReleases.bat
@@ -1,10 +1,30 @@
 @Echo off

+REM Ask for the version number of the release
 set twitterizerver=
 set /P twitterizerver=What is the version number? %=%

+REM Loop through each directory (one for each package) and zip them up
 FOR /f %%a IN ('dir /b /ad .\Release\') DO (
-PUSHD "Release\%%a\"
+IF EXIST "%%a-%twitterizerver%.zip" del /Q "%%a-%twitterizerver%.zip"
+PUSHD "Release\%%a"
 "%ProgramFiles%\7-Zip\7z.exe" a -r "..\%%a-%twitterizerver%.zip" *.*
 POPD
-)+)
+
+REM Check if the source directory is there from a previous failed attempt and delete it
+IF EXIST "Release\Twitterizer%twitterizerver%-source" RD /S /Q "Release\Twitterizer%twitterizerver%-source"
+
+REM Make our source directory
+mkdir "Release\Twitterizer%twitterizerver%-source"
+
+REM Export our working copy to the source directory
+svn export --force . "Release\Twitterizer%twitterizerver%-source"
+
+REM Zip up the source code
+PUSHD "Release\Twitterizer%twitterizerver%-source"
+"%ProgramFiles%\7-Zip\7z.exe" a -r "..\Twitterizer%twitterizerver%-source.zip" *.*
+popd
+
+REM Cleanup
+RD /S /Q "Release\Twitterizer%twitterizerver%-source"


commit on 12/06/2018 at 10:17:04

commit on 12/06/2018 at 10:17:04

--- ansys-APDL/fiberDebond3D.cmd
+++ ansys-APDL/fiberDebond3D.cmd
@@ -48,6 +48,7 @@
 theta0 = 0.0      ! [deg] angular position of debond
 deltatheta = 10.0 ! [deg] 2*deltatheta = debond size
 deltaphi = 5.0    ! [deg] refined area size
+delta = 0.05      ! [deg] angular size of element at crack

 epsx = 0.01       ! [-]  applied strain
 uniP = 0.0        ! [-]  uniform pressure applied to crack face
@@ -69,17 +70,6 @@
 ! ===> END INPUT DATA

 L = 2*t/rhon        ! [mm] length of the RVE
-a = aLRatio*L     ! [mm] 2a = crack length
-
-refHlow = (1-reftRatio)*t
-refHup = (1+reftRatio)*t
-
-tBPly = tRatio*(2*t) ! [mm] thickness of the bounding ply
-tTOT = t + tBPly     ! [mm] thickness of the bounding ply
-
-elSize = daOvera*a ! [mm] size of element in refined region close to crack tip
-
-vcctRegion = a+elSize

 appliedDisp = epsx*L ! [mm] applied displacement


[MNG-5815] "mvn.cmd" does not indicate failure properly when using "&&"

--- apache-maven/src/bin/mvn.cmd
+++ apache-maven/src/bin/mvn.cmd
@@ -154,4 +154,4 @@

 if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%

-exit /B %ERROR_CODE%
+cmd /C exit /B %ERROR_CODE%


add cov.bat

add cov.bat

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

--- cov.bat
+++ cov.bat
@@ -0,0 +1 @@
+cov-build.exe --dir c:\dev\crane\cov-int  MSBuild  C:\dev\crane\src\crane.sln /t:ReBuild /p:Confiuration=Debug /v:quiet /p:OutDir=C:\dev\crane\build-output


Remove duplicate bytecode generation

Remove duplicate bytecode generation

This got added by two different branches resulting in a duplicate.

--- RegenAllByteCodeNoBuild.cmd
+++ RegenAllByteCodeNoBuild.cmd
@@ -32,9 +32,4 @@
     call GenByteCode.cmd
     call GenByteCode.cmd -nojit
   popd
-
-  pushd %_reporoot%\lib\Runtime\Library\JsBuiltIn
-    call GenByteCode.cmd
-    call GenByteCode.cmd -nojit
-  popd
 endlocal


Retry installing llvm on Kokoro Windows if failure (#400)

--- build/windows/ci-common.bat
+++ build/windows/ci-common.bat
@@ -1,6 +1,11 @@
 if defined KOKORO_BUILD_ID (
     choco install llvm --version 6.0.1 -y
-    if errorlevel 1 exit /b %errorlevel%
+
+    :: retry if choco install failed
+    if errorlevel 1 (
+        choco install llvm --version 6.0.1 -y
+        if errorlevel 1 exit /b %errorlevel%
+    )

     :: refreshenv is necessary to put LLVM on path
     refreshenv


Fixed publish script.

Fixed publish script.

--- Scripts/Publish.bat
+++ Scripts/Publish.bat
@@ -21,7 +21,7 @@
 echo.
 echo Merging develop into master...
 echo.
-git merge test
+git merge develop
 if not "%errorlevel%" == "0" exit %errorlevel%

 echo.
@@ -34,4 +34,6 @@
 echo Switching back to develop...
 echo.
 git checkout develop
-exit %errorlevel%+if not "%errorlevel%" == "0" exit %errorlevel%
+
+exit 0


[.net] Move Nunit to 3.13.0

[.net] Move Nunit to 3.13.0

--- bootstrap.cmd
+++ bootstrap.cmd
@@ -1,6 +1,6 @@
 @echo off
 Rmdir .nuget\packages\ /s /q
-NuGet.exe install NUnit               -OutputDirectory .nuget\packages\ -NonInteractive -Version 3.5.0
 NuGet.exe install NUnit.ConsoleRunner -OutputDirectory .nuget\packages\ -NonInteractive -Version 3.5.0
 NuGet.exe install WiX                 -OutputDirectory .nuget\packages\ -NonInteractive -Version 4.0.0.4506-pre -Pre
 NuGet.exe install MSBuildTasks        -OutputDirectory .nuget\packages\ -NonInteractive -Version 1.5.0.235
+NuGet.exe install NUnit               -OutputDirectory .nuget\packages\ -NonInteractive -Version 3.13.0


Added wix to bootstrap

Added wix to bootstrap

--- bootstrap.cmd
+++ bootstrap.cmd
@@ -1,3 +1,4 @@
 @echo off
 NuGet.exe install MSBuildTasks -OutputDirectory .\Tools\ -ExcludeVersion -NonInteractive
-NuGet.exe install NUnit.Runners -OutputDirectory .\Tools\ -ExcludeVersion -NonInteractive+NuGet.exe install NUnit.Runners -OutputDirectory .\Tools\ -ExcludeVersion -NonInteractive
+NuGet.exe install Wix.Toolset -OutputDirectory .\Tools\ -ExcludeVersion -NonInteractive


Teach FOP under NT/2000/XP to start when the user is in any directory, maybe not FOP's home, like ANT does it
Submitted by: Anton Tagunov <tagunov@motor.ru>

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

--- fop.bat
+++ fop.bat
@@ -1,7 +1,11 @@
 @ECHO OFF

-set LIBDIR=lib
-set LOCALCLASSPATH=build/fop.jar
+rem %~dp0 is the expanded pathname of the current script under NT
+set LOCAL_FOP_HOME=
+if "%OS%"=="Windows_NT" set LOCAL_FOP_HOME=%~dp0
+
+set LIBDIR=%LOCAL_FOP_HOME%lib
+set LOCALCLASSPATH=%LOCAL_FOP_HOME%build/fop.jar
 set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xml-apis.jar
 set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.2.1.jar
 set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.4.1.jar


[MERGE #3824 @sigatrev] skip CI tests for arm64

Merge pull request #3824 from sigatrev:arm64-skipCITests

Skip tests for arm64 VSO builds

--- test/runcitests.cmd
+++ test/runcitests.cmd
@@ -69,6 +69,7 @@
   :: Include _RunAll in the check because if it is specified it
   :: should trump this early out.
   if "%_RunAll%%_BuildArch%" == "arm" goto :noTests
+  if "%_RunAll%%_BuildArch%" == "arm64" goto :noTests
   if "%_RunAll%%_BuildType%" == "release" goto :noTests

   pushd %_RootDir%\test