命令分隔符将:改为.

命令分隔符将:改为.

--- hongs-serv-system/setup.bat
+++ hongs-serv-system/setup.bat
@@ -2,6 +2,6 @@

 set CORE_PATH=%~DP0\

-"%CORE_PATH%\bin\app.cmd" system:setup $@
+"%CORE_PATH%\bin\app.cmd" system.setup $@

 @echo on


Added student manual

Added student manual

--- installers/buildinstaller.bat
+++ installers/buildinstaller.bat
@@ -11,7 +11,7 @@
 xcopy /i ..\examples\als\*.pro "ALS Prolog\examples\als"
 xcopy /i ..\examples\pxs\*.pro "ALS Prolog\examples\pxs"

-mkdir "ALS Prolog\manual"
+copy ..\manual\student_man.pdf "ALS Prolog"

 xcopy /i ..\core\alsp_src\library\*.pro "ALS Prolog\alsdir\library"
 xcopy /i ..\core\alsp_src\library\*.alb "ALS Prolog\alsdir\library"


Corrected another backslash error.

Corrected another backslash error.

--- external/mswin/for_binaries/prepare_for_binaries.bat
+++ external/mswin/for_binaries/prepare_for_binaries.bat
@@ -54,17 +54,17 @@
 del /Q /F setup.bat
 REM don't delete topographica.ico
 rmdir /Q /S tmp\
-REM CEBHACKALERT: need to delete CVS/ dirs automatically
+REM CEBHACKALERT: need to delete CVS/ dirs recursively

-rmdir /Q /S CVS\
+rmdir /Q /S CVS
 cd examples\
-rmdir /Q /S CVS\
+rmdir /Q /S CVS
 cd ..
 cd etc\
-rmdir /Q /S CVS\
+rmdir /Q /S CVS
 cd ..
 cd topo\
-rmdir /Q /S CVS\
+rmdir /Q /S CVS
 cd ..
 REM **** end things the Makefile deletes


scripts: add bat script

scripts: add bat script

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

--- scripts/install_docker.bat
+++ scripts/install_docker.bat
@@ -0,0 +1,18 @@
+@echo off
+
+set INSTALLER=InstallDocker.exe
+
+rem for Windows 10 Pro (Latest)
+set URL="https://download.docker.com/win/stable/Docker for Windows Installer.exe"
+
+rem for Windows 7/8/8.1 (Legacy)
+rem set URL="https://download.docker.com/win/stable/DockerToolbox.exe"
+
+cd /d %~dp0
+bitsadmin /RawReturn /TRANSFER download %URL% %CD%\%INSTALLER%
+
+call %INSTALLER%
+del /q %INSTALLER%
+
+pause
+exit


All unit tests can be run using "nmake test".

Remove file no longer required.

To run all autotests ensure
   * that QMAKEFEATURES environment variable is set to a <PATH> that
     includes unittest.prf
   * run qmake with the addition of CONFIG+=unittest

--- bin/rununittests_wince.bat
+++ bin/rununittests_wince.bat
@@ -1,27 +0,0 @@
-set DEPOT="%CD%"
-
-IF NOT EXIST bearermanagement.pro GOTO NOSOURCE
-IF EXIST %QTDIR%\.qmake.cache set CETESTCOMMAND=cetest -cache %QTDIR%\.qmake.cache -libpath \Windows
-IF NOT EXIST %QTDIR%\.qmake.cache set CETESTCOMMAND=cetest -libpath \Windows
-
-IF NOT EXIST %DEPOT%\..\..\qa-dungeon\mainline\tests\wince\deploy\ GOTO SKIPDEPLOY
-cd %DEPOT%\..\..\qa-dungeon\mainline\tests\wince\deploy\
-call %CETESTCOMMAND%
-
-:SKIPDEPLOY
-cd %DEPOT%\..\..\qa-dungeon\mainline\tests\wince\deploy\
-call %CETESTCOMMAND%
-cd %DEPOT%\tests\auto\qnetworkconfiguration
-call %CETESTCOMMAND%
-cd %DEPOT%\tests\auto\qnetworkconfigmanager
-call %CETESTCOMMAND%
-cd %DEPOT%\tests\auto\qnetworksession
-GOTO EOF
-
-:NOSOURCE
-echo "Unable to find bearermanagement.pro check current directory is bearermanagment source"
-GOTO EOF
-
-:EOF
-cd %DEPOT%
-


add a batch file for jquery

add a batch file for jquery

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

--- js/bin/jquery.bat
+++ js/bin/jquery.bat
@@ -0,0 +1,29 @@
+@echo off
+
+rem
+rem Licensed to the Apache Software Foundation (ASF) under one or more
+rem contributor license agreements.  See the NOTICE file distributed with
+rem this work for additional information regarding copyright ownership.
+rem The ASF licenses this file to You under the Apache License, Version 2.0
+rem (the "License"); you may not use this file except in compliance with
+rem the License.  You may obtain a copy of the License at
+rem
+rem     http://www.apache.org/licenses/LICENSE-2.0
+rem
+rem Unless required by applicable law or agreed to in writing, software
+rem distributed under the License is distributed on an "AS IS" BASIS,
+rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+rem See the License for the specific language governing permissions and
+rem limitations under the License.
+rem
+
+rem
+rem mxmlc.bat script to launch falcon-mxmlc.jar in Windows Command Prompt.
+rem On OSX, Unix, or Cygwin, use the mxmlc shell script instead.
+rem
+
+if "x%FALCON_HOME%"=="x"  (set "FALCON_HOME=%~dp0..\..") else echo Using Falcon codebase: %FALCON_HOME%
+
+if "x%FLEX_HOME%"=="x" (set "FLEX_HOME=%~dp0..\..") else echo Using Flex SDK: %FLEX_HOME%
+
+@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Dflexcompiler="%FALCON_HOME%" -Dflexlib="%FLEX_HOME%\frameworks" -jar "%FALCON_HOME%\js\lib\mxmlc.jar" -js-output-type=FLEXJS -external-library-path="%FLEX_HOME%\js\libs\js.swc" -external-library-path+="%FLEX_HOME%\js\libs\jquery.swc" %*


added windows setup.bat file

added windows setup.bat file

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

--- scripts/setup.bat
+++ scripts/setup.bat
@@ -0,0 +1 @@
+set STEERCLEAR_SETTINGS=settings\windows_settings.py


* modified paths

* modified paths

--- build/build_static_qt5.bat
+++ build/build_static_qt5.bat
@@ -5,11 +5,22 @@
 set PATH=c:/Program Files (x86)/Git/bin;%PATH%
 set PATH=C:/strawberry/perl/bin;%PATH%
 set PATH=c:\devel\qt5\qtbase\gnuwin32\bin;%PATH%
-set PATH=C:\Python32;%PATH%
+set PATH=C:\Python33;%PATH%
 git clone git://gitorious.org/qt/qt5.git qt5
 cd qt5
 perl init-repository --no-webkit
+
+rem developpers:
 rem perl init-repository --no-webkit --codereview-user mojmir.svoboda
+rem update repo:
+rem
+rem git pull
+rem git submodule sync
+rem git submodule update --recursive
+
+rem clean:
+rem git submodule foreach --recursive "git clean -dfx"
+
 configure.bat -debug-and-release -opensource -platform win32-msvc2012 -static -ltcg -no-accessibility -no-openvg -no-gif -no-dbus -no-audio-backend -no-sql-sqlite -no-qml-debug -nomake examples -nomake tests -no-icu

 rem profile


avoid warning "file not found" if a directory is empty, add directory creation if it not exists

--- module/recursive_copy.inc.bat
+++ module/recursive_copy.inc.bat
@@ -1,31 +1,27 @@
 @echo off
 :: Copying files recursively from one directory to other
-::  Copyright 2011, HarpyWar (harpywar@gmail.com)
+::  Copyright 2011-2014, HarpyWar (harpywar@gmail.com)
 ::  http://harpywar.com

 :: where to get files
 ::  for example: module\include\source_replace\
 set SRC=%1
 :: where to copy these files with .bak ext
-::  for examle: ..\..\..\source\
+::  for example: ..\..\..\source\
 set DST=%2
 ::  backup || restore
 set ACTION=%3

-
-set dir=module\include\source_replace\
-
 rem 1) set dir
 pushd %SRC%
+

 rem 2) iterate dir recursively
 @call :iterate_files
 @call :iterate_dirs

-rem 3) set dir to current, where script run (should do it in the parent script)
-popd
+goto :halt

-goto :eof
 :iterate_dirs
 	:: iterate directory %1
 	for /F "tokens=* delims= " %%v in ('dir /B /AD-H "%1"') do (
@@ -35,11 +31,17 @@
 	exit /b 0

 :iterate_files
+	:: check if current directory is not empty
+	@call :check_dir_empty %1
+	if [%EMPTY%]==[true] exit /b 0
+
 	:: iterate files in the directory %1
 	for /f "tokens=* delims= " %%v in ('dir /B /A-D-H "%1"') do (
 		set _dir=%1
 		set _file=%%v
+
 		if [%ACTION%]==[backup] (
+			if not exist "!DST!!_dir!" mkdir "!DST!!_dir!"
 			ren "!DST!!_dir!!_file!" !_file!.bak
 			copy /Y "!_dir!!_file!" "!DST!!_dir!!_file!"
 		)
@@ -48,5 +50,19 @@
 		)
 	)
 	exit /b 0
+
+:check_dir_empty
+	set EMPTY=false
+	:: if directory empty then end
+	>nul 2>nul dir /a-d /s "%1*" || (set EMPTY=true)
+	exit /b 0
+
+:halt
+	rem 3) restore directory path, where the script run (should do it in the parent script)
+	popd
+	call :haltHelper 2> nul
+
+:haltHelper
+	endlocal
+	exit /b

-


Create purge_windows_7-8-81_telemetry.bat

error: pathspec 'resources/stage_4_repair/purge_windows_telemetry/purge_windows_7-8-81_telemetry.bat' did not match any file(s) known to git

--- resources/stage_4_repair/purge_windows_telemetry/purge_windows_7-8-81_telemetry.bat
+++ resources/stage_4_repair/purge_windows_telemetry/purge_windows_7-8-81_telemetry.bat
@@ -0,0 +1,3 @@
+cls
+@echo This is only a placeholder file; all Windows 7/8/8.1 telemetry purging code is directly integrated into the main Tron script
+pause


Add sample commands for using Glacier

Add sample commands for using Glacier

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

--- glacier_commands.bat
+++ glacier_commands.bat
@@ -0,0 +1,28 @@
+C:\Python27\Scripts\aws glacier initiate-job --account-id - ^
+    --vault-name demschooltools-backups ^
+    --job-parameters "{\"Type\": \"inventory-retrieval\"}"
+
+
+rem request an archive
+rem C:\Python27\Scripts\aws glacier initiate-job --account-id - ^
+rem     --vault-name demschooltools-backups ^
+rem     --job-parameters file://args.json
+
+rem put this in a file to request an archive
+rem {
+rem      "Type": "archive-retrieval",
+rem      "ArchiveId": "...",
+rem      "Description": "6/14"
+rem }
+
+
+rem get finished archive retrieval or inventory
+rem C:\Python27\Scripts\aws glacier get-job-output --account-id - ^
+rem     --vault-name demschooltools-backups ^
+rem     --job-id Ip0zLTco2QAzzxlVZSVxJaCEHDmw8ozVwR_iFKE3xkaN79CXDSZ8gCihliK_N25IhsEN2U2QLzj1Bo_ttzxze1rv_voR ^
+rem     june_14.zip
+
+
+rem show jobs that are in progress
+rem C:\Python27\Scripts\aws glacier list-jobs ^
+rem     --account-id - --vault-name demschooltools-backups


fixed mkview

fixed mkview

--- bin/mkview.bat
+++ bin/mkview.bat
@@ -4,26 +4,22 @@
 set here=%~dp0
 pushd %here%\..\..

+call git clone http://github.com/rafie/classico1-bento
 pushd classico1-bento
-call git clone http://github.com/rafie/classico1-bento
-cd classico1-bento
 git remote set-url origin git@github.com:/rafie/classico1-bento.git
 popd

+call git clone http://github.com/rafie/classico1-ruby
 pushd classico1-ruby
-call git clone http://github.com/rafie/classico1-ruby
-cd classico1-ruby
 git remote set-url origin git@github.com:/rafie/classico1-ruby.git
 popd

+call git clone http://github.com/rafie/confetti1
 pushd confetti1
-call git clone http://github.com/rafie/confetti1
-cd confetti1
 git remote set-url origin git@github.com:/rafie/confetti1.git
 popd

+call git clone http://github.com/rafie/confetti1-import
 pushd confetti1-import
-call git clone http://github.com/rafie/confetti1-import
-cd confetti1-import
 git remote set-url origin git@github.com:/rafie/confetti1-import.git
 popd


Add deploy.cmd for function auto deployment

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

--- iothubechofunction/deploy.cmd
+++ iothubechofunction/deploy.cmd
@@ -0,0 +1,106 @@
+@if "%SCM_TRACE_LEVEL%" NEQ "4" @echo off
+
+:: ----------------------
+:: KUDU Deployment Script with Functions Package restore
+:: Version: 1.0.6
+:: ----------------------
+
+:: Prerequisites
+:: -------------
+
+:: Verify node.js installed
+where node 2>nul >nul
+IF %ERRORLEVEL% NEQ 0 (
+  echo Missing node.js executable, please install node.js, if already installed make sure it can be reached from current environment.
+  goto error
+)
+
+:: Setup
+:: -----
+
+setlocal enabledelayedexpansion
+
+SET ARTIFACTS=%~dp0%..\artifacts
+
+IF NOT DEFINED DEPLOYMENT_SOURCE (
+  SET DEPLOYMENT_SOURCE=%~dp0%.
+)
+
+IF NOT DEFINED DEPLOYMENT_TARGET (
+  SET DEPLOYMENT_TARGET=%ARTIFACTS%\wwwroot
+)
+
+IF NOT DEFINED NEXT_MANIFEST_PATH (
+  SET NEXT_MANIFEST_PATH=%ARTIFACTS%\manifest
+
+  IF NOT DEFINED PREVIOUS_MANIFEST_PATH (
+    SET PREVIOUS_MANIFEST_PATH=%ARTIFACTS%\manifest
+  )
+)
+
+IF NOT DEFINED KUDU_SYNC_CMD (
+  :: Install kudu sync
+  echo Installing Kudu Sync
+  call npm install kudusync -g --silent
+  IF !ERRORLEVEL! NEQ 0 goto error
+
+  :: Locally just running "kuduSync" would also work
+  SET KUDU_SYNC_CMD=%appdata%\npm\kuduSync.cmd
+)
+
+::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
+:: Deployment
+:: ----------
+
+echo Installing npm packages
+
+FOR /F %%d in ('DIR /a:d /B') DO (
+    cd %%d
+
+    IF EXIST "package.json" (
+        Echo Installing packages for %%d
+        call npm install
+    )
+)
+
+:: NuGet package restore
+echo "Restoring function packages"
+
+FOR /F %%d in ('DIR "Project.json" /S /B') DO (
+  call nuget restore %%d -PackagesDirectory %home%\data\Functions\packages\nuget
+)
+
+echo Handling Basic Web Site deployment.
+
+:: KuduSync
+IF /I "%IN_PLACE_DEPLOYMENT%" NEQ "1" (
+  call :ExecuteCmd "%KUDU_SYNC_CMD%" -v 50 -f "%DEPLOYMENT_SOURCE%" -t "%DEPLOYMENT_TARGET%" -n "%NEXT_MANIFEST_PATH%" -p "%PREVIOUS_MANIFEST_PATH%" -i ".git;.hg;.deployment;deploy.cmd;Project.json"
+  IF !ERRORLEVEL! NEQ 0 goto error
+)
+
+::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
+goto end
+
+:: Execute command routine that will echo out when error
+:ExecuteCmd
+setlocal
+set _CMD_=%*
+call %_CMD_%
+if "%ERRORLEVEL%" NEQ "0" echo Failed exitCode=%ERRORLEVEL%, command=%_CMD_%
+exit /b %ERRORLEVEL%
+
+:error
+endlocal
+echo An error has occurred during web site deployment.
+call :exitSetErrorLevel
+call :exitFromFunction 2>nul
+
+:exitSetErrorLevel
+exit /b 1
+
+:exitFromFunction
+()
+
+:end
+endlocal
+echo Finished successfully.


Changed release name format.

Changed release name format.

--- Setup/Publish.cmd
+++ Setup/Publish.cmd
@@ -84,7 +84,7 @@

 SET _OLDSETUPEXE=%_SETUPEXE%
 IF NOT [%HG_NODE%]==[] (
-    SET _SETUPEXE=!_SETUPEXE:000=~rev%HG_NODE_NUMBER%~%HG_NODE%!
+    SET _SETUPEXE=!_SETUPEXE:000=-rev%HG_NODE_NUMBER%-%HG_NODE%!
 )
 IF NOT "%_OLDSETUPEXE%"=="%_SETUPEXE%" (
     ECHO Renaming %_OLDSETUPEXE% to %_SETUPEXE%


ShowBuildMenu.BAT with spaces in folder names

ShowBuildMenu.BAT does currently not work when the folder name for the local repository contains spaces. This is fixed with this checkin.

--- ShowBuildMenu.bat
+++ ShowBuildMenu.bat
@@ -1,11 +1,11 @@
 @echo off
 pushd %~dp0

-set NANT=%~dp0Tools\nant\bin\NAnt.exe -t:net-3.5
-set BUILDTOOL=%~dp0Tools\BuildTool\bin\Release\BuildTool.exe
+set NANT="%~dp0Tools\nant\bin\NAnt.exe" -t:net-3.5
+set BUILDTOOL="%~dp0Tools\BuildTool\bin\Release\BuildTool.exe"
 set AVAILABLE_CONFIGURATIONS=%~dp0available-test-configurations
 set CURRENT_CONFIGURATION=%~dp0current-test-configuration
-set NUNIT=%~dp0Tools\nunit\nunit-x86.exe
+set NUNIT="%~dp0Tools\nunit\nunit-x86.exe"

 :main-menu
 echo ========================= NHIBERNATE BUILD MENU ==========================
@@ -118,27 +118,27 @@
 :test-setup-generic
 set /p CFGNAME=Enter a name for your test configuration or press enter to use default name:
 if /I "%CFGNAME%"=="" set CFGNAME=%CONFIG_NAME%-%PLATFORM%
-mkdir %AVAILABLE_CONFIGURATIONS%\%CFGNAME%
+mkdir "%AVAILABLE_CONFIGURATIONS%\%CFGNAME%"
 if /I "%LIB_FILES%"=="" goto test-setup-generic-skip-copy
-copy %LIB_FILES% %AVAILABLE_CONFIGURATIONS%\%CFGNAME%
+copy %LIB_FILES% "%AVAILABLE_CONFIGURATIONS%\%CFGNAME%"
 if /I "%LIB_FILES2%"=="" goto test-setup-generic-skip-copy
-copy %LIB_FILES2% %AVAILABLE_CONFIGURATIONS%\%CFGNAME%
+copy %LIB_FILES2% "%AVAILABLE_CONFIGURATIONS%\%CFGNAME%"
 :test-setup-generic-skip-copy
-copy src\NHibernate.Config.Templates\%CONFIG_NAME%.cfg.xml %AVAILABLE_CONFIGURATIONS%\%CFGNAME%\hibernate.cfg.xml
+copy src\NHibernate.Config.Templates\%CONFIG_NAME%.cfg.xml "%AVAILABLE_CONFIGURATIONS%\%CFGNAME%\hibernate.cfg.xml"
 echo Done setting up files.  Starting notepad to edit connection string in file:
 echo %AVAILABLE_CONFIGURATIONS%\%CFGNAME%\hibernate.cfg.xml
-start notepad %AVAILABLE_CONFIGURATIONS%\%CFGNAME%\hibernate.cfg.xml
+start notepad "%AVAILABLE_CONFIGURATIONS%\%CFGNAME%\hibernate.cfg.xml"
 echo When you're done, don't forget to activate the configuration through the menu.
 goto main-menu

 :test-activate
-%BUILDTOOL% pick-folder %AVAILABLE_CONFIGURATIONS% folder.tmp "Which test configuration should be activated?"
+%BUILDTOOL% pick-folder "%AVAILABLE_CONFIGURATIONS%" folder.tmp "Which test configuration should be activated?"
 set /p FOLDER=<folder.tmp
 del folder.tmp
-mkdir %CURRENT_CONFIGURATION% 2> nul
-del /q %CURRENT_CONFIGURATION%\*
-copy %FOLDER%\* %CURRENT_CONFIGURATION%
+mkdir "%CURRENT_CONFIGURATION%" 2> nul
+del /q "%CURRENT_CONFIGURATION%\*"
+copy %FOLDER%\* "%CURRENT_CONFIGURATION%"
 echo Configuration activated.
 goto main-menu

@@ -273,51 +273,51 @@
 if errorlevel 0 goto teamcity-trunk

 :teamcity-trunk
-move %CURRENT_CONFIGURATION% %CURRENT_CONFIGURATION%-backup 2> nul
+move "%CURRENT_CONFIGURATION%" "%CURRENT_CONFIGURATION%-backup" 2> nul
 %NANT% /f:teamcity.build -D:skip.manual=true -D:CCNetLabel=-1
-move %CURRENT_CONFIGURATION%-backup %CURRENT_CONFIGURATION% 2> nul
+move "%CURRENT_CONFIGURATION%-backup" "%CURRENT_CONFIGURATION%" 2> nul
 goto main-menu

 :teamcity-firebird32
-move %CURRENT_CONFIGURATION% %CURRENT_CONFIGURATION%-backup 2> nul
+move "%CURRENT_CONFIGURATION%" "%CURRENT_CONFIGURATION%-backup" 2> nul
 %NANT% /f:teamcity.build -D:skip.manual=true -D:CCNetLabel=-1 -D:config.teamcity=firebird32
-move %CURRENT_CONFIGURATION%-backup %CURRENT_CONFIGURATION% 2> nul
+move "%CURRENT_CONFIGURATION%-backup" "%CURRENT_CONFIGURATION%" 2> nul
 goto main-menu

 :teamcity-firebird64
-move %CURRENT_CONFIGURATION% %CURRENT_CONFIGURATION%-backup 2> nul
+move "%CURRENT_CONFIGURATION%" "%CURRENT_CONFIGURATION%-backup" 2> nul
 %NANT% /f:teamcity.build -D:skip.manual=true -D:CCNetLabel=-1 -D:config.teamcity=firebird64
-move %CURRENT_CONFIGURATION%-backup %CURRENT_CONFIGURATION% 2> nul
+move "%CURRENT_CONFIGURATION%-backup" "%CURRENT_CONFIGURATION%" 2> nul
 goto main-menu

 :teamcity-sqlite32
-move %CURRENT_CONFIGURATION% %CURRENT_CONFIGURATION%-backup 2> nul
+move "%CURRENT_CONFIGURATION%" "%CURRENT_CONFIGURATION%-backup" 2> nul
 %NANT% /f:teamcity.build -D:skip.manual=true -D:CCNetLabel=-1 -D:config.teamcity=sqlite32
-move %CURRENT_CONFIGURATION%-backup %CURRENT_CONFIGURATION% 2> nul
+move "%CURRENT_CONFIGURATION%-backup" "%CURRENT_CONFIGURATION%" 2> nul
 goto main-menu

 :teamcity-sqlite64
-move %CURRENT_CONFIGURATION% %CURRENT_CONFIGURATION%-backup 2> nul
+move "%CURRENT_CONFIGURATION%" "%CURRENT_CONFIGURATION%-backup" 2> nul
 %NANT% /f:teamcity.build -D:skip.manual=true -D:CCNetLabel=-1 -D:config.teamcity=sqlite64
-move %CURRENT_CONFIGURATION%-backup %CURRENT_CONFIGURATION% 2> nul
+move "%CURRENT_CONFIGURATION%-backup" "%CURRENT_CONFIGURATION%" 2> nul
 goto main-menu

 :teamcity-postgresql
-move %CURRENT_CONFIGURATION% %CURRENT_CONFIGURATION%-backup 2> nul
+move "%CURRENT_CONFIGURATION%" "%CURRENT_CONFIGURATION%-backup" 2> nul
 %NANT% /f:teamcity.build -D:skip.manual=true -D:CCNetLabel=-1 -D:config.teamcity=postgresql
-move %CURRENT_CONFIGURATION%-backup %CURRENT_CONFIGURATION% 2> nul
+move "%CURRENT_CONFIGURATION%-backup" "%CURRENT_CONFIGURATION%" 2> nul
 goto main-menu

 :teamcity-oracle32
-move %CURRENT_CONFIGURATION% %CURRENT_CONFIGURATION%-backup 2> nul
+move "%CURRENT_CONFIGURATION%" "%CURRENT_CONFIGURATION%-backup" 2> nul
 %NANT% /f:teamcity.build -D:skip.manual=true -D:CCNetLabel=-1 -D:config.teamcity=oracle32
-move %CURRENT_CONFIGURATION%-backup %CURRENT_CONFIGURATION% 2> nul
+move "%CURRENT_CONFIGURATION%-backup" "%CURRENT_CONFIGURATION%" 2> nul
 goto main-menu

 :teamcity-sqlServerOdbc
-move %CURRENT_CONFIGURATION% %CURRENT_CONFIGURATION%-backup 2> nul
+move "%CURRENT_CONFIGURATION%" "%CURRENT_CONFIGURATION%-backup" 2> nul
 %NANT% /f:teamcity.build -D:skip.manual=true -D:CCNetLabel=-1 -D:config.teamcity=sqlServerOdbc
-move %CURRENT_CONFIGURATION%-backup %CURRENT_CONFIGURATION% 2> nul
+move "%CURRENT_CONFIGURATION%-backup" "%CURRENT_CONFIGURATION%" 2> nul
 goto main-menu

 :end


quick-installer: install.bat: refactor

quick-installer: install.bat: refactor

--- quick-installer/install.bat
+++ quick-installer/install.bat
@@ -4,20 +4,23 @@
 :: <!--

 @echo off
+
+:: Configurations
+set GH_REPO_USER=yuk7
+set GH_REPO_NAME=dotfiles
+set GH_BRANCH=main
+set DEST_DIR=%USERPROFILE%\dotfiles
+
+set GH_REPO_URL=https://github.com/%GH_REPO_USER%/%GH_REPO_NAME%
+set GH_REPO_SSH=git@github.com:%GH_REPO_USER%/%GH_REPO_NAME%
+set ZIP_URL=%GH_REPO_URL%/archive/refs/heads/%GH_BRANCH%.zip
+set TMP_ZIP=dotfiles.tmp.zip
+set TMP_ZIP_ROOT_DIR=%GH_REPO_NAME%-%GH_BRANCH%
+
 set OG_PWD=%cd%
 set TEMP_DIR=%TEMP%\dot.%RANDOM%
 mkdir %TEMP_DIR% >NUL 2>&1

-set GH_REPO_USER=yuk7
-set GH_REPO_NAME=dotfiles
-set GH_REPO_URL=https://github.com/%GH_REPO_USER%/%GH_REPO_NAME%
-set GH_REPO_SSH=git@github.com:%GH_REPO_USER%/%GH_REPO_NAME%
-set GH_BRANCH=main
-set ZIP_URL=%GH_REPO_URL%/archive/refs/heads/%GH_BRANCH%.zip
-set TMP_ZIP=dotfiles.tmp.zip
-set TMP_ZIP_ROOT_DIR=%GH_REPO_NAME%-%GH_BRANCH%
-
-set DEST_DIR=%USERPROFILE%\dotfiles

 echo dotfiles quick installer for Windows
 echo.
@@ -29,7 +32,7 @@

 cd %TEMP_DIR%
-
+:: If git is installed, use git clone.
 WHERE /Q git
 IF %ERRORLEVEL% == 0 (
     echo Downloading with Git mode
@@ -44,6 +47,7 @@
     exit /b 0
 )

+:: If git is not installed, use zip method.
 echo Downloading with zip mode
 set DQ="
 powershell -Command "Invoke-WebRequest %DQ%%ZIP_URL%%DQ% -OutFile %DQ%%TEMP_DIR%\%TMP_ZIP%%DQ%  -UseBasicParsing"


Fix native build for x86 (#35289)

Fix native build for x86 (#35289)

--- src/Native/Windows/gen-buildsys-win.bat
+++ src/Native/Windows/gen-buildsys-win.bat
@@ -20,8 +20,8 @@
   set __VSString=15 2017
 )

-:: x86 is the default arch selected by cmake.
 if /i "%3" == "x64"     (set __ExtraCmakeParams=%__ExtraCmakeParams% -A x64)
+if /i "%3" == "x86"     (set __ExtraCmakeParams=%__ExtraCmakeParams% -A Win32)
 if /i "%3" == "arm"     (set __ExtraCmakeParams=%__ExtraCmakeParams% -A ARM)
 if /i "%3" == "arm64"   (set __ExtraCmakeParams=%__ExtraCmakeParams% -A ARM64)
 if /i "%3" == "wasm"    (set __sourceDir=%~dp0..\Unix && goto DoGen)


support

support

--- src/c/ck-make.bat
+++ src/c/ck-make.bat
@@ -62,13 +62,12 @@
 echo Installing ...
 echo.

-mkdir ..\..\lib
-copy /B %CK_TARGET_FILE_S% ..\..\lib
-copy /B %CK_TARGET_FILE_D% ..\..\lib
+mkdir %INSTALL_DIR%\lib
+copy /B %CK_TARGET_FILE_S% %INSTALL_DIR%\lib
+copy /B %CK_TARGET_FILE_D% %INSTALL_DIR%\lib

-mkdir ..\..\include
-copy /B %CK_INCLUDE_FILES% ..\..\include
-
+mkdir %INSTALL_DIR%\include
+copy /B %CK_INCLUDE_FILES% %INSTALL_DIR%\include

 exit /b 0


Remove windows openssl script, use README.md instead

--- src/ui/windows/build_openssl.bat
+++ src/ui/windows/build_openssl.bat
@@ -1,6 +0,0 @@
-call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86_amd64
-cd ..\..\..\third_party\openssl
-perl Configure VC-WIN32
-call ms\do_ms.bat
-nmake -f ms\ntdll.mak
-pause


Build for Python 2.3

Build for Python 2.3

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

--- python/build23.bat
+++ python/build23.bat
@@ -0,0 +1,5 @@
+rmdir /s /q build include
+mkdir include & xcopy ..\include include
+swig -Iinclude -c++ -python tst.i
+c:\python23\python setup.py clean build --compile=mingw32 install sdist bdist_wininst
+rmdir /s /q build include


Use unique test out for each sample

Use unique test out for each sample

--- ci/jenkins.cmd
+++ ci/jenkins.cmd
@@ -12,13 +12,14 @@
 SET JAVA_HOME=C:\opt\oracle-jdk-8
 SET GIT_HOME=C:\Program Files\Git
 SET MAVEN_HOME=C:\opt\apache-maven-3.3.9
+SET TEST_OUT=C:\st\%~nx1

 ECHO [behave.userdata] > %USERINI%
 ECHO cf_apiurl = api.run.pcfbeta.io >> %USERINI%
 ECHO cf_org = STEELTOE >> %USERINI%
 ECHO cf_username = %CF_USER% >> %USERINI%
 ECHO cf_password = %CF_PASS% >> %USERINI%
-ECHO output = C:\steeltoe-test >> %USERINI%
+ECHO output = %TEST_OUT% >> %USERINI%

 SET PATH=%PYTHON_HOME%\Scripts;%DOTNET_HOME%;%JAVA_HOME%\bin;%GIT_HOME%\bin;%MAVEN_HOME%\bin;%PATH%


Saving

Saving

--- autoclean.bat
+++ autoclean.bat
@@ -1,5 +1,4 @@
 rem need to add permissions check
-rem sleep does not work
 rem test del %homedir%/desktop/techtutors/ command
 rem add test for techtemp
 rem add test for non null entries


getting indexing to work on windows

getting indexing to work on windows

--- deployment/indexer/shellscr/resources/bwrun.bat
+++ deployment/indexer/shellscr/resources/bwrun.bat
@@ -15,8 +15,8 @@
 ECHO
 :noJavaWarn

-SET cp=.:./classes:./resources
-FOR /f %%i IN ('dir /b lib\*.jar') DO SET cp=!cp!:./lib/%%i
+SET cp=.;./classes;./resources
+FOR /f %%i IN ('dir /b lib\*.jar') DO SET cp=!cp!;./lib/%%i

 SET RUNCMD="%JAVA_HOME%\bin\java" -cp %cp% org.bedework.indexer.BwIndexApp


Check if argument is a directory with star suffix

--- bin/stree.cmd
+++ bin/stree.cmd
@@ -19,9 +19,7 @@
 if "%directory%" == "" set directory=%CD%

 REM If the first argument is not a directory (e.g. a file) remove the filename
-if exist "%directory%\" (
-    set directory=%directory%
-) else (
+if not exist "%directory%\*" (
     set directory=%~dp1
 )


Change / to \

Change / to \

--- recipes/jkqtplotter/bld.bat
+++ recipes/jkqtplotter/bld.bat
@@ -14,11 +14,11 @@
 if errorlevel 1 exit 1
 ninja install -j%CPU_COUNT%
 if errorlevel 1 exit 1
-del %LIBRARY_PREFIX%/doc/_Readme.txt
+del %LIBRARY_PREFIX%\doc\_Readme.txt
 if errorlevel 1 exit 1
-del %LIBRARY_PREFIX%/doc/_LICENSE.txt
+del %LIBRARY_PREFIX%\doc\_LICENSE.txt
 if errorlevel 1 exit 1
-del %LIBRARY_PREFIX%/doc/_XITS_LICENSE.txt
+del %LIBRARY_PREFIX%\doc\_XITS_LICENSE.txt
 if errorlevel 1 exit 1
-del %LIBRARY_PREFIX%/doc/_XITS_README.md
+del %LIBRARY_PREFIX%\doc\_XITS_README.md
 if errorlevel 1 exit 1


skip TinyPerl download if exists

skip TinyPerl download if exists

This would be skipped by wget anyway, but makes it quicker and will make
adding hash checking easier in the future.

--- bootstrap.cmd
+++ bootstrap.cmd
@@ -14,12 +14,10 @@
 echo dev-shell bootstrap v0.1 (c) seapagan 2015
 echo.
 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!
-	echo.
-	pause
-	exit /b 255
+  %~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
+) ELSE (
+	ECHO TinyPerl package already exists, skipping download.
 )
 echo.
 rem erase TinyPerl directory first if exists ...
@@ -29,7 +27,7 @@
 %~dp0support\bootstrap\unzip.exe -q %~dp0support\packages\tinyperl-2.0-580-win32.zip -d %~dp0support
 move %~dp0support\tinyperl* %~dp0support\tinyperl > NUL
 if NOT EXIST "%~dp0support\tinyperl\" (
-	echo "Failure to unpack the TinyPerl distribution, please report any error messages, thanks."
+	echo Failure to unpack the TinyPerl distribution, please report any error messages, thanks.
 	pause
 	exit /b 254
 )


Create bootstrap.cmd

Create bootstrap.cmd

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

--- bootstrap.cmd
+++ bootstrap.cmd
@@ -0,0 +1 @@
+echo Hola mundo since bootstrap.cmd


batch file for node server on windows

batch file for node server on windows

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

--- node/server.bat
+++ node/server.bat
@@ -0,0 +1,4 @@
+@echo off
+set PATH=%PATH%;%cd%
+node borrasca-next.app.js
+cmd


Better restriction to prevent Windows git install on XP or older.

This is in preparation for once again making 1.8.5.2 the default Windows git.

Also remove the CHROME_HEADLESS condition, which confuses bot setup because the
same bot will sometimes run without that set (e.g. at slave startup) and with
it set (e.g. during a build), leading to the wrong, or even no, git installed.

R=maruel@chromium.org

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

git-svn-id: fd409f4bdeea2bb50a5d34bb4d4bfc2046a5a3dd@250486 0039d316-1c4b-4281-b951-d872f2087c98

--- bootstrap/win/win_tools.bat
+++ bootstrap/win/win_tools.bat
@@ -35,10 +35,22 @@

 :GIT_1852_CHECK
 set GIT_VERSION=1.8.5.2.chromium.1
+:: This git uses APIs that target WINVER 0x0502, so refuse to install it on
+:: anything older.
+for /f "tokens=2 delims=[]" %%i in ('ver') do set VERSTR=%%i
+for /f "tokens=2,3 delims=. " %%i in ("%VERSTR%") do (set VERMAJOR=%%i & set VERMINOR=%%j)
+if %VERMAJOR% lss 5 goto :GIT_VER_UNSUPPORTED
+if %VERMAJOR% equ 5 if %VERMINOR% lss 2 goto :GIT_VER_UNSUPPORTED
 set GIT_BIN_DIR=git-%GIT_VERSION%_bin
 set GIT_ZIP_FILE=%GIT_BIN_DIR%.zip
 set GIT_ZIP_URL=https://commondatastorage.googleapis.com/chrome-infra/%GIT_ZIP_FILE%
 goto :GIT_COMMON
+
+
+:GIT_VER_UNSUPPORTED
+echo Git %GIT_VERSION% cannot be installed on:
+ver
+goto :GIT_180_CHECK

 :GIT_180_FORCE
@@ -64,7 +76,6 @@
 :GIT_COMMON
 :: If the batch file exists, skip the git check.
 if exist "%WIN_TOOLS_ROOT_DIR%\%GIT_BIN_DIR%" goto :MSYS_PATH_CHECK
-if "%CHROME_HEADLESS%" == "1" goto :SVN_CHECK
 if "%WIN_TOOLS_FORCE%" == "1" goto :GIT_INSTALL
 call git --version 2>nul 1>nul
 if errorlevel 1 goto :GIT_INSTALL


Update npm-publish.bat

Update npm-publish.bat

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

 del npm-debug.log
-pause+pause


Changing -kb to -kkv

Changing -kb to -kkv

git-svn-id: 227c23bb629cf7bef445105b977924772e49ae4f@1109478 13f79535-47bb-0310-9956-ffa450edef68

error: pathspec 'tools/syntax-checker/precomp.bat' did not match any file(s) known to git

--- tools/syntax-checker/precomp.bat
+++ tools/syntax-checker/precomp.bat
@@ -0,0 +1 @@
+precompute.exe < tmpSubCategorizationInput > tmpSubCategorizationOutput.pl


Adding build-one script for single configuration control.

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

--- build/scripts/build-one.bat
+++ build/scripts/build-one.bat
@@ -0,0 +1,3 @@
+CALL "%VS90COMNTOOLS%..\..\VC\vcvarsall.bat"
+msbuild %~dp0../slimdx.proj /target:build /property:Configuration=%1;Platform=%2
+exit %ERRORLEVEL%


Make flyway.cmd more robust

Make flyway.cmd more robust

--- flyway-commandline/src/main/assembly/flyway.cmd
+++ flyway-commandline/src/main/assembly/flyway.cmd
@@ -19,9 +19,7 @@
 setlocal

 @REM Set the current directory to the installation directory
-call :getCurrentBatch INSTALLDIR1
-set INSTALLDIR=%INSTALLDIR1%
-set INSTALLDIR=%INSTALLDIR:~0,-10%
+set INSTALLDIR=%~dp0

 if exist "%INSTALLDIR%\jre\bin\java.exe" (
  set JAVA_CMD="%INSTALLDIR%\jre\bin\java.exe"
@@ -89,7 +87,3 @@

 @REM Exit using the same code returned from Java
 EXIT /B %ERRORLEVEL%
-
-:getCurrentBatch
-    set "%~1=%~f0"
-    goto :eof


Add script to bump all prerelease corefx package build numbers

error: pathspec 'src/Scripts/set-package-build.cmd' did not match any file(s) known to git

--- src/Scripts/set-package-build.cmd
+++ src/Scripts/set-package-build.cmd
@@ -0,0 +1,26 @@
+@echo off
+if "%1" == ""   goto :usage
+if "%2" == ""   goto :usage
+goto :main
+
+:usage
+echo Usage: %~n0 [directory] [build]
+echo.
+echo Recursively replaces all occurrences of 4.0.XX-beta-YYYYY in
+echo [directory]\*.config;*.csproj;*.nuspec with 4.0.XX-beta-[build]
+goto :eof
+
+:main
+pushd %1 && git clean -f packages && call :replace %2 && call :cleanup && popd
+goto :eof
+
+:replace
+for /r %%f in (*.config *.csproj *.nuspec) do (
+   perl -i.tmp_spb -p -e "s/(4\.0\.[0-9]+-beta)-([0-9]+)/$1-%1/" %%f || goto :eof
+)
+goto :eof
+
+
+:cleanup
+del /s *.tmp_spb
+goto :eof


runtests.cmd: support extra command line flags

Add a few options to runtests.cmd:
```
-ExtraHostFlags "..."    Pass extra flags "..." directly to ch.exe
-DumpOnCrash             Pass "-DumpOnCrash" to ch.exe
-CrashOnException        Pass "-CrashOnException" to ch.exe
```

These could come in handy for investigating issues found in test suites.

--- test/runtests.cmd
+++ test/runtests.cmd
@@ -174,6 +174,11 @@
   if /i "%1" == "-variants"         set _Variants=%~2&                                          goto :ArgOkShift2
   if /i "%1" == "-cleanupall"       set _CleanUpAll=1&                                          goto :ArgOk

+  ::Extra ch.exe command line flags
+  if /i "%1" == "-ExtraHostFlags"   set _ExtraHostFlags=%~2&                                    goto :ArgOkShift2
+  if /i "%1" == "-DumpOnCrash"      set _DumpOnCrash=1&                                         goto :ArgOk
+  if /i "%1" == "-CrashOnException" set _CrashOnException=1&                                    goto :ArgOk
+
   if /i "%1" == "-extraVariants" (
     :: Extra variants are specified by the user but not run by default.
     if "%_ExtraVariants%" == "" (
@@ -247,6 +252,9 @@
   set _nightly=
   set TARGET_OS=win10
   set _quiet=
+  set _ExtraHostFlags=
+  set _DumpOnCrash=
+  set _CrashOnException=

   goto :eof

@@ -342,7 +350,15 @@

   if "%_BuildType%" == "debug" (
     rem Enabling storing dumps on user directory.
+    set _DumpOnCrash=1
+  )
+
+  set EXTRA_CC_FLAGS=%EXTRA_CC_FLAGS% %_ExtraHostFlags%
+  if not "%_DumpOnCrash%" == "" (
     set EXTRA_CC_FLAGS=%EXTRA_CC_FLAGS% -DumpOnCrash
+  )
+  if not "%_CrashOnException%" == "" (
+    set EXTRA_CC_FLAGS=%EXTRA_CC_FLAGS% -CrashOnException
   )

   if "%_Binary%" == "-binary:ch.exe" (
@@ -356,7 +372,7 @@
     set EXTRA_CC_FLAGS=%EXTRA_CC_FLAGS% -nonative
     set EXTRA_RL_FLAGS=-nottags:exclude_interpreted -nottags:fails_interpreted
   )
-  :: DisableJit is different from NoNative in that NoNative can be used
+  :: DisableJit is different from NoNative in that NoNative can be used
   :: with builds which include backend code, whereas DisableJit doesn't have
   :: backend code linked in, and also disables other features that incidentally
   :: depends on the backend like dynamic profile, asmjs, simdjs, background parsing etc.


Added start batch file

Added start batch file

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

--- start_server.bat
+++ start_server.bat
@@ -0,0 +1 @@
+python %0\..\start_arma_dedi.py


Fix path problem in MSVC bison wrapper. per Joachim Wieland.

--- src/tools/msvc/pgbison.bat
+++ src/tools/msvc/pgbison.bat
@@ -19,13 +19,15 @@

 :generate
 SET fn=%1
-bison -d %fn%
+SET cf=%2
+bison.exe -d %fn% -o %cf%
 if errorlevel 1 exit 1
-copy /y %fn:~0,-2%.tab.c %2
-if errorlevel 1 exit 1
-copy /y %fn:~0,-2%.tab.h %3
-if errorlevel 1 exit 1
-del %fn:~0,-2%.tab.*
+SET hf=%cf:~0,-2%.h
+if not "%hf%"=="%3" (
+        copy /y %hf% %3
+        if errorlevel 1 exit 1
+        del %hf%
+)
 exit 0


Delete syso file before building with race detector

It will throw an error otherwise

--- workspace/_BuildRaceDetector.cmd
+++ workspace/_BuildRaceDetector.cmd
@@ -12,6 +12,7 @@

 ECHO Building: !PACKAGE!
 cd "%GOPATH%\src\!PACKAGE!"
+DEL /Q /F *.syso
 go build -v -race %LDFLAGS% !PACKAGE!
 ECHO.


Output dots; Default result file

Output dots; Default result file

--- test-coverage.bat
+++ test-coverage.bat
@@ -22,14 +22,12 @@
 @Rem OpenCover command
 @set OpenCoverCommand=%OpenCoverNugetPackage% %OpenCoverOptions%

-@rem %OpenCoverCommand% %OpenCoverOptions%
-
 @%OpenCoverCommand% ^
 -output:".\artifacts\OpenCover.BitSetArray.xml" ^
 -filter:"-[*]DD.Collections.BitSetArrayTest* +[*]DD.Collections.BitSetArray*" ^
 -target:".\packages\NUnit.Runners.Net4.2.6.4\tools\nunit-console-x86.exe" ^
 -targetdir:".\Source\Test\NUnit.BitSetArray\bin\Debug" ^
--targetargs:"\"NUnit.BitSetArray.dll\" /labels /xml=\"TestResults.xml\" "
+-targetargs:"NUnit.BitSetArray.dll"
 @echo -------------------------------------
 @echo.
 @echo.
@@ -38,7 +36,7 @@
 -filter:"-[*]DD.Collections.ICodeSet.*Test* +[*]DD.Collections.ICodeSet* +[*]DD.Text*" ^
 -target:".\packages\NUnit.Runners.Net4.2.6.4\tools\nunit-console-x86.exe" ^
 -targetdir:".\Source\Test\NUnit.ICodeSet\bin\Debug" ^
--targetargs:"\"NUnit.ICodeSet.dll\" /labels /xml=\"TestResults.xml\" "
+-targetargs:"NUnit.ICodeSet.dll"
 @echo -------------------------------------
 @echo.
 @echo.
@@ -47,7 +45,7 @@
 -filter:"+[*]DD.Extends*" ^
 -target:".\packages\NUnit.Runners.Net4.2.6.4\tools\nunit-console-x86.exe" ^
 -targetdir:".\Source\Test\NUnit.Extensions\bin\Debug" ^
--targetargs:"\"NUnit.Extensions.dll\" /labels /xml=\"TestResults\" "
+-targetargs:"NUnit.Extensions.dll"
 @echo -------------------------------------
 @echo.
 @echo.
@@ -56,7 +54,7 @@
 -filter:"-[*]DD.Diagnostics.SuccessTest* +[*]DD.Diagnostics*" ^
 -target:".\packages\NUnit.Runners.Net4.2.6.4\tools\nunit-console-x86.exe" ^
 -targetdir:".\Source\Test\NUnit.Diagnostics\bin\Debug" ^
--targetargs:"\"NUnit.Diagnostics.dll\" /labels /xml=\"TestResult.xml\" "
+-targetargs:"NUnit.Diagnostics.dll"
 @echo -------------------------------------
 @echo.
 @echo.


invalid path

invalid path

--- push-release.bat
+++ push-release.bat
@@ -10,7 +10,7 @@

 echo pushing %APPVEYOR_PROJECT_NAME% %CONFIGURATION% %PLATFORM% %APPVEYOR_BUILD_VERSION% from %HERE%

-%HERE%tools\github-release.exe release ^
+tools/github-release.exe release ^
                          --user %APPVEYOR_REPO_COMMIT_AUTHOR% ^
                          --repo %APPVEYOR_PROJECT_NAME% ^
 						 --tag %APPVEYOR_BUILD_VERSION% ^
@@ -18,12 +18,12 @@
                          --description "%APPVEYOR_PROJECT_NAME% %APPVEYOR_BUILD_VERSION% (%APPVEYOR_REPO_COMMIT%)- %PLATFORM% %CONFIGURATION%" ^
                          --pre-release || goto :ko

-%HERE%tools\github-release upload ^
+tools/github-release.exe upload ^
                      --user %APPVEYOR_REPO_COMMIT_AUTHOR% ^
 					 --repo %APPVEYOR_PROJECT_NAME% ^
                      --tag %APPVEYOR_BUILD_VERSION% ^
                      --name "%APPVEYOR_PROJECT_NAME%-net45-%PLATFORM%" ^
-                     --file %HERE%/src/bin/%CONFIGURATION%.zip || goto :ko
+                     --file src/bin/%CONFIGURATION%.zip || goto :ko

 :ok
 exit /b 0


Pull python base servercore image

Pull python base servercore image

--- python/build.bat
+++ python/build.bat
@@ -1,6 +1,7 @@
 rem docker build -t python .

 docker rm -f pythonbuild36 2>&1
+docker pull python:3.6-windowsservercore
 docker create --name=pythonbuild36 python:3.6-windowsservercore
 docker cp pythonbuild36:Python tmp
 docker build -t python -f Dockerfile.build .


- Fixed test script (minor)

- Fixed test script (minor)

--- Tests/RunTests.bat
+++ Tests/RunTests.bat
@@ -1,6 +1,6 @@

 CD ..\Source
-rem CALL Compile-Debug.bat
+CALL Compile-Debug.bat
 CD ..\Tests

 IF EXIST "%ProgramFiles(x86)%\Gallio\bin\Gallio.Echo.exe" SET GALLIO="%ProgramFiles(x86)%\Gallio\bin\Gallio.Echo.exe"
@@ -10,7 +10,7 @@

 IF NOT EXIST bin MKDIR bin

-DELETE bin\*.dll
+DEL bin\*.dll

 COPY ..\bin\*.dll bin


moving invoke to a batch file

moving invoke to a batch file

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

--- tests/jenkins.bat
+++ tests/jenkins.bat
@@ -0,0 +1,5 @@
+rem run doit for this project
+activate esri104
+pushd tests
+doit
+popd


Fix Windows m.cmd never popd'ing back.

Fix Windows m.cmd never popd'ing back.

--- .cmd/m.cmd
+++ .cmd/m.cmd
@@ -8,10 +8,10 @@
 IF EXIST "%PROJECT_ROOT%\tmp\.m-clears-screen" CLS

 IF EXIST Makefile (
-	m_make %*
+	CALL m_make %*
 ) ELSE (
 	IF EXIST build.gradle (
-		m_gradle %*
+		CALL m_gradle %*
 	) ELSE (
 		ECHO Don't know how to build this kind of project.
 		GOTO :fixup


conditional tcpdump

conditional tcpdump

--- testintegration/hooks/ec2-bootstrap.cmd
+++ testintegration/hooks/ec2-bootstrap.cmd
@@ -7,7 +7,13 @@
 cat <<'EOF'
 SECRET=$(porter_get_secrets)
 [[ $SECRET = 'hi' ]] || exit 1
+EOF

+fi
+
+if [[ $TCPDUMP = '1' ]]; then
+
+cat <<'EOF'
 cat <<'DOCKER_POST_RUN' > /usr/bin/porter_docker_post_run
 #!/bin/bash


Fixes appvoyer script.

Fixes appvoyer script.

--- .scripts/install_lua.bat
+++ .scripts/install_lua.bat
@@ -14,10 +14,10 @@
 :: I hate batch files.
 if "%~1" EQU "_GO_" (shift /1 & goto :main)
 cmd /c ^""%~f0" _GO_ %*^"
-if exist %APPVEYOR_BUILD_FOLDER%\.appveyor\setpaths.bat (
+if exist %APPVEYOR_BUILD_FOLDER%\.scripts\setpaths.bat (
 	endlocal
-	call %APPVEYOR_BUILD_FOLDER%\.appveyor\setpaths.bat
-	del %APPVEYOR_BUILD_FOLDER%\.appveyor\setpaths.bat
+	call %APPVEYOR_BUILD_FOLDER%\.scripts\setpaths.bat
+	del %APPVEYOR_BUILD_FOLDER%\.scripts\setpaths.bat
 )
 exit /B

@@ -88,9 +88,9 @@
 call luarocks --version || call :die

 :: Hack. Create a script that will set all the variables we want to set in the environment.
-ECHO set PATH=%PATH%>> "%APPVEYOR_BUILD_FOLDER%\.appveyor\setpaths.bat"
-ECHO set LUA_DIR=%LUA_DIR%>> "%APPVEYOR_BUILD_FOLDER%\.appveyor\setpaths.bat"
-call luarocks path>> "%APPVEYOR_BUILD_FOLDER%\.appveyor\setpaths.bat"
+ECHO set PATH=%PATH%>> "%APPVEYOR_BUILD_FOLDER%\.scripts\setpaths.bat"
+ECHO set LUA_DIR=%LUA_DIR%>> "%APPVEYOR_BUILD_FOLDER%\.scripts\setpaths.bat"
+call luarocks path>> "%APPVEYOR_BUILD_FOLDER%\.scripts\setpaths.bat"

 endlocal


Add TOOL_NODE_FLAGS support for Windows in the same way as Unix. (#8517)

In Unix we support adding `TOOL_NODE_FLAGS` when debugging the Meteor
tool itself, however Windows did not currently support it.  This should
add that support.  As this is a .bat file, I have every reason to
believe that this syntax should work on older versions of Windows as the
syntax of .bat files hasn't changed much.

Helps with meteor/meteor#8513.

--- meteor.bat
+++ meteor.bat
@@ -38,7 +38,7 @@
 SET NODE_PATH=%~dp0\dev_bundle\lib\node_modules
 SET BABEL_CACHE_DIR=%~dp0\.babel-cache

-"%~dp0\dev_bundle\bin\node.exe" "%~dp0\tools\index.js" %*
+"%~dp0\dev_bundle\bin\node.exe" %TOOL_NODE_FLAGS% "%~dp0\tools\index.js" %*
 ENDLOCAL

 EXIT /b %ERRORLEVEL%


update minor master version

update minor master version

--- test/test_app.bat
+++ test/test_app.bat
@@ -1,6 +1,6 @@
 ### test_app.bat - 201x - Fabien Desert ###
-version = "1.2.0"
-build_hour = "11H00"
+version= "1.2.0"
+build_hour= "11H00"

 echo "Build ${build_hour}"
 echo "version ${version}"


Add script to build a Windows package on Windows

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

--- dist-win32.bat
+++ dist-win32.bat
@@ -0,0 +1,14 @@
+@echo off
+
+:: This script will create a packaged version of the app in firmware_flasher in your home folder.
+:: After executing this script, use NSIS to create an installer from the firmware_flasher.win32.nsi file located there.
+:: You may need to run npm install electron-packager --global once before this will work correctly.
+
+set PLATFORM=win32
+set ARCH=ia32
+set OUTPUT_DIR=%userprofile%\firmware_flasher
+set PACKAGE_DIR="%OUTPUT_DIR%\QMK Firmware Flasher-%PLATFORM%-%ARCH%"
+
+call electron-packager . --platform=%PLATFORM% --arch=%ARCH% --out %OUTPUT_DIR% --overwrite
+
+copy firmware_flasher.win32.nsi %PACKAGE_DIR%


Updating build script so I can see the command line.


Explicitly include executables to exclude vshost executable.

--- Build/build_portable.bat
+++ Build/build_portable.bat
@@ -19,8 +19,11 @@
 ECHO Building Solution...
 C:\windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe "%SOLUTION_DIRECTORY%\Tabster.sln" /p:Configuration=Portable

-::compress
+::compression
 ECHO.
 ECHO Compressing...
-7z a -r %ZIP_ARCHIVE% "%VS_BUILD_DIRECTORY%\*.exe"
+
+::core files
+7z a %ZIP_ARCHIVE% "%VS_BUILD_DIRECTORY%\Tabster.exe"
+7z a %ZIP_ARCHIVE% "%VS_BUILD_DIRECTORY%\Updater.exe"
 7z a -r %ZIP_ARCHIVE% "%VS_BUILD_DIRECTORY%\*.dll"


run_packager was switched to work with qpm

--- run_packager.bat
+++ run_packager.bat
@@ -1,17 +1 @@
-@echo off
-
-REM build driver scripts
-del /F /Q "vCenterShellPackage\Resource Scripts\."
-del /F /Q "vCenterShellPackage\Topology Scripts\."
-
-python driver_packager.py package_specs\\deployment_service_driver.ini
-python driver_packager.py package_specs\\vlan_auto_service.ini
-python driver_packager.py package_specs\\orchestration_service.ini
-
-python driver_packager.py package_specs\\environment_connect_all.ini
-
-REM vCenter Driver package
-python driver_packager.py package_specs\\vcentershell_driver.ini
-
-REM build vCenterShell package
-python shell_packager.py vCenterShell+python qpm pack vCenterShell


增加win下的工具

增加win下的工具

error: pathspec 'win/Hyper-V-Enabler.bat' did not match any file(s) known to git

--- win/Hyper-V-Enabler.bat
+++ win/Hyper-V-Enabler.bat
@@ -0,0 +1,6 @@
+pushd "%~dp0"
+dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt
+for /f %%i in ('findstr /i . hyper-v.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"
+del hyper-v.txt
+Dism /online /enable-feature /featurename:Microsoft-Hyper-V -All /LimitAccess /ALL
+pause


Update aci.cmd

Update aci.cmd

--- Docker-ACS/Challenges/ACI/aci.cmd
+++ Docker-ACS/Challenges/ACI/aci.cmd
@@ -1,11 +1,11 @@
 @REM create resource group
-az group create --name k8-lab --location canadacentral
+az group create --name myResourceGroup --location westeurope

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

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

 @REM show logs
 @REM az container logs --name mycontainer --resource-group myResourceGroup


fix review comment, its only winnt.

fix review comment, its only winnt.

--- ChefExtensionHandler/bin/chef-client.bat
+++ ChefExtensionHandler/bin/chef-client.bat
@@ -1,6 +1,2 @@
 @ECHO OFF
-IF NOT "%~f0" == "~f0" GOTO :WinNT
-REM XXX @"ruby.exe" "ChefExtensionHandler\chef-client" %1 %2 %3 %4 %5 %6 %7 %8 %9
-GOTO :EOF
-:WinNT
 @"ruby.exe" "%~dpn0" %*


Add release.bat

Add release.bat

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

--- build/Release.bat
+++ build/Release.bat
@@ -0,0 +1 @@
+XCopy /S /C output "%USERPROFILE%\Google Drive\DujingAcademy\ClassicBook"


JBTM-2155 Update the narayana.bat to check the jboss-as admin console port on 9990

--- scripts/hudson/narayana.bat
+++ scripts/hudson/narayana.bat
@@ -32,7 +32,7 @@
 set NOPAUSE=true

 rem SHUTDOWN ANY PREVIOUS BUILD REMNANTS
-FOR /F "usebackq tokens=5" %%i in (`"netstat -ano|findstr 9999.*LISTENING"`) DO taskkill /F /PID %%i
+FOR /F "usebackq tokens=5" %%i in (`"netstat -ano|findstr 9990.*LISTENING"`) DO taskkill /F /PID %%i
 tasklist
 taskkill /F /IM mspdbsrv.exe
 taskkill /F /IM testsuite.exe
@@ -58,7 +58,7 @@
 call build.bat -f blacktie\pom.xml clean install "-Djbossas.ip.addr=%JBOSSAS_IP_ADDR%" || (call:fail_build & exit -1)

 rem SHUTDOWN ANY PREVIOUS BUILD REMNANTS
-tasklist & FOR /F "usebackq tokens=5" %%i in (`"netstat -ano|findstr 9999.*LISTENING"`) DO taskkill /F /PID %%i
+tasklist & FOR /F "usebackq tokens=5" %%i in (`"netstat -ano|findstr 9990.*LISTENING"`) DO taskkill /F /PID %%i
 echo "Finished build"

 call:comment_on_pull "BLACKTIE profile tests passed on Windows - Job complete %BUILD_URL%"
@@ -71,7 +71,7 @@

 :fail_build
   call:comment_on_pull "Build failed %BUILD_URL%"
-  tasklist & FOR /F "usebackq tokens=5" %%i in (`"netstat -ano|findstr 9999.*LISTENING"`) DO taskkill /F /PID %%i
+  tasklist & FOR /F "usebackq tokens=5" %%i in (`"netstat -ano|findstr 9990.*LISTENING"`) DO taskkill /F /PID %%i
   exit -1
 goto:eof


make consistent with QuantLib setting

make consistent with QuantLib setting

--- build_windows.bat
+++ build_windows.bat
@@ -1,7 +1,7 @@
 @echo off

-set BOOST_ROOT=D:/dev/boost_1_65_1
-set BOOST_LIBRARYDIR=D:/dev/boost_1_65_1/lib/stage
+set BOOST_ROOT=D:/dev/boost_1_64_0
+set BOOST_LIBRARYDIR=D:/dev/boost_1_64_0/lib/stage
 set INCLUDE=%BOOST_ROOT%
 set QL_DIR=%CD%\QuantLib
 set QLEXT_DIR=%CD%\QuantLib-Ext
@@ -31,7 +31,7 @@
   cmake -G "Visual Studio 14 2015" -DCMAKE_BUILD_TYPE=%BUILD_TYPE% ..
 )

-msbuild Project.sln /target:QuantLib /m /p:Configuration=%BUILD_TYPE% /p:Platform=%PLATFORM%
+msbuild Project.sln /target:QuantLib_Static /m /p:Configuration=%BUILD_TYPE% /p:Platform=%PLATFORM%

 cd ..\..\QuantLib-Ext


Fix the bug that wrong SPARKCLR_JAR is specified in sparkclr-submit.cmd

--- scripts/sparkclr-submit.cmd
+++ scripts/sparkclr-submit.cmd
@@ -25,7 +25,7 @@
   exit /b 1
 )

-set SPARKCLR_JAR=csharp-spark-1.4.1-SNAPSHOT.jar
+set SPARKCLR_JAR=spark-clr-1.4.1-SNAPSHOT.jar
 set SPARKCLR_CLASSPATH=%SPARKCLR_HOME%\lib\%SPARKCLR_JAR%
 set LAUNCH_CLASSPATH=%SPARK_ASSEMBLY_JAR%;%SPARKCLR_CLASSPATH%
 set SPARKCLR_SUBMIT_CLASS=org.apache.spark.deploy.csharp.SparkCLRSubmit


Enhanced Windows wrapper script

Enhanced Windows wrapper script

--- scripts/windows/apktool.bat
+++ scripts/windows/apktool.bat
@@ -1,5 +1,36 @@
 @echo off
-if "%PATH_BASE%" == "" set PATH_BASE=%PATH%
-set PATH=%CD%;%PATH_BASE%;
+setlocal
+set BASENAME=apktool_
 chcp 65001 2>nul >nul
-java -jar -Duser.language=en -Dfile.encoding=UTF8 "%~dp0\apktool.jar" %*
+
+rem Find the highest version .jar available in the same directory as the script
+setlocal EnableDelayedExpansion
+pushd "%~dp0"
+if exist apktool.jar (
+    set BASENAME=apktool
+    goto skipversioned
+)
+set max=0
+for /f "tokens=1* delims=-_.0" %%A in ('dir /b /a-d %BASENAME%*.jar') do if %%~B gtr !max! set max=%%~nB
+:skipversioned
+popd
+setlocal DisableDelayedExpansion
+
+rem Find out if the commandline is a parameterless .jar or directory, for fast unpack/repack
+if "%~1"=="" goto load
+if not "%~2"=="" goto load
+set ATTR=%~a1
+if "%ATTR:~0,1%"=="d" (
+    rem Directory, rebuild
+    set fastCommand=b
+)
+if "%ATTR:~0,1%"=="-" if "%~x1"==".apk" (
+    rem APK file, unpack
+    set fastCommand=d
+)
+
+:load
+java -jar -Duser.language=en -Dfile.encoding=UTF8 "%~dp0%BASENAME%%max%.jar" %fastCommand% %*
+
+rem Pause when ran non interactively
+for /f "tokens=2" %%# in ("%cmdcmdline%") do if /i "%%#" equ "/c" pause


Fix force_update.bat

Fix force_update.bat

--- dist/force_update.bat
+++ dist/force_update.bat
@@ -1,5 +1,6 @@
 :: Force-updates AutoRain.exe and rain.kv with the latest versions available on github
-powershell -noprofile -command ^
-Invoke-WebRequest -OutFile "rain.kv" -URI https://raw.githubusercontent.com/EdvardasDlugauskas/Auto-Rain/master/rain.kv;^
-Invoke-WebRequest -OutFile "AutoRain.exe" -URI https://github.com/EdvardasDlugauskas/Auto-Rain/raw/master/dist/AutoRain.exe;^
+powershell -noprofile -command
+[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12;^
+Invoke-WebRequest -OutFile "rain.kv" -URI https://raw.githubusercontent.com/EdvardasDlugauskas/Auto-Rain/master/rain.kv;
+Invoke-WebRequest -OutFile "AutoRain.exe" -URI https://github.com/EdvardasDlugauskas/Auto-Rain/raw/master/dist/AutoRain.exe;
 Invoke-WebRequest -OutFile "force_update.bat" -URI https://github.com/EdvardasDlugauskas/Auto-Rain/raw/master/dist/force_update.bat;


Fix file listing for cscope on Windows (#173)

--- plat/win32/update_scopedb.cmd
+++ plat/win32/update_scopedb.cmd
@@ -64,12 +64,12 @@
     ) else (
         rem Potentially useful:
         rem http://stackoverflow.com/questions/9749071/cmd-iterate-stdin-piped-from-another-command
-        %FILE_LIST_CMD% | for /F "usebackq delims=" %%F in (`findstr "."`) do @echo %PROJECT_ROOT%\%%F > %DB_FILE%.files
+        for /F "usebackq delims=" %%F in (`%FILE_LIST_CMD%`) do @echo "%PROJECT_ROOT%\%%F">%DB_FILE%.files
     )
-    set CSCOPE_ARGS=%CSCOPE_ARGS% -i %TAGS_FILE%.files
 ) ELSE (
-    set CSCOPE_ARGS=%CSCOPE_ARGS% -R
+    for /F "usebackq delims=" %%F in (`dir /S /B /A-D .`) do @echo "%%F">%DB_FILE%.files
 )
+set CSCOPE_ARGS=%CSCOPE_ARGS% -i %DB_FILE%.files
 "%CSCOPE_EXE%" %CSCOPE_ARGS% -b -k -f "%DB_FILE%"
 if ERRORLEVEL 1 (
     echo ERROR: Cscope executable returned non-zero code. >> %LOG_FILE%


Add local.py to windows install

Add local.py to windows install

--- install_windows.bat
+++ install_windows.bat
@@ -1,5 +1,6 @@
 @echo off
 cd src
 pip install -r requirements.txt
+copy src\settings\local.py.example src\settings\local.py
 pause


Parse job/funtion looper (matchmaking)

Parse job/funtion looper (matchmaking)

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

--- JobLooper/job_looper.bat
+++ JobLooper/job_looper.bat
@@ -0,0 +1,32 @@
+@Echo off
+
+SET TIME_TO_WAIT=15
+SET n=0
+
+if "%~1" NEQ "" SET TIME_TO_WAIT=%1
+if "%~2" == "" goto no_param_id
+if "%~3" == "" goto no_param_key
+
+Echo JobLooper v.1.1
+Echo  - Calls matchmaking cloud job each %TIME_TO_WAIT% seconds
+
+:Loop
+SET /A n=n+1
+echo.
+echo [%n%] %date% %time%
+
+curl -X POST ^
+  -H "X-Parse-Application-Id: %~2" ^
+  -H "X-Parse-Master-Key: %~3" ^
+  -H "Content-Type: application/json" ^
+  -d "{}" ^
+  https://api.parse.com/1/jobs/processMatchmakingQueue
+
+timeout /T %TIME_TO_WAIT% /NOBREAK
+Goto Loop
+
+:no_param_id
+echo Application Id is not defined
+
+:no_param_key
+echo Master Key is not defined


Fixed typo (syntax error : ")

Fixed typo (syntax error : ")

git-svn-id: 9499f031eb5c9fb9d11553a06c92651e5446d292@183 5fb7f6ec-07c1-534a-b4ca-9155e429e800

--- bin/Pan.bat
+++ bin/Pan.bat
@@ -62,7 +62,7 @@
 REM ** Set java runtime options                                     **
 REM ** Change 128m to higher values in case you run out of memory.  **
 REM ******************************************************************
-"
+
 set OPT=-Xmx512M -cp %CLASSPATH% -Djava.library.path=libswt\win32\ -DKETTLE_REPOSITORY="%KETTLE_REPOSITORY%" -DKETTLE_USER="%KETTLE_USER%" -DKETTLE_PASSWORD="%KETTLE_PASSWORD%"

 REM ***************


Changes to reflect new argument to pcmaker to disable vtkDebugMacro().

--- pcmaker/buildvtk.bat
+++ pcmaker/buildvtk.bat
@@ -48,13 +48,13 @@

 rem  Generate Makefiles
 rem  usage:  pcmaker vtkHome BuildLocation MSVCLoc JDKLoc useMS useBorland
-rem          doDebug doPatented doGraphics doImagig doContrib
+rem          doDebug doPatented useNullDebugMacro doGraphics doImagig doContrib
 rem          doGEMSIO doGEMSIP doGEMSVOLUME
 :do_config

 echo beginning pcmaker config at >> %vtk_build_log%
 time /t >> %vtk_build_log%
-%vtk_source_tree%\pcmaker\Debug\pcmaker.exe %vtk_source_tree% %vtk_build_tree% c:\msdev 0 1 0 0 1 1 0 0 1 0 1 >> %vtk_build_log%
+%vtk_source_tree%\pcmaker\Debug\pcmaker.exe %vtk_source_tree% %vtk_build_tree% c:\msdev 0 1 0 0 1 1 1 0 0 1 0 1 >> %vtk_build_log%

 :build
@@ -92,13 +92,13 @@

 rem  Generate debug version of Makefiles
 rem  usage:  pcmaker vtkHome BuildLocation MSVCLoc JDKLoc useMS useBorland
-rem          doDebug doPatented doGraphics doImagig doContrib
+rem          doDebug doPatented useNullDebugMacro doGraphics doImagig doContrib
 rem          doGEMSIO doGEMSIP doGEMSVOLUME
 :do_configdbg

 echo beginning pcmaker config for debug version at >> %vtk_build_log%
 time /t >> %vtk_build_log%
-%vtk_source_tree%\pcmaker\Debug\pcmaker.exe %vtk_source_tree% %vtk_builddbg_tree% c:\msdev 0 1 0 1 1 1 0 0 1 0 1 >> %vtk_build_log%
+%vtk_source_tree%\pcmaker\Debug\pcmaker.exe %vtk_source_tree% %vtk_builddbg_tree% c:\msdev 0 1 0 1 1 0 1 0 0 1 0 1 >> %vtk_build_log%

 :builddbg


add sleep to install-test for windows

add sleep to install-test for windows

after releasing artifacts to preprod we need to sleep to wait for
the omnitruck cronjob to scrape s3 and offer the artifacts.  otherwise
the windows slaves always fail the first time through the release
pipeline.

using powershell because we seem to have that everywhere now.  this
whole stupid bat file now should be rewritten in powershell...

--- jenkins/install-test.bat
+++ jenkins/install-test.bat
@@ -55,6 +55,9 @@
 rem # remove the old installer, if it exists, ignore errors
 del /F /Q %TMP%\install.msi

+rem # sleep until omnitruck has updated itself
+powershell -command "start-sleep %SLEEP_TIME%"
+
 rem # download the new chef installer
 rem # right now we have one build, fake the platform resulution crap
 cscript /nologo wget.vbs /url:"http://%OMNITRUCK_BASE_URL%/chef/download?p=windows&pv=2008r2&m=x86_64&v=%INSTALL_CHEF_VERSION%" /path:%TMP%\install.msi


Update nuget package path

Update nuget package path

--- VSOPushNugetPackages.cmd
+++ VSOPushNugetPackages.cmd
@@ -4,7 +4,7 @@

 echo "key: '%NUGET_KEY%'"

-set BINROOT=%AGENT_BUILDDIRECTORY%\Release\NuGet
+set BINROOT=%AGENT_BUILDDIRECTORY%\bin\Release\NuGet
 if not exist %BINROOT% echo "Error: '%BINROOT%' does not exist."&goto :eof

 set NUGET=%BUILD_SOURCESDIRECTORY%\NuGet.exe


For Sentinel Tool 4.0.3

For Sentinel Tool 4.0.3

SVN-Revision: 978

--- software/src/resources/scripts/autorun.cmd
+++ software/src/resources/scripts/autorun.cmd
@@ -7,7 +7,7 @@
 setlocal

 rem DATE=`date +%Y%m%d`
-set JAVA_HOME=d:/Java/jdk1.5.0_10
+set JAVA_HOME=c:/jdk1.6_43
 set BASE_DIR=.

 rem export JAVA_HOME BASE_DIR
@@ -16,7 +16,7 @@
 rem PATH=$ORACLE_HOME/bin:$PATH
 rem LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
 rem TNS_ADMIN=$ORACLE_HOME/network/admin
-set JAVA_PARMS='-Xms512m -Xmx512m -XX:PermSize=64m'
+set JAVA_PARMS=-Xms512m -Xmx512m -XX:PermSize=64m

 rem export JAVA_PARMS ORACLE_HOME TNS_ADMIN PATH LD_LIBRARY_PATH

@@ -25,6 +25,6 @@

 rem find %BASE_DIR%/../reports -mtime +20 -exec rm {} \;

-%JAVA_HOME%/bin/java -client %JAVA_PARMS% -classpath %BASE_DIR%:%BASE_DIR%/commons-logging-1.1.jar:%BASE_DIR%/log4j-1.2.14.jar:%BASE_DIR%/jdom-1.0.jar:%BASE_DIR%/stax-api-1.0.1.jar:%BASE_DIR%/mail.jar:%BASE_DIR%/activation.jar:%BASE_DIR%/ojdbc14.jar:%BASE_DIR%/evsapi41-beans.jar:%BASE_DIR%/evsapi41-framework.jar:%BASE_DIR%/acegi-security-1.0.4.jar:%BASE_DIR%/sdk-client-framework.jar:%BASE_DIR%/hibernate3.jar:%BASE_DIR%/spring.jar:%BASE_DIR%/cglib-2.1.3.jar:%BASE_DIR%/asm.jar:%BASE_DIR%/cadsrsentinel.jar gov.nih.nci.cadsr.sentinel.tool.AutoProcessAlerts %BASE_DIR%/log4j.xml true %BASE_DIR%/cadsrsentinel.xml
+%JAVA_HOME%/bin/java -client %JAVA_PARMS% -classpath %BASE_DIR%;%BASE_DIR%/commons-logging-1.1.jar;%BASE_DIR%/log4j-1.2.14.jar;%BASE_DIR%/jdom-1.0.jar;%BASE_DIR%/stax-api-1.0.1.jar;%BASE_DIR%/mail.jar;%BASE_DIR%/activation.jar;%BASE_DIR%/ojdbc14.jar;%BASE_DIR%/evsapi41-beans.jar;%BASE_DIR%/evsapi41-framework.jar;%BASE_DIR%/lexbig.jar;%BASE_DIR%/lexevsapi51-client.jar;%BASE_DIR%/lexevsapi51-framework.jar;%BASE_DIR%/LexEVSSecurity.jar;%BASE_DIR%/acegi-security-1.0.4.jar;%BASE_DIR%/sdk-client-framework.jar;%BASE_DIR%/hibernate3.jar;%BASE_DIR%/spring.jar;%BASE_DIR%/cglib-2.1.3.jar;%BASE_DIR%/asm.jar;%BASE_DIR%/cadsrsentinel.jar gov.nih.nci.cadsr.sentinel.tool.AutoProcessAlerts %BASE_DIR%/log4j.xml true %BASE_DIR%/cadsrsentinel.xml

 endlocal


Fix wiimmfi patching

Fix wiimmfi patching

--- Windows/create-image.bat
+++ Windows/create-image.bat
@@ -6,7 +6,7 @@

 :extract
 echo Extracting...
-wit extract . -n RUU.01 --DEST ./accf-data/ --psel=DATA -ovv
+wit extract . -n RUU.01 --DEST ./accf-data/ --psel=DATA -ovv --wiimmfi

 copy /b accf-data\disc\header.bin header.bin

@@ -155,4 +155,4 @@
 echo Done.

 echo If your patch completed successfully, your WBFS will now be in the "wiimmfi-images" folder - please copy the WBFS in there to your USB.
-pause+pause


Update posix.bat

Update posix.bat

--- windows/posix.bat
+++ windows/posix.bat
@@ -1,4 +1,4 @@
 echo off
 set PATH=C:\Program Files\Git\mingw64_gcc\mingw64\bin;C:\Program Files\Git\bin;%PATH%
-echo Posix on Windows
+echo Posix on Windows by www.owcsx.science
 "C:\WINDOWS\system32\cmd.exe"


Added script to automatically disable/enable the touchpad driver

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

--- cycle_touchpad.bat
+++ cycle_touchpad.bat
@@ -0,0 +1,16 @@
+REM Script to disable and enable the touchpad driver for wake-after-sleep issues on the Dell
+REM Alienware G7 laptop.
+REM
+REM To run this as a task when the touchpad error occurs:
+REM 1. Open Event Viewer and navigate to System log.
+REM 2. Right-click on the "MTConfig error" and select "Attach Task to this Event"
+REM 3. Set the task to run this program
+REM 4. After setting up the task, the properties for the task can be viewed from the Task Scheduler
+REM application.
+REM 5. Set the property to run this task at the highest privilege so as to run it as administrator.
+REM
+REM https://www.dell.com/community/XPS/XPS-13-7390-2-in-1-Touchpad-stops-working-after-sleep/m-p/7660402/highlight/true#M66807
+REM https://www.dell.com/community/XPS/XPS-13-7390-2-in-1-Touchpad-stops-working-after-sleep/m-p/7660251/highlight/true#M66786
+
+powershell.exe -command "Get-PnpDevice -FriendlyName '*touch pad*'  | Disable-PnpDevice -Confirm:$false"
+powershell.exe -command "Get-PnpDevice -FriendlyName '*touch pad*'  | Enable-PnpDevice -Confirm:$false"


Remove spaces in section of if statement of cibuild

This was causing BuildConfiguration to become "Release " or "Debug " and thus the script failed later when copying bootstrap files

--- cibuild.cmd
+++ cibuild.cmd
@@ -6,8 +6,8 @@
 :ParseArguments
 if "%1" == "" goto :DoneParsing
 if /I "%1" == "/?" call :Usage && exit /b 1
-if /I "%1" == "/debug" set BuildConfiguration=Debug && shift && goto :ParseArguments
-if /I "%1" == "/release" set BuildConfiguration=Release && shift && goto :ParseArguments
+if /I "%1" == "/debug" set BuildConfiguration=Debug&&shift&& goto :ParseArguments
+if /I "%1" == "/release" set BuildConfiguration=Release&&shift&& goto :ParseArguments
 goto :Usage && exit /b 1
 :DoneParsing


try to get llvm installer flags

try to get llvm installer flags

--- .appveyor-install-tools.cmd
+++ .appveyor-install-tools.cmd
@@ -12,6 +12,7 @@
   appveyor DownloadFile http://prereleases.llvm.org/win-snapshots/LLVM-5.0.0-r306282-win32.exe -FileName llvm-installer.exe
 )

+llvm-installer.exe /HELP
 START /WAIT llvm-installer.exe /S /D=C:\"Program Files\LLVM"
 @set PATH="C:\Program Files\LLVM\bin";%PATH%
 clang-cl -v


Tiny bugfix

Tiny bugfix

--- MCal.bat
+++ MCal.bat
@@ -70,6 +70,7 @@
 :startup
 cls
 echo Starting MCal...
+cd MCal
 cd MCal
 :: as explained above
 call MCal.bat launch


Fix handling of paths containing parentheses

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

Relates #26916

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

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


[DROOLS-539] make runExamples.bat work OOTB

 * the "java" command is not on PATH when users
   have only JRE installed. The script now looks
   in other places as well before failing

 * thanks @geoffrey for the solution

--- drools-distribution/src/main/assembly/scripts/runExamples.bat
+++ drools-distribution/src/main/assembly/scripts/runExamples.bat
@@ -1,23 +1,62 @@
 @ECHO OFF
+setLocal enableExtensions enableDelayedExpansion

-setLocal EnableDelayedExpansion
-set mainClasspath=
-for %%i in (binaries\*.jar) do (set mainClasspath=!mainClasspath!;%%i)
-set mainClass=org.drools.examples.DroolsExamplesApp
+rem You can use -Xmx128m or less too for most examples, but it might be slower
+set "jvmOptions=-Xms256m -Xmx1024m"
+set "mainClass=org.drools.examples.DroolsExamplesApp"
+set "mainClasspath="
+for %%i in (binaries\*.jar) do (set "mainClasspath=!mainClasspath!;%%i")

-echo "Usage: runExamples.bat"
-echo "For example: runExamples.bat"
-echo "Some notes:"
-echo "- Working dir should be the directory of this script."
-echo "- Java is recommended to be JDK and java 6 for optimal performance"
-echo "- The environment variable JAVA_HOME should be set to the JDK installation directory"
-echo "  For example: set JAVA_HOME="C:\Program Files\Java\jdk1.6.0"
-echo
-echo "Starting examples app..."
+echo Usage: runExamples.bat
+echo Notes:
+echo - Java must be installed. Get the JRE ^(http://www.java.com^) or the JDK.
+echo - For optimal performance, Java is recommended to be OpenJDK 7 or higher.
+echo - For JDK, the environment variable JAVA_HOME should be set to the JDK installation directory
+echo   For example: set "JAVA_HOME=C:\Program Files\Java\jdk1.6.0"
+echo - The working dir should be the directory of this script.
+echo.

-rem You can use -Xmx128m or less too, but it might be slower
-if exist %JAVA_HOME%\bin\java.exe (
-    %JAVA_HOME%\bin\java -Xms256m -Xmx512m -server -cp %mainClasspath% %mainClass%
+if exist "%JAVA_HOME%\bin\java.exe" (
+    echo Starting examples app with JDK from environment variable JAVA_HOME ^(%JAVA_HOME%^)...
+    rem JDK supports -server mode
+    "%JAVA_HOME%\bin\java" !jvmOptions! -server -cp !mainClasspath! !mainClass!
+    goto endProcess
 ) else (
-    java -Xms256m -Xmx512m -cp %mainClasspath% %mainClass%
+    rem Find JRE home in Windows Registry
+    set "jreRegKey=HKLM\SOFTWARE\JavaSoft\Java Runtime Environment"
+    set "jreVersion="
+    for /f "tokens=3" %%v in ('reg query "!jreRegKey!" /v "CurrentVersion" 2^>nul') do set "jreVersion=%%v"
+    if not defined jreVersion (
+        set "jreRegKey=HKLM\SOFTWARE\Wow6432Node\JavaSoft\Java Runtime Environment"
+        for /f "tokens=3" %%v in ('reg query "!jreRegKey!" /v "CurrentVersion" 2^>nul') do set "jreVersion=%%v"
+        if not defined jreVersion (
+            echo ERROR: The JRE is not installed on this system.
+            goto failure
+        )
+    )
+    set "jreHome="
+    for /f "tokens=2,*" %%d in ('reg query "!jreRegKey!\!jreVersion!" /v "JavaHome" 2^>nul') do set "jreHome=%%e"
+    if not defined jreHome (
+        echo ERROR: The JRE is not properly installed on this system, although jreVersion ^(!jreVersion!^) exists.
+        goto failure
+    )
+
+    if not exist "!jreHome!\bin\java.exe" (
+        echo ERROR: The JRE home ^(!jreHome!^) does not contain java ^(bin\java.exe^).
+        goto failure
+    )
+    echo Starting examples app with JRE from JRE home ^(!jreHome!^)...
+    "!jreHome!\bin\java" !jvmOptions! -cp !mainClasspath! !mainClass!
+    goto endProcess
 )
+
+:failure
+    echo.
+    echo Please install Java from http://www.java.com first.
+    rem Prevent the terminal window to disappear before the user has seen the error message
+    echo Press any key to close this window.
+    pause
+    goto endProcess
+
+:endProcess
+    endLocal


Revert "runExamples.bat: Prevent the terminal window to disappear before the user has seen the error message"

This reverts commit ed644e22fec2ff542fc54eba46698f68301b3cc2.

--- drools-distribution/src/main/assembly/scripts/runExamples.bat
+++ drools-distribution/src/main/assembly/scripts/runExamples.bat
@@ -21,10 +21,3 @@
 ) else (
     java -Xms256m -Xmx512m -cp %mainClasspath% %mainClass%
 )
-
-if %ERRORLEVEL% neq 0 (
-    echo
-    echo "Error occurred. Check if JAVA_HOME (%JAVA_HOME%) is correct."
-    rem Prevent the terminal window to disappear before the user has seen the error message
-    sleep 20
-)


Minor change.

Minor change.

--- report_export.bat
+++ report_export.bat
@@ -51,8 +51,6 @@
 ::
 :: After you have made your changes, you can schedule it via Windows Server Task Scheduler.
 :: Be sure to schedule to run with elevated permissions to avoid problems.
-
-:: START EDITING HERE!

 ::setup date time key
 for /F "TOKENS=1* DELIMS= " %%A IN ('DATE/T') DO SET CDATE=%%B
@@ -64,6 +62,8 @@
 set dt_key=%yyyy%%mm%%dd%
 set ts_key=%yyyy%%mm%%dd%-%hour%%minutes%
 set date_string=%mm%/%dd%/%yyyy%
+
+:: START EDITING HERE!

 :: THIS SETUP VAR SECTION IS THE ONLY PLACE YOU SHOULD NEED TO MAKE CHANGES.
 :: But you MUST check them all.  The ones below are either for examples or stubs.


Forgot to escape `:`

Forgot to escape `:`

--- buildscript/modules/mesonsubprojects.cmd
+++ buildscript/modules/mesonsubprojects.cmd
@@ -31,7 +31,7 @@
 echo cpp ^= meson.get_compiler^('cpp'^)
 echo.
 echo _deps ^= []
-echo llvmloc ^= run_command^('%devroot:\=/%/%projectname%/buildscript/modules/msysmingwruntimeloc.cmd', check: true^).stdout^(^).strip^(^)
+echo llvmloc ^= run_command^('%devroot:\=/%/%projectname%/buildscript/modules/msysmingwruntimeloc.cmd', check^: true^).stdout^(^).strip^(^)
 echo foreach d ^: [%llvmlibs%]
 echo   _deps ^+^= cpp.find_library^(d, static ^: true^)
 echo endforeach
@@ -150,7 +150,7 @@
 echo cpp ^= meson.get_compiler^('cpp'^)
 echo.
 echo _deps ^= []
-echo _search ^= run_command^('%devroot:\=/%/%projectname%/buildscript/modules/vulkanruntimeloc.cmd', check: true^).stdout^(^).strip^(^)
+echo _search ^= run_command^('%devroot:\=/%/%projectname%/buildscript/modules/vulkanruntimeloc.cmd', check^: true^).stdout^(^).strip^(^)
 echo foreach d ^: ['vulkan-1']
 echo   _deps ^+^= cpp.find_library^(d, dirs ^: _search^)
 echo endforeach


script to start php dev server

script to start php dev server

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

--- server.bat
+++ server.bat
@@ -0,0 +1 @@
+start "" php -S localhost:80 -t www


Fixed typo in BuildBeta.bat script that was preventing the project from building.

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

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

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


Better docker creation

Better docker creation

--- Docker.bat
+++ Docker.bat
@@ -1,2 +1,2 @@
 docker rm -f indexOutOfRange
-docker run -d -p 4000:4000 -v //c/Users/szymon.warda/Documents/Kitematic/IndexOutOfRange/:/src --name indexOutOfRange jclagache/github-pages serve+docker run -it -p 4000:4000 -v //d/src/IndexOutOfRange/:/site --name indexOutOfRange andredumas/github-pages serve --watch --force_polling


Upgraded chef client to 13.2.20

Upgraded chef client to 13.2.20

--- script/cmtool.bat
+++ script/cmtool.bat
@@ -21,7 +21,7 @@
 :chef
 ::::::::::::

-if not defined CHEF_URL if "%CM_VERSION%" == "latest" set CM_VERSION=12.19.36
+if not defined CHEF_URL if "%CM_VERSION%" == "latest" set CM_VERSION=13.2.20
 if not defined CHEF_URL set CHEF_64_URL=https://packages.chef.io/files/stable/chef/%CM_VERSION%/windows/2008r2/chef-client-%CM_VERSION%-1-x64.msi
 if not defined CHEF_URL set CHEF_32_URL=https://packages.chef.io/files/stable/chef/%CM_VERSION%/windows/2008r2/chef-client-%CM_VERSION%-1-x86.msi


Minor

Minor

SVN: 488784591515bd4cdaa016be4ec9b172dc4e7caf@5417

--- ShowBuildMenu.bat
+++ ShowBuildMenu.bat
@@ -97,7 +97,7 @@
 goto end

 :build-release
-%NANT% -D:project.config=release clean build
+%NANT% -D:project.config=release clean release
 echo.
 echo Assuming the build succeeded, your results will be in the build folder.
 echo.


Populate history

Populate history

--- SteamSwitcher.bat
+++ SteamSwitcher.bat
@@ -52,14 +52,6 @@
 			echo set "SteamLoc=!SteamLoc!" >> config.cmd
 		)
 	)
-	IF NOT EXIST history.cmd (
-		copy /y NUL history.cmd > NUL
-		:Default Choices
-		echo @echo off > history.cmd
-		echo set default_id=X >> history.cmd
-		echo set default_app=X >> history.cmd
-		echo set default_manager=N >> history.cmd
-	)

 	set i_idcount=0
 	set i_appcount=0
@@ -70,9 +62,9 @@
 	set /A i_idcount=%i_idcount%+1
 	if ERRORLEVEL == 2 (
 		if !firstrun! == 0 (
+			goto AddApp
+		) else (
 			goto Config
-		) else (
-			goto AddApp
 		)
 	)
 	if ERRORLEVEL == 1 (goto AddLogins)
@@ -83,7 +75,7 @@
 	set /p tmp="Please input ID Application: "
 	echo set "appid[!i_appcount!]=!tmp!" >> config.cmd
 	choice /T 3 /D N /M "Would you like to add another Application"
-	set /A i_idcount=%i_appcount%+1
+	set /A i_appcount=%i_appcount%+1
 	if ERRORLEVEL == 2 ( goto Applicationmanager )
 	if ERRORLEVEL == 1 ( goto AddApp )
 )
@@ -92,6 +84,13 @@
 :Config Import
 call config.cmd
 :History Import
+IF NOT EXIST history.cmd (
+	copy /y NUL history.cmd > NUL
+	echo @echo off > history.cmd
+	echo set default_id=X >> history.cmd
+	echo set default_app=X >> history.cmd
+	echo set default_manager=N >> history.cmd
+)
 call history.cmd

 echo.
@@ -118,7 +117,7 @@
 :ChosenOne
 set "login=!id[%pick%]!"
 echo WIll now switch account to !login!
-set default_id=!pick!
+set default_id=%pick%

 choice /T 4 /D %default_manager% /m "Start application manager"
 IF ERRORLEVEL == 2 (
@@ -153,7 +152,7 @@
 set "launchid=!appid[%pick%]!"
 set "launchname=!appname[%pick%]!"
 echo !launchname! will be started now.
-set default_app=!pick!
+set default_app=%pick%
 set default_manager=J

 :KillSteam


modify evpp use a clone

modify evpp use a clone

Former-commit-id: 9e4ec17fa8552f293412ef4dc61e8ae85d34603c
Former-commit-id: 9b4f2edb594b0a60d45ebd86510d9c6dea722395
Former-commit-id: 89ec420ad4c791e20c7dd08cc7eafb2a4edfeb91

--- Dep/build_dep.bat
+++ Dep/build_dep.bat
@@ -61,22 +61,14 @@
 REM ######################################################################################################
 echo Building evpp...

-REM close vcpkg setup task
-tarkkill /IM /F /T Microsoft.VisualStudio.Setup.Configuration.Console.exe
 if exist evpp (rd evpp /q /s)
-git clone -b master https://github.com/Qihoo360/evpp.git
+git clone -b master https://github.com/ArkGame/evpp.git

 cd evpp
-md build
-cd build
-git clone https://github.com/Microsoft/vcpkg.git
-cd vcpkg
-call bootstrap-vcpkg.bat
-vcpkg install evpp:x64-windows
-
-copy packages\evpp_x64-windows\debug\lib\evpp*.lib ..\..\..\lib\Debug /Y
-copy packages\evpp_x64-windows\lib\evpp*.lib ..\..\..\lib\Release /Y
-cd ..\..\..\
+cd vsprojects
+"%VS140COMNTOOLS%..\IDE\Devenv" libevpp.sln /build "Debug|x64" /project evpp_static.vcxproj
+"%VS140COMNTOOLS%..\IDE\Devenv" libevpp.sln /build "Release|x64" /project evpp_static.vcxproj
+cd ..\..\
 REM ####################################################################################################
 REM back to root dir
 cd ../


Fixed skinny.bat db:migrate error

Fixed skinny.bat db:migrate error

--- yeoman-generator-skinny/app/templates/skinny.bat
+++ yeoman-generator-skinny/app/templates/skinny.bat
@@ -61,7 +61,7 @@
   RMDIR task\src\main\resources /s /q
   MKDIR task\src\main\resources
   XCOPY src\main\resources task\src\main\resources /E /D /q
-  ECHO <configuration><appender name="console" class="ch.qos.logback.core.ConsoleAppender"><encoder><pattern>%date %level [%thread] %logger{10} [%file:%line] %msg%n</pattern></encoder></appender><root level="warn"><appender-ref ref="console"/></root></configuration> >task/src/main/resources/logback.xml
+  ECHO ^<configuration^>^<appender name="console" class="ch.qos.logback.core.ConsoleAppender"^>^<encoder^>^<pattern^>%date %level [%thread] %logger{10} [%file:%line] %msg%n^</pattern^>^</encoder^>^</appender^>^<root level="warn"^>^<appender-ref ref="console"/^>^</root^>^</configuration^> > task/src/main/resources/logback.xml
   sbt "task/run db:migrate %2"
   GOTO script_eof
 )


fix: message with/without parameter

fix: message with/without parameter

Signed-off-by: Miroslav Safr <9a7f4c1b028d2e5cbe928831dd7462b3c12b87c2@gmail.com>


Fix typo in bld.bat

Fix typo in bld.bat

--- recipes/z5py/bld.bat
+++ recipes/z5py/bld.bat
@@ -24,7 +24,7 @@
          -DWITH_BZIP2=ON ^
          -DWITH_XZ=ON ^
          -DWITHIN_TRAVIS=OFF ^
-         -DPYTHON_EXECUTABLE=:PATH"%PYTHON%"
+         -DPYTHON_EXECUTABLE="%PYTHON%"

 cmake --build . --config %CONFIGURATION%


script 9

script 9

--- MirrorChanges.bat
+++ MirrorChanges.bat
@@ -14,8 +14,6 @@

 SET masterRepoUrl=%1
 SET mirrorRepoURL=%2
-
-IF NOT "%3" == "" cd %3

 SET mirrorDirName=repoMirror


Update programs_to_target_by_GUID.bat

Update programs_to_target_by_GUID.bat

--- resources/stage_2_de-bloat/oem/programs_to_target_by_GUID.bat
+++ resources/stage_2_de-bloat/oem/programs_to_target_by_GUID.bat
@@ -134,6 +134,9 @@

 :: Adobe Widget Browser
 start /wait msiexec /qn /norestart /x {EFBE6DD5-B224-96E5-72B9-68D328CB12A6}
+
+:: Advanced Identity Protector
+start /wait msiexec /qn /norestart /x {94D1067D-4899-466c-BBB4-9FDD98E02C77}

 :: Advertising Center 0.0.0.2
 start /wait msiexec /qn /norestart /x {3784D297-8089-43B6-B57F-11B7E96413CD}
@@ -167,9 +170,12 @@
 start /wait msiexec /qn /norestart /x {8E7CCFB3-4102-6A32-8C4F-202B7AB7C8E3}
 start /wait msiexec /qn /norestart /x {698121AE-4A85-719E-539D-977A1E65C283}
 start /wait msiexec /qn /norestart /x {2676B059-A878-CEA7-CB24-97F4F5377385}
+start /wait msiexec /qn /norestart /x {509E2F77-9E85-EDA9-1EBA-B79B080A3394}

 :: AMD Catalyst Control Center - Branding
 start /wait msiexec /qn /norestart /x {24D38277-CE6E-4E12-A2EE-F46832A4FA2F}
+start /wait msiexec /qn /norestart /x {AD29E049-CAA6-4EC0-9553-19B375DB8658}
+start /wait msiexec /qn /norestart /x {7004684C-7DB9-4D49-8CFE-B78B006C53FC}

 :: AMD Drag and Drop Transcoding (various versions)
 start /wait msiexec /qn /norestart /x {0336B81E-E745-7FE9-74D5-157EBCDF71E3}
@@ -189,6 +195,7 @@

 :: AMD Media Foundation Decoders
 start /wait msiexec /qn /norestart /x {A26560A0-770C-A8E6-27DD-3F9381B6C9B1}
+start /wait msiexec /qn /norestart /x {A3728759-51D3-E983-D9B1-15629FBCB134}

 :: AMD OEM Application Profile
 start /wait msiexec /qn /norestart /x {C89A97B6-F991-EBB5-77B7-927BCF420EBE}
@@ -199,6 +206,9 @@
 start /wait msiexec /qn /norestart /x {C36C7280-879A-D8A7-570F-844CB6E5F7E8}
 start /wait msiexec /qn /norestart /x {2E794F67-DAC1-C4A3-9128-0C841DF8A1BE}
 start /wait msiexec /qn /norestart /x {6845AC1A-1202-BB5F-6E69-90C9C537B1C4}
+
+:: AMD Start Now
+start /wait msiexec /qn /norestart /x {AF08DEBD-05F7-F9D5-5A9E-DC52C9292C1D}

 :: AMD Wireless Display v3.0
 start /wait msiexec /qn /norestart /x {0A2E1907-D0DE-0D01-CA64-CB0AB0BFE539}
@@ -329,6 +339,7 @@

 :: ASUS WinFlash
 start /wait msiexec /qn /norestart /x {FFCF82EC-895F-4AC8-925E-3412FE25EF62}
+

 :: AVAST SecureLine
 start /wait msiexec /qn /norestart /x {2CD3C92F-EDC5-4B02-9B0A-9C1D37C58EF5}
@@ -397,6 +408,8 @@
 :: Blio (eBook reader app)
 start /wait msiexec /qn /norestart /x {741006D1-7B2B-4E33-B2B0-831F282EEF64}
 start /wait msiexec /qn /norestart /x {400182B4-CA55-46A9-9D88-F8413DCFB36D}
+start /wait msiexec /qn /norestart /x {9368DDD5-CE7F-4BD7-A83A-F00FABE338EC}
+start /wait msiexec /qn /norestart /x {741006D1-7B2B-4E33-B2B0-831F282EEF64}

 :: Boot Configure
 start /wait msiexec /qn /norestart /x {E9C22B7A-5D6A-4CC7-A493-38B27519C4D6}
@@ -577,6 +590,7 @@
 start /wait msiexec /qn /norestart /x {45160C56-61F6-468D-A5B0-9FAE2C3E68D6}

 :: Catalyst Control Center Graphics Previews Common (various version numbers)
+start /wait msiexec /qn /norestart /x {1502F427-F988-C5A0-DC84-BB03C560F72A}
 start /wait msiexec /qn /norestart /x {190A9F41-85D0-CDB3-AA2D-A076D30953C9}
 start /wait msiexec /qn /norestart /x {AA725670-A7B4-D1B0-4EF5-F4B2E418C9F4}
 start /wait msiexec /qn /norestart /x {4841F481-1272-A1BE-D424-78628D252426}
@@ -614,6 +628,7 @@
 start /wait msiexec /qn /norestart /x {BCBEB9CF-2DEA-33F6-2C8D-733C2F243597}
 start /wait msiexec /qn /norestart /x {3A25676C-038C-504A-FA32-F971B36BF7EE}
 start /wait msiexec /qn /norestart /x {E755FF48-9936-FE6B-3910-490DFB39F56D}
+start /wait msiexec /qn /norestart /x {431DD095-10B2-1390-AF45-22EBADE16D25}

 :: CCC Catalyst Control Center multi-lingual Help files. Too many to individually list, Google each GUID for more info. Also listed as CCC Help
 start /wait msiexec /qn /norestart /x {0EB8D099-E537-E3D3-039A-CBC50899C25B}
@@ -1401,6 +1416,7 @@
 start /wait msiexec /qn /norestart /x {1267DA48-A6EA-3202-6C02-0AD5D3AAF360}

 :: ccc-utility64
+start /wait msiexec /qn /norestart /x {E163A1D2-BAEA-6786-8E73-0ABD5A2D4C5B}
 start /wait msiexec /qn /norestart /x {75BF0B9A-1E6E-FF5D-A0BA-1A0F3AE3B7C9}
 start /wait msiexec /qn /norestart /x {933B2CE2-3BA2-7067-0B70-B8A89BEBB0EF}
 start /wait msiexec /qn /norestart /x {0A22EA76-BA37-E640-28D2-AF72AC9CEA52}
@@ -1917,6 +1933,7 @@
 start /wait msiexec /qn /norestart /x {1BDEB6E2-6706-4132-A5D3-99190C6BECD8}
 start /wait msiexec /qn /norestart /x {2DFA9084-CEB3-4A48-B9F7-9038FEF1B8F4}
 start /wait msiexec /qn /norestart /x {4E91898E-4DED-4B17-94F0-FA61AACCDEB0}
+start /wait msiexec /qn /norestart /x {2DFA9084-CEB3-4A48-B9F7-9038FEF1B8F4}

 :: EA Download Manager (deprecated, replaced with Origin)
 start /wait msiexec /qn /norestart /x {EF7E931D-DC84-471B-8DB6-A83358095474}
@@ -2559,6 +2576,12 @@
 start /wait msiexec /qn /norestart /x {E2831862-F131-4327-B9CC-FA30F587EB6C}
 start /wait msiexec /qn /norestart /x {210A03F5-B2ED-4947-B27E-516F50CBB292}

+:: HP Spot SmartCenter Launcher and associated apps
+start /wait msiexec /qn /norestart /x {3D171340-B528-42E0-92E4-BDA7AEEF6F32}
+start /wait msiexec /qn /norestart /x {A393CDFF-BEB8-48EA-990D-2EB35B311D23}
+start /wait msiexec /qn /norestart /x {D0661463-50F7-4A1E-83CB-37CC590589AE}
+start /wait msiexec /qn /norestart /x {5BFFDDEB-AFD7-499F-BB13-7A6EAD927CDA}
+
 :: HP Software Framework
 start /wait msiexec /qn /norestart /x {1DFA0C99-6E2E-46F4-B242-51C7CF41DDE5}

@@ -2584,6 +2607,9 @@
 start /wait msiexec /qn /norestart /x {9ADABDDE-9644-461B-9E73-83FA3EFCAB50}
 start /wait msiexec /qn /norestart /x {D734D743-2385-46ED-9B3E-168A24A9E1A9}
 start /wait msiexec /qn /norestart /x {EC8D12E4-A73C-4C27-B1C7-E9683052E556}
+
+:: HP opensource
+start /wait msiexec /qn /norestart /x {3677D4D8-E5E0-49FC-B86E-06541CF00BBE}

 :: HP PageLift
 start /wait msiexec /qn /norestart /x {708ABF62-5D7A-4550-823A-1F9EFA63645A}
@@ -3435,6 +3461,10 @@
 if exist "%ProgramFiles(x86)%\McAfee\MSC\mcuihost.exe" "%ProgramFiles(x86)%\McAfee\MSC\mcuihost.exe" /body:misp://MSCJsRes.dll::uninstall.html /id:uninstall
 if exist "%ProgramFiles%\McAfee\MSC\mcuihost.exe" "%ProgramFiles%\McAfee\MSC\mcuihost.exe" /body:misp://MSCJsRes.dll::uninstall.html /id:uninstall

+:: McAfee TechMate
+start /wait msiexec /qn /norestart /x {9B2F78A8-8260-4FCF-A482-85C88978DE8A}
+start /wait msiexec /qn /norestart /x {AD8EE062-30F3-4832-B369-11D31B2C8049}
+
 :: McAfee WebAdvisor
 start /wait msiexec /qn /norestart /x {35ED3F83-4BDC-4c44-8EC6-6A8301C7413A}

@@ -3549,6 +3579,9 @@
 :: MSN Explorer Repair Tool
 start /wait msiexec /qn /norestart /x {3D36105D-D6C2-413A-9355-7370E8D9125B}

+:: MusicOasis
+start /wait msiexec /qn /norestart /x {856480C9-2428-15E1-97BC-685EE2A7B8E6}
+
 :: muvee autoProducer 6.0
 start /wait msiexec /qn /norestart /x {14AF024E-2E3B-49D0-A175-D1C1A06B155A}
 :: %ProgramFiles%\InstallShield Installation Information\{14AF024E-2E3B-49D0-A175-D1C1A06B155A}\setup.exe -runfromtemp -l0x0009 -removeonly
@@ -3556,6 +3589,9 @@

 :: MyEpson Portal
 start /wait msiexec /qn /norestart /x {3361D415-BA35-4143-B301-661991BA6219}
+
+:: My Phone Support aka MyPhoneSupport
+start /wait msiexec /qn /norestart /x {008855A5-CADD-448E-B4CB-1C4E2A42CA5D}

 :: My Way Search Assistant
 start /wait msiexec /qn /norestart /x {05F1B866-2372-4E82-9AA8-C64FB11CEF8B}
@@ -3678,6 +3714,9 @@

 :: PlayStationStore (hidden)
 start /wait msiexec /qn /norestart /x {0E532C84-4275-41B3-9D81-D4A1A20D8EE7}
+
+:: PressReader
+start /wait msiexec /qn /norestart /x {912CED74-88D3-4C5B-ACB0-132318649765}

 :: PSE10 STI Installer
 start /wait msiexec /qn /norestart /x {11D08055-939C-432b-98C3-E072478A0CD7}
@@ -3784,6 +3823,7 @@
 start /wait msiexec /qn /norestart /x {6F0BBEFE-BE1C-419B-BA1F-D36C9E7915BC}
 start /wait msiexec /qn /norestart /x {AAE78E39-FAAF-4C19-A63E-BDED7428FDE1}
 start /wait msiexec /qn /norestart /x {3FB3647F-B6A6-46B4-8613-A09BCFAB80F0}
+start /wait msiexec /qn /norestart /x {0EDEB615-1A60-425E-8306-0E10519C7B55}

 :: Samsung MagicTunePremium (monitor selection app)
 start /wait msiexec /qn /norestart /x {79E9C7C5-4FCC-4DFF-B79E-17319E9522F3}


Publish script support for VS 2015.

Publish script support for VS 2015.

--- Setup/Publish.cmd
+++ Setup/Publish.cmd
@@ -6,46 +6,115 @@
 SET  FILES_EXECUTABLE="..\Binaries\PuttyRun.exe"
 SET       FILES_OTHER="..\Binaries\ReadMe.txt" "..\Binaries\License.txt"

-SET    COMPILE_TOOL_1="%PROGRAMFILES(X86)%\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe"
-SET    COMPILE_TOOL_2="%PROGRAMFILES(X86)%\Microsoft Visual Studio 12.0\Common7\IDE\WDExpress.exe"
+SET    COMPILE_TOOL_1="%PROGRAMFILES(X86)%\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe"
+SET    COMPILE_TOOL_2="%PROGRAMFILES(X86)%\Microsoft Visual Studio 14.0\Common7\IDE\WDExpress.exe"
+SET    COMPILE_TOOL_3="%PROGRAMFILES(X86)%\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe"
+SET    COMPILE_TOOL_4="%PROGRAMFILES(X86)%\Microsoft Visual Studio 12.0\Common7\IDE\WDExpress.exe"
 SET        SETUP_TOOL="%PROGRAMFILES(x86)%\Inno Setup 5\iscc.exe"

-SET         SIGN_TOOL="%PROGRAMFILES(X86)%\Windows Kits\8.0\bin\x86\signtool.exe"
+SET       SIGN_TOOL_1="%PROGRAMFILES(X86)%\Windows Kits\10\bin\x86\signtool.exe"
+SET       SIGN_TOOL_2="%PROGRAMFILES(X86)%\Windows Kits\8.1\bin\x86\signtool.exe"
+SET       SIGN_TOOL_3="%PROGRAMFILES(X86)%\Windows Kits\8.0\bin\x86\signtool.exe"
 SET         SIGN_HASH="C02FF227D5EE9F555C13D4C622697DF15C6FF871"
 SET SIGN_TIMESTAMPURL="http://timestamp.comodoca.com/rfc3161"

-
-FOR /F "delims=" %%N IN ('git log -n 1 --format^=%%h') DO @SET VERSION_HASH=%%N%
+SET        GIT_TOOL_1="%PROGRAMFILES%\Git\mingw64\bin\git.exe"
+
+
+ECHO --- DISCOVER TOOLS
+ECHO.
+
+IF EXIST %COMPILE_TOOL_1% (
+    ECHO Visual Studio 2015
+    SET COMPILE_TOOL=%COMPILE_TOOL_1%
+) ELSE (
+    IF EXIST %COMPILE_TOOL_2% (
+        ECHO Visual Studio Express 2015
+        SET COMPILE_TOOL=%COMPILE_TOOL_2%
+    ) ELSE (
+        IF EXIST %COMPILE_TOOL_3% (
+            ECHO Visual Studio 2013
+            SET COMPILE_TOOL=%COMPILE_TOOL_3%
+        ) ELSE (
+            IF EXIST %COMPILE_TOOL_4% (
+                ECHO Visual Studio Express 2013
+                SET COMPILE_TOOL=%COMPILE_TOOL_4%
+            ) ELSE (
+                ECHO Cannot find Visual Studio^^!
+                PAUSE && EXIT /B 255
+            )
+        )
+    )
+)
+
+IF EXIST %SETUP_TOOL% (
+    ECHO Inno Setup 5
+) ELSE (
+    ECHO Cannot find Inno Setup 5^^!
+    PAUSE && EXIT /B 255
+)
+
+IF EXIST %SIGN_TOOL_1% (
+    ECHO Windows SignTool 10
+    SET SIGN_TOOL=%SIGN_TOOL_1%
+) ELSE (
+    IF EXIST %SIGN_TOOL_2% (
+        ECHO Windows SignTool 8.1
+        SET SIGN_TOOL=%SIGN_TOOL_2%
+    ) ELSE (
+        IF EXIST %SIGN_TOOL_3% (
+            ECHO Windows SignTool 8.0
+            SET SIGN_TOOL=%SIGN_TOOL_3%
+        ) ELSE (
+            ECHO Cannot find Windows SignTool^^!
+            PAUSE && EXIT /B 255
+        )
+    )
+)
+
+IF EXIST %GIT_TOOL_1% (
+    ECHO Git
+    SET GIT_TOOL=%GIT_TOOL_1%
+) ELSE (
+    GIT_TOOL="git"
+)
+
+ECHO.
+ECHO.
+
+
+ECHO --- DISCOVER VERSION
+ECHO.
+
+FOR /F "delims=" %%N IN ('%GIT_TOOL% log -n 1 --format^=%%h') DO @SET VERSION_HASH=%%N%

 IF NOT [%VERSION_HASH%]==[] (
-    FOR /F "delims=" %%N IN ('git rev-list --count HEAD') DO @SET VERSION_NUMBER=%%N%
-    git diff --exit-code --quiet
+    FOR /F "delims=" %%N IN ('%GIT_TOOL% rev-list --count HEAD') DO @SET VERSION_NUMBER=%%N%
+    %GIT_TOOL% diff --exit-code --quiet
     IF ERRORLEVEL 1 SET VERSION_HASH=%VERSION_HASH%+
-)
+    ECHO %VERSION_HASH%
+)
+
+ECHO.
+ECHO.

 ECHO --- BUILD SOLUTION
 ECHO.
-
-IF EXIST %COMPILE_TOOL_1% (
-    ECHO Using Visual Studio
-    SET COMPILE_TOOL=%COMPILE_TOOL_1%
-) ELSE (
-    IF EXIST %COMPILE_TOOL_2% (
-        ECHO Using Visual Studio Express
-        SET COMPILE_TOOL=%COMPILE_TOOL_2%
-    ) ELSE (
-        ECHO Cannot find Visual Studio!
-        PAUSE && EXIT /B 255
-    )
-)

 RMDIR /Q /S "..\Binaries" 2> NUL
 %COMPILE_TOOL% /Build "Release" %FILE_SOLUTION%
 IF ERRORLEVEL 1 PAUSE && EXIT /B %ERRORLEVEL%
-COPY ..\README.md ..\Binaries\ReadMe.txt
-COPY ..\LICENSE.md ..\Binaries\License.txt
-
+
+COPY ..\README.md ..\Binaries\ReadMe.txt > NUL
+IF ERRORLEVEL 1 PAUSE && EXIT /B %ERRORLEVEL%
+
+COPY ..\LICENSE.md ..\Binaries\License.txt > NUL
+IF ERRORLEVEL 1 PAUSE && EXIT /B %ERRORLEVEL%
+
+ECHO Completed.
+
+ECHO.
 ECHO.


Fix conda build on 32-bit Windows

Fix conda build on 32-bit Windows

--- conda.recipe/bld.bat
+++ conda.recipe/bld.bat
@@ -1,4 +1,5 @@
-call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" x64
+if "%ARCH%" == "32" (set PLATFORM=x86) else (set PLATFORM=x64)
+call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" %PLATFORM%
 set DISTUTILS_USE_SDK=1
 set MSSdk=1
 "%PYTHON%" setup.py install


Fixed Issue #74 `-msb` key cannot affect for GetNuTool section

This also solves problem with path when `-msb` key contains round brackets, e.g. `D:\C\Program Files (x86)\Microsoft Visual Studio\`...

--- Wizard/Manager.bat
+++ Wizard/Manager.bat
@@ -137,7 +137,7 @@

     if "!args:~0,8!"=="-action " (
         call :popars %1 & shift
-        set "wAction=%2"
+        set wAction=%2
         call :popars %2 & shift
     )

@@ -312,7 +312,12 @@
     call :dbgprint "_remoteUrl = '!_remoteUrl!'"
     call :dbgprint "ngpath = '!dxpPackages!'"

-    set _gntC=/p:ngserver="!pkgSrv!" /p:ngpackages="!_remoteUrl!" /p:ngpath="!dxpPackages!" /p:proxycfg="!proxy!"
+    :: https://github.com/3F/DllExport/issues/74
+    if defined gMsbPath (
+        set gntmsb=-msbuild !gMsbPath!
+    )
+
+    set _gntC=!gntmsb! /p:ngserver="!pkgSrv!" /p:ngpackages="!_remoteUrl!" /p:ngpath="!dxpPackages!" /p:proxycfg="!proxy!"

     if "!dxpDebug!"=="1" (
         call :gntpoint !_gntC!
@@ -349,6 +354,7 @@
 call :dbgprint "wAction = !wAction!"

 if defined gMsbPath (
+    set "gMsbPath=%gMsbPath:"=%"
     call :dbgprint "Use specific MSBuild tools '!gMsbPath!'"
     set msbuildPath=!gMsbPath!
     goto rundxp
@@ -371,7 +377,7 @@

 set xMSBuild="!msbuildPath!"

-call :dbgprint "Target: !xMSBuild! !dxpTarget!"
+call :dbgprint "Target: '!msbuildPath!' !dxpTarget!"

 !xMSBuild! /nologo /v:m /m:4 !dxpTarget!


Delete cmd_setup.bat

Delete cmd_setup.bat

--- helpers/cmd_setup.bat
+++ helpers/cmd_setup.bat
@@ -1,8 +0,0 @@
-@echo off
-title [EssenceJS] Terminal
-color 0A
-eslint essence.js
-pause
-minify essence.js --no-comments
-ping localhost -n 6
-pause


updated nuget build file

updated nuget build file

--- Build.NuGet/NuGet-Settings.cmd
+++ Build.NuGet/NuGet-Settings.cmd
@@ -1,3 +1,4 @@
+set MSBUILD_EXE=%WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
 set NUGET_EXE=nuget.exe
 set NUGET_PROJECT=..\UnitsLib\UnitsLib.csproj
 set NUGET_CONFIGURATION=Release


Update bigfix_setup_root_eval.bat

Update bigfix_setup_root_eval.bat

--- CMD/bigfix_setup_root_eval.bat
+++ CMD/bigfix_setup_root_eval.bat
@@ -54,9 +54,11 @@
 REM  TODO: BES Admin: create encryption keys for client encryption in BES Admin
 REM  TODO: BES Admin: schedule BES Property ID Mapper
 REM  TODO: configure REST API creds - Web Reports - etc
+REM  TODO: enable sites, subscribe computers
+REM  TODO: setup download plugins (deploy Enable Encryption for Clients for root/relays, enable analyses)
+REM  TODO: deploy actions to configure default client settings
+REM  TODO: Activate Analyses: Wake-on-LAN Analysis, Download Plug-in Versions, BES Health Checks Analysis, BES Relay Status
 REM  TODO: create custom site(s) `Shared` `Dashboards` `Private`
 REM  TODO: create roles
-REM  TODO: enable sites, subscribe computers
 REM  TODO: install adobe flash for IE for root or console systems (DISM)
-REM  TODO: setup download plugins (enable analyses, deploy Enable Encryption for Clients for root/relays)
 REM  TODO:


Delete run.bat

Delete run.bat

--- src/modules/hellomodulesmultiimage/run.bat
+++ src/modules/hellomodulesmultiimage/run.bat
@@ -1 +0,0 @@
-java --module-path mods --module hmod


Add shortcut script for running IronPython tests.

error: pathspec 'Test/test-ipy.cmd' did not match any file(s) known to git

--- Test/test-ipy.cmd
+++ Test/test-ipy.cmd
@@ -0,0 +1 @@
+TestRunner\TestRunner\bin\Debug\TestRunner.exe IronPython.tests %*


Remove the building of Berkeley DB step; _bsddb44.vcproj takes care of this for us now.

--- Tools/buildbot/buildmsi.bat
+++ Tools/buildbot/buildmsi.bat
@@ -3,9 +3,6 @@
 cmd /c Tools\buildbot\external.bat
 @rem build release versions of things
 call "%VS90COMNTOOLS%vsvars32.bat"
-if not exist ..\db-4.4.20\build_win32\release\libdb44s.lib (
-  vcbuild db-4.4.20\build_win32\Berkeley_DB.sln /build Release /project db_static
-)

 @rem build Python
 cmd /q/c Tools\buildbot\kill_python.bat


Remove CYGWIN=tty for Windows 7 SP1

Remove CYGWIN=tty for Windows 7 SP1

--- templates/windows-7sp1-ultimate-amd64/install-cygwin-sshd.bat
+++ templates/windows-7sp1-ultimate-amd64/install-cygwin-sshd.bat
@@ -22,7 +22,7 @@

 %SystemDrive%\cygwin\usr\bin\sleep 1

-%SystemDrive%\cygwin\bin\bash -c 'PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin /usr/bin/ssh-host-config -y -c "ntsecbinmode tty" -w "abc&&123!!" '
+%SystemDrive%\cygwin\bin\bash -c 'PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin /usr/bin/ssh-host-config -y -c "ntsecbinmode" -w "abc&&123!!" '

 %SystemDrive%\cygwin\usr\bin\sleep 2


toolchain: Simplify shaderc setup for Windows too, per dc0ac6bc

--- build-android/update_external_sources_android.bat
+++ build-android/update_external_sources_android.bat
@@ -215,7 +215,7 @@
    echo Creating local shaderc repository %SHADERC_DIR%
    mkdir %SHADERC_DIR%
    cd %SHADERC_DIR%
-   git clone git@github.com:google/shaderc.git .
+   git clone https://github.com/google/shaderc.git .
    git checkout %SHADERC_REVISION%
    if not exist %SHADERC_DIR%\libshaderc (
       echo shaderc source download failed!


add a batch file to run tests

add a batch file to run tests

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

--- appveyor-test.cmd
+++ appveyor-test.cmd
@@ -0,0 +1,6 @@
+set ETS_TOOLKIT=qt4
+coverage run -m nose.core -v --exclude-dir=pyface/ui/wx --exclude="enaml"
+if %errorlevel% neq 0 exit /b %errorlevel%
+coverage run -a -m nose.core -v pyface/tasks/tests/*enaml*
+if %errorlevel% neq 0 exit /b %errorlevel%
+coverage report


This setup is not needed, the edksetup.bat file that exists in the root will eventually be moved to BaseTools\Bin

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

--- Setup/edksetup.bat
+++ Setup/edksetup.bat
@@ -1,83 +0,0 @@
-@REM
-@REM Copyright (c) 2006, Intel Corporation
-@REM All rights reserved. This program and the accompanying materials
-@REM are licensed and made available under the terms and conditions of the BSD License
-@REM which accompanies this distribution.  The full text of the license may be found at
-@REM http://opensource.org/licenses/bsd-license.php
-@REM
-@REM THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-@REM WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-@REM
-
-@REM usage: edksetup.bat [Reconfig]
-@REM if the argument, skip is present, only the paths and the
-@REM test and set of environment settings are performed.
-
-@REM ##############################################################
-@REM # You should not have to modify anything below this line
-@REM #
-
-@echo off
-
-@REM
-@REM Set the WORKSPACE to the current working directory
-@REM
-if not defined WORKSPACE (
-  @set WORKSPACE=%CD%
-) else (
-  @echo WORKSPACE was already set to %WORKSPACE%
-)
-
-
-@if /I "%1"=="-h" goto Usage
-@if /I "%1"=="-help" goto Usage
-@if /I "%1"=="--help" goto Usage
-@if /I "%1"=="/h" goto Usage
-@if /I "%1"=="/?" goto Usage
-@if /I "%1"=="/help" goto Usage
-
-if defined CYGWIN_HOME goto NewBuild
-if exist c:\cygwin (
-  set CYGWIN_HOME=c:\cygwin
-) else (
-  echo.
-  echo !!! WARNING !!!! Not set CYGWIN_HOME, gcc build may not be used !!!
-  echo.
-)
-
-goto NewBuild
-
-:Usage
-echo.
-echo  Usage: %0 [Reconfig]
-echo         Reconfig:      Reinstall target.txt, tools_def.txt, FrameworkDatabase.db.
-echo.
-echo  Note that target.template, tools_def.template, FrameworkDatabase.template will be
-echo  only copied to target.txt, tools_def.txt, FrameworkDatabase.db respectively if they
-echo  are not existed. Using option [Reconfig] to do the force copy.
-echo.
-goto end
-
-:NewBuild
-@IF DEFINED EDK_TOOLS_PATH goto RunToolSetup
-
-@if exist %WORKSPACE%\BaseTools (
-  @set EDK_TOOLS_PATH=%WORKSPACE%\BaseTools
-) else (
-  echo.
-  echo The WORKSPACE does not contain a BaseTools directory and
-  echo the EDK_TOOLS_PATH is not set
-  echo.
-  goto Usage
-)
-
-:RunToolSetup
-@if  /I "%1"=="Reconfig" (
-  @call %EDK_TOOLS_PATH%\toolsetup.bat Reconfig
-) else (
-  @call %EDK_TOOLS_PATH%\toolsetup.bat
-)
-
-:end
-@echo on
-


unity_build.bat can relay command line parameters, like -flags etc, to the node command line inputs.

--- SDKBuildScripts/unity_build.bat
+++ SDKBuildScripts/unity_build.bat
@@ -1,4 +1,9 @@
 pushd ..
+if [%1] == [] (
 rem === BUILDING UnitySDK ===
 node generate.js ..\API_Specs csharp-unity=..\sdks\UnitySDK
+) else (
+rem === BUILDING UnitySDK with params %* ===
+node generate.js ..\API_Specs csharp-unity=..\sdks\UnitySDK %*
+)
 popd


[test]

[test]

--- _spec/runTest.bat
+++ _spec/runTest.bat
@@ -3,4 +3,4 @@
 for /f %%j in ('karma start ./karma.conf.js') do set karmaRe=%%j
 for /f  %%i in ('node ./mergeCoverageForIstanbul.js') do set re=%%i
 istanbul report html coverage/json_files/%re%.json
-pause
+


Fixing build process

Fixing build process

--- windows/build.bat
+++ windows/build.bat
@@ -21,9 +21,9 @@
 call venv\Scripts\activate.bat

 ECHO ----Adding PyInstaller----
+call python -m pip install --upgrade PyInstaller==3.1
 call python -m pip install --upgrade pip
 call python -m pip install --upgrade setuptools==19.2
-call python -m pip install --upgrade PyInstaller==3.1

 ECHO -----------------------------------


Hold up... check the vars

Hold up... check the vars

--- autoclean-startclean.bat
+++ autoclean-startclean.bat
@@ -55,6 +55,17 @@
 	set workingdir=c:%HOMEPATH%\Desktop\techtemp
 	echo Command running: cd %workingdir%
 	cd %workingdir%
+	echo,
+
+	echo Setting client-info variables
+	set lastname=%1
+	set firstname=%2
+	set FormattedDate=%3
+	echo Testing strings...
+	echo Last Name: %lastname%
+	echo First name: %firstname%
+	echo Date: %FormattedDate%
+	echo,

 	pause

@@ -98,16 +109,6 @@
 	echo Waiting for user to finish with PC Decrapifier
 	pause

-	echo Setting client-info variables
-	set lastname=%1
-	set firstname=%2
-	set FormattedDate=%3
-	echo Testing strings...
-	echo Last Name: %lastname%
-	echo First name: %firstname%
-	echo Date: %FormattedDate%
-	echo,
-
 	:starttron
 	echo Starting Tron...
 	START /WAIT %workingdir%\Tron\tron\Tron.exe -e -str -sdb -sdc


Added a windows script for killing a process at a specific port (useful for las2peer instances gone wrong)

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

--- killProcessAtPort.bat
+++ killProcessAtPort.bat
@@ -0,0 +1,2 @@
+FOR /F "tokens=5 delims= " %%P IN ('netstat -a -n -o ^| findstr :8080') DO TaskKill.exe /F /PID %%P
+PAUSE


make file

make file

--- recipes/jbig2dec/bld.bat
+++ recipes/jbig2dec/bld.bat
@@ -1,4 +1,4 @@
 @echo off

-nmake LIBPNGDIR="%LIBRARY_PREFIX%" ZLIBDIR="%LIBRARY_PREFIX%"
+nmake LIBPNGDIR="%LIBRARY_PREFIX%" ZLIBDIR="%LIBRARY_PREFIX%" @msvc.mak
 if errorlevel 1 exit 1