Batch file to generate wiscscan-java C++ library

Builds cpp wrappers and copies the headers and compiled library files to
the corresponding WiscScan directories. The root directory of the
WiscScan project is passed in as a parameter to the batch file.

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

--- build_cpp_wrap.bat
+++ build_cpp_wrap.bat
@@ -0,0 +1,32 @@
+@echo off
+
+rem The batch file takes in the root path of the WiscScan directory, as the location to copy all of the headers & lib files
+set wiscScanPath=%~f1
+set cppwrapRootPath=%CD%\target\cppwrap
+
+call mvn package cppwrap:wrap
+cd .\target\cppwrap
+rmdir /S /Q .\build
+mkdir .\build
+cmake.exe -G"Visual Studio 8 2005" -H"." -B".\build"
+cd .\build
+devenv.exe /build debug /project ALL_BUILD .\wiscscan-java.sln
+
+rem Copy the headers and jar files
+xcopy /s /y "%cppwrapRootPath%\jace-runtime.jar" %wiscScanPath%\jar
+xcopy /s /y "%cppwrapRootPath%\..\wiscscan-java-1.0-SNAPSHOT.jar" %wiscScanPath%\jar\
+xcopy /s /y "%cppwrapRootPath%\jace\include\jace\"* %wiscScanPath%\jace\
+xcopy /s /y "%cppwrapRootPath%\proxies\include\jace\"* %wiscScanPath%\jace\
+xcopy /s /y "%cppwrapRootPath%\include\"* %wiscScanPath%\bfcpp
+
+rem copy the jace lib files
+xcopy /s /y "%cppwrapRootPath%\build\jace\debug\jace.dll" %wiscScanPath%\dlls\
+xcopy /s /y "%cppwrapRootPath%\build\jace\debug\jace.dll" %wiscScanPath%\Debug\
+xcopy /s /y "%cppwrapRootPath%\build\jace\debug\jace.lib" %wiscScanPath%\Lib\
+xcopy /s /y "%cppwrapRootPath%\build\jace\debug\jace.lib" %wiscScanPath%\Debug\
+
+rem copy the wiscscan-java lib files
+xcopy /s /y "%cppwrapRootPath%\build\debug\wiscscan-java.dll" %wiscScanPath%\dlls\
+xcopy /s /y "%cppwrapRootPath%\build\debug\wiscscan-java.dll" %wiscScanPath%\Debug\
+xcopy /s /y "%cppwrapRootPath%\build\debug\wiscscan-java.lib" %wiscScanPath%\Lib\
+xcopy /s /y "%cppwrapRootPath%\build\debug\wiscscan-java.lib" %wiscScanPath%\Debug\


rename solution files

rename solution files

--- build_all/windows/build.cmd
+++ build_all/windows/build.cmd
@@ -95,8 +95,8 @@
 cmake %build-root% -Dskip_unittests:BOOL=%CMAKE_skip_unittests%
 if not %errorlevel%==0 exit /b %errorlevel%

-rem msbuild /m azure_mqtt.sln
-call :_run-msbuild "Build" azure_mqtt.sln %2 %3
+rem msbuild /m umqtt.sln
+call :_run-msbuild "Build" umqtt.sln %2 %3
 if not %errorlevel%==0 exit /b %errorlevel%

 echo Build Config: %build-config%


Stash before updating on Windows too

Stash before updating on Windows too

--- update.bat
+++ update.bat
@@ -4,6 +4,10 @@
 	PATH=%%f\bin;%PATH%
 	break
 )
+
+git stash
+git pull --rebase
+git stash pop

 call:update_repo tool
 call:update_repo viewer


install debug log4cpp under the same name as release

--- build_log4cpp.bat
+++ build_log4cpp.bat
@@ -14,6 +14,7 @@
 %ER%
 %MSBUILDINSTALL%
 %ER%
+copy %PREFIX%\lib\log4cppD.lib %PREFIX%\lib\log4cpp.lib

 cd ..\..


Fix .NET Core build script

Fix .NET Core build script

--- build/build-netstandard1.3.bat
+++ build/build-netstandard1.3.bat
@@ -12,6 +12,7 @@
 del ..\src\Pkcs11Interop.DotNetCore\src\Pkcs11Interop.DotNetCore.StrongName\project.lock.json

 @rem Build project
+copy /Y ..\src\Pkcs11Interop.DotNetCore\global.json .
 dotnet restore ..\src\Pkcs11Interop.DotNetCore\src\Pkcs11Interop.DotNetCore\ || goto :error
 dotnet build ..\src\Pkcs11Interop.DotNetCore\src\Pkcs11Interop.DotNetCore\ --configuration Release || goto :error
 dotnet restore ..\src\Pkcs11Interop.DotNetCore\src\Pkcs11Interop.DotNetCore.StrongName\ || goto :error


cleanオプションを削除

cleanオプションを削除

--- make_site.bat
+++ make_site.bat
@@ -7,7 +7,7 @@
     set JAVA_HOME="%JAVA_HOME_8%"
 )

-call mvn clean site -Dgpg.skip=true > target/site.log 2>&1
+call mvn site -Dgpg.skip=true > target/site.log 2>&1

 start target/site.log


fixed bug in create.cmd

fixed bug in create.cmd

--- script/create.cmd
+++ script/create.cmd
@@ -1 +1 @@
-mysql -u root -p < cmd.sql
+mysql -u root -p < create.sql


feat(tools): add batch script to archive branch

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

--- tools/archive-branch.bat
+++ tools/archive-branch.bat
@@ -0,0 +1,60 @@
+@ECHO OFF
+REM archive-branch.bat
+REM Usage: archive-branch <your-branch-name>
+
+:TopOfScript
+ECHO.
+ECHO Starting...
+
+IF "%~1"=="" (
+  ECHO This command requires 1 input argument.
+  ECHO.
+  ECHO Usage: archive-branch ^<your-branch-name^>
+
+  GOTO :EndOfScript
+)
+
+ECHO.
+ECHO * 1. Get local branch from remote, if needed
+ECHO.
+git checkout %1
+IF %ERRORLEVEL% neq 0 GOTO :Err
+
+ECHO.
+ECHO * 2. Go back to master
+ECHO.
+git checkout master
+IF %ERRORLEVEL% neq 0 GOTO :Err
+
+ECHO.
+ECHO * 3. Create local tag
+ECHO.
+git tag archive/%1 %1
+IF %ERRORLEVEL% neq 0 GOTO :Err
+
+ECHO.
+ECHO * 4. Create remote tag
+ECHO.
+git push origin archive/%1
+IF %ERRORLEVEL% neq 0 GOTO :Err
+
+ECHO.
+ECHO * 5. Delete local branch
+ECHO.
+git branch -d %1
+IF %ERRORLEVEL% neq 0 GOTO :Err
+
+ECHO.
+ECHO * 6. Delete remote branch
+ECHO.
+git push origin --delete %1
+IF %ERRORLEVEL% neq 0 GOTO :Err
+
+GOTO :EndOfScript
+
+:Err
+ECHO Errors encountered during execution.  Last command exited with status: %ERRORLEVEL%.
+
+:EndOfScript
+ECHO.
+ECHO Finished


mkdirするところが間違っていた。

mkdirするところが間違っていた。

--- tools/win/make_build.cmd
+++ tools/win/make_build.cmd
@@ -55,8 +55,8 @@
 mkdir build64
 if errorlevel 1 call :die "Failed mkdir build64"

-mkdir build\libs32
-mkdir build\libs64
+mkdir build\lib32
+mkdir build\lib64

 rem obs.dll
 "%PEXPORTS_EXE%" /EXPORTS "%OBS_APP%\bin\32bit\obs.dll" > "build\lib32\obs.def"


include LICENSE in windows static builds

--- ci/appveyor/after_build.bat
+++ ci/appveyor/after_build.bat
@@ -9,6 +9,7 @@
 move build-msvc-release\bin\zig.exe "%RELEASEDIR%"
 move build-msvc-release\lib "%RELEASEDIR%"
 move zig-cache\langref.html "%RELEASEDIR%"
+move LICENSE "%RELEASEDIR%"

 SET "RELEASEZIP=zig-%ZIGVERSION%.zip"


docs/make.bat: Provide help string about the clean option.

--- docs/make.bat
+++ docs/make.bat
@@ -22,6 +22,7 @@
 if "%1" == "help" (
 	:help
 	echo.Please use `make ^<target^>` where ^<target^> is one of
+	echo.  clean      to delete the build directory and all RST files except index.rst
 	echo.  rst        to build the RST files from the source directory
 	echo.  html       to make standalone HTML files
 	echo.  dirhtml    to make HTML files named index.html in directories


Issue #1990857: Fix: Quotes around path with spaces.

--- barcode.bat
+++ barcode.bat
@@ -27,11 +27,11 @@
 if "%OS%"=="Windows_NT" goto WinNT

 :Win98
-%JAVA_HOME%\bin\java -cp %TMP_CLASSPATH% org.krysalis.barcode4j.cli.Main %1 %2 %3 %4 %5 %6 %7 %8 %9
+"%JAVA_HOME%\bin\java" -cp %TMP_CLASSPATH% org.krysalis.barcode4j.cli.Main %1 %2 %3 %4 %5 %6 %7 %8 %9
 GOTO exit

 :WinNT
-%JAVA_HOME%\bin\java -cp %TMP_CLASSPATH% org.krysalis.barcode4j.cli.Main %*
+"%JAVA_HOME%\bin\java" -cp %TMP_CLASSPATH% org.krysalis.barcode4j.cli.Main %*
 GOTO exit


Added service dependency for SovrinNode service

--- scripts/install_sovrin_node.bat
+++ scripts/install_sovrin_node.bat
@@ -32,4 +32,5 @@
 echo "Creating service for node"
 nssm install SovrinNode "%PYTHONPATH%"
 nssm set SovrinNode AppDirectory %CURR_DIR%
-nssm set SovrinNode AppParameters "%CURR_DIR%start_sovrin_node %NODE_NAME% %NODE_PORT% %CLI_PORT%"+nssm set SovrinNode AppParameters "%CURR_DIR%start_sovrin_node %NODE_NAME% %NODE_PORT% %CLI_PORT%"
+nssm set SovrinNode DependOnService OrientDBGraph


Experimenting...

Experimenting...

--- docs/make.bat
+++ docs/make.bat
@@ -69,11 +69,11 @@
 	call git reset HEAD
 	call make html
     @echo.1
+    move .\build\html\_sources ..
+    @echo.2
+    move .\build\html\_static ..
+    @echo.3
 	move .\build\html\*.* ..
-    @echo.2
-    move .\build\html\_sources ..
-    @echo.3
-    move .\build\html\_static ..
     @echo.4
 	rem rmdir /s /q %GH_PAGES_SOURCES% build
     @echo.5


set RXSVNROOT env var

set RXSVNROOT env var

--- Profile.cmd
+++ Profile.cmd
@@ -23,6 +23,7 @@

 if exist "f:\svn\bigAnalytics\trunk" set RXSVNROOT=f:\svn\bigAnalytics\trunk
 if exist "f:\git\RRE-Pull\bigAnalytics" set bigAnalytics_git=f:\git\RRE-Pull\bigAnalytics
+if defined RXSVNROOT set ENABLE_RXSQL_TEST=true

 :noR


Cleaned up windows batch bootstrap script

--- win-kickstart.bat
+++ win-kickstart.bat
@@ -68,7 +68,7 @@
 if ERRORLEVEL 1 (
 	echo Couldn't check out the branch '%selected_nimrod_branch%'
 	goto:checkout_branches
-	)
+)

 cd csources
 git checkout %selected_csources_branch%
@@ -76,7 +76,7 @@
 	echo Couldn't check out the branch '%selected_csources_branch%'
 	cd ..
 	goto:checkout_branches
-	)
+)

 :: Build the basic nimrod binary


Version 1.0.0

Version 1.0.0

--- windows/build.bat
+++ windows/build.bat
@@ -36,7 +36,7 @@
 ECHO Extracting Git Revision Number
 ECHO ------------------------------------

-SET SEMANTIC=0.0.1
+SET SEMANTIC=1.0.0
 SET /p SEMANTIC=<symantic.version
 IF NOT DEFINED GIT_HOME (
   git --version


Simplified the DOS script b removing stuff that isn't used.

git-svn-id: 79176a3f43be1f696357e4d3222532387708c7d4@76 10bdbbbe-7829-0410-8c74-2bcda85da5b1

--- bin/crn.bat
+++ bin/crn.bat
@@ -13,23 +13,18 @@
 rem See the License for the specific language governing permissions and
 rem limitations under the License.

-rem Establish the classpath & script we expext to use...
+rem Establish the classpath...
 set CRN_CLASSPATH=%CRN_HOME%\build
 for %%f in (%CRN_HOME%\lib\*.jar) do call add-jar %%f
-set CRN_PROJECT=%1

 rem (Re)Marshall the command line args...
 set CRN_ARGS=
 :nextArg
+if ""%1""=="""" goto invoke
+set CRN_ARGS=%CRN_ARGS% %1
 shift
-if ""%1""=="""" goto addEnv
-set CRN_ARGS=%CRN_ARGS% %1
 goto nextArg
-
-:addEnv
-if "%CRN_ENV%"=="" goto invoke
-set CRN_ARGS=%CRN_ENV% %CRN_ARGS%

 :invoke
 @echo on
-java -cp %CRN_CLASSPATH% org.danann.cernunnos.runtime.Main %CRN_PROJECT% %CRN_ARGS%+java -cp %CRN_CLASSPATH% org.danann.cernunnos.runtime.Main %CRN_ARGS%


fix script

fix script

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

--- Azure_client.bat
+++ Azure_client.bat
@@ -1,10 +1,10 @@
 rem echo off
 set PATH=C:\Program Files\Matlab\R2016b\bin\win64;C:\TDM-GCC-64\bin;%PATH%
 set DBPATH=%GOPATH%\src\github.com\4180122\distbayes
-set SERVERADD=insulearns0.canadacentral.cloudapp.azure.com:12456
+set SERVERADD=52.228.28.167:12456
 for /f "usebackq tokens=2 delims=:" %%f in (`ipconfig ^| findstr /c:"IPv4 Address"`) do set LOCALADD=%%f:12456
 set XDATA=%DBPATH%\testdata\x1.txt
 set YDATA=%DBPATH%\testdata\y1.txt

 go build -o %DBPATH%\clientbayes.exe %DBPATH%\clientMatlab\client_azure.go
-start cmd /k %DBPATH%\clientbayes.exe %COMPUTERNAME% %LOCALADD% %SERVERADD% %XDATA% %YDATA% log
+start cmd /k %DBPATH%\clientbayes.exe %LOCALADD% %LOCALADD% %SERVERADD% %XDATA% %YDATA% log


Updated windows packaging script with comments about how to use it

--- winpackage.bat
+++ winpackage.bat
@@ -1,6 +1,8 @@
 REM
 REM script that builds and uploads everything on Windows Visual Studio 2015
 REM (assumes CMake is set up properly, Python is installed, etc)
+REM (assumes this is run on an administrator developer command prompt)
+REM (assumes zip and pscp command line tools are available.  See the GnuWin32 zip tool and PuTTy)

 REM configuration variables
 SET buildfolder=msvc
@@ -29,6 +31,7 @@

 REM build Klamp't Python bindings
 cd Python
+set VS90COMNTOOLS=%VS140COMNTOOLS%
 %python% setup.py build_ext
 if %errorlevel% neq 0 exit /b %errorlevel%
 %python% setup.py install
@@ -50,7 +53,7 @@
 REM   debug
 mkdir Klampt-%klamptversion%.win32-deps-vs2015d
 cd Library
-for %I in (assimp--3.0.1270-sdk\lib\assimp_debug-dll_win32\* Assimp32d.dll  glpk_4_61.dll glpk_4_52.lib glui32d.lib "glui-2.36\src\msvc\Debug\_glui library.pdb" glut32.dll glew32.dll glew32.lib KrisLibraryd.lib ode_doubled.lib ode-0.14\lib\DebugDoubleLib\ode.pdb tinyxmld_STL.lib) do copy /Y %I ..\Klampt-%klamptversion%.win32-deps-vs2015d
+for %I in (assimp--3.0.1270-sdk\lib\assimp_debug-dll_win32\* Assimp32d.dll  glpk_4_61.dll glpk_4_61.lib glui32d.lib "glui-2.36\src\msvc\Debug\_glui library.pdb" glut32.dll glew32.dll glew32.lib KrisLibraryd.lib ode_doubled.lib ode-0.14\lib\DebugDoubleLib\ode.pdb tinyxmld_STL.lib) do copy /Y %I ..\Klampt-%klamptversion%.win32-deps-vs2015d
 if %errorlevel% neq 0 exit /b %errorlevel%
 cd ..\Klampt-%klamptversion%.win32-deps-vs2015d
 zip ..\Klampt-%klamptversion%.win32-deps-vs2015d.zip *
@@ -59,14 +62,14 @@

 REM upload files to motion website
 cd %buildfolder%
-scp Klampt-%klamptversion%-win32.msi hauser@motion.pratt.duke.edu:software/
+pscp Klampt-%klamptversion%-win32.msi hauser@motion.pratt.duke.edu:software/
 if %errorlevel% neq 0 exit /b %errorlevel%
 cd ..
-scp Klampt-%klamptversion%.win32-deps-vs2015.zip hauser@motion.pratt.duke.edu:software/
-scp Klampt-%klamptversion%.win32-deps-vs2015d.zip hauser@motion.pratt.duke.edu:software/
+pscp Klampt-%klamptversion%.win32-deps-vs2015.zip hauser@motion.pratt.duke.edu:software/
+pscp Klampt-%klamptversion%.win32-deps-vs2015d.zip hauser@motion.pratt.duke.edu:software/
 if %errorlevel% neq 0 exit /b %errorlevel%
 cd Python\dist
-scp Klampt-%klamptversion%.win32-py2.7.exe hauser@motion.pratt.duke.edu:software/
+pscp Klampt-%klamptversion%.win32-py2.7.exe hauser@motion.pratt.duke.edu:software/
 cd ..\..\


Fixed check for PROCESSOR_ARCHITECTURE when running build.bat from federated build

svn path=/harmony/; revision=512839

--- enhanced/drlvm/trunk/build/build.bat
+++ enhanced/drlvm/trunk/build/build.bat
@@ -1,4 +1,5 @@
 @ECHO OFF
+set

 rem    Copyright 2005-2006 The Apache Software Foundation or its licensors, as applicable.
 rem
@@ -42,6 +43,7 @@

 REM Select configuration depending on 64-bitness of Windows
 IF _%PROCESSOR_ARCHITEW6432%_==_AMD64_ GOTO X86_64_CONFIG
+IF _%PROCESSOR_ARCHITECTURE%_==_AMD64_ GOTO X86_64_CONFIG
 IF _%CXX%_ == _msvc_ GOTO MSVC_COMPILER
 GOTO DEFAULT_COMPILER


Speed up run.bat execution

Speed up run.bat execution

Running the Visual Studio scripts can take some time, so only execute
them in a "run build" scenario.

Change-Id: I96b05072a133e124161af1c969b4ab3c5cd05aba
Signed-off-by: David Antler <847c7e7639e695cd03ee85957de4a1178f752d1b@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/9335
Reviewed-by: Dave Thaler <8a98d0850f57b73c42d096f8f8b11e2d5522d554@microsoft.com>
Tested-by: jenkins-iotivity <09cb29e8a2b473a2c978382eec13ee06fa017bda@opendaylight.org>
Reviewed-by: Jon A. Cruz <44f878afe53efc66b76772bd845eb65944ed8232@joncruz.org>

--- run.bat
+++ run.bat
@@ -22,7 +22,7 @@
   set DEBUG="%ProgramFiles(x86)%\Windows Kits\10\Debuggers\x64\cdb.exe" -2 -c "g"
 )

-IF "%BUILD_MSYS%" == "" (
+IF "%CURRENT_ARG%" == "build" IF "%BUILD_MSYS%" == "" (
   IF NOT "%VS140COMNTOOLS%" == "" (
     CALL "%VS140COMNTOOLS%"vsvars32.bat
   ) ELSE (


Added ruby gem bin dir to PATH.

Added ruby gem bin dir to PATH.

--- resources/railsinstaller/setup_environment.bat
+++ resources/railsinstaller/setup_environment.bat
@@ -11,7 +11,7 @@

 REM Add RUBY_DIR\bin to the PATH, DevKit\bin and then Git\cmd
 REM RUBY_DIR\bin takes higher priority to avoid other tools conflict
-SET PATH=%RUBY_DIR%\bin;%ROOT_DIR%\DevKit\bin;%ROOT_DIR%\Git\cmd;%PATH%
+SET PATH=%RUBY_DIR%\bin;%RUBY_DIR%lib\ruby\gems\1.8\bin;%ROOT_DIR%\DevKit\bin;%ROOT_DIR%\Git\cmd;%PATH%
 SET RUBY_DIR=
 SET ROOT_DIR=


Fix makeTypelib.bat to use current Visual Studio developer command prompt

--- Build/makeTypelib.bat
+++ Build/makeTypelib.bat
@@ -1,4 +1,4 @@
-::@echo off
+@echo off
 setlocal

 %TW-PROJECTS-DRIVE%
@@ -8,36 +8,23 @@

 if not exist "%BIN-PATH%" mkdir "%BIN-PATH%"

-set PROGFILES=%ProgramFiles%
-if exist "%ProgramFiles(x86)%" set PROGFILES=%ProgramFiles(x86)%
-
-:: you may need to edit the following to locate your copy of midl.exe.
-:: It's for Visual Studio 2008 installed in the default location
-path %ProgramFiles%\Microsoft SDKs\Windows\v6.0A\bin;%PATH%
-path %PROGFILES%\Microsoft Visual Studio 9.0\VC\VCPackages;%PATH%
-path %SystemRoot%\Microsoft.NET\Framework\v2.0.50727;%PATH%
-path %SystemRoot%\Microsoft.NET\Framework\v3.5;%PATH%
-path %PROGFILES%\Microsoft Visual Studio 9.0\Common7\Tools;%PATH%
-path %PROGFILES%\Microsoft Visual Studio 9.0\VC\BIN;%PATH%
-path %PROGFILES%\Microsoft Visual Studio 9.0\Common7\IDE;%PATH%
-
-set INCLUDE="%PROGFILES%\Microsoft Visual Studio 9.0\VC\ATLMFC\INCLUDE;%PROGFILES%\Microsoft Visual Studio 9.0\VC\INCLUDE;%ProgramFiles%\Microsoft SDKs\Windows\v6.0A\include;"
-set WindowsSdkDir=%ProgramFiles%\Microsoft SDKs\Windows\v6.0A\
-
 :: we have to pushd into typelib to ensure midl
 :: picks up the copy of oaidl.idl that's in there
 pushd %TW-PROJECTS-PATH%\src\typelib

-dir
-
 @echo on
 midl /mktyplib203 TWWin32API.idl /out %BIN-PATH%
 @echo off
-if errorlevel 1 pause
+if errorlevel 1 goto :err

 @echo on
 regtlib %BIN-PATH%\TWWin32API.tlb
 @echo off
-if errorlevel 1 pause
+if errorlevel 1 goto :err

-popd+popd
+exit /B 0
+
+:err
+pause
+exit /B 1


Update install_java.bat

Update install_java.bat

Do not download 7zip if it had previously been downloaded, for example
if this script had previously been run. And don't delete it at the end
of this script in case this script is run again. This is an attempt to
save time and bandwidth.

--- scripts/install_java.bat
+++ scripts/install_java.bat
@@ -30,9 +30,11 @@

 echo Downloading required files to %TEMP%
 powershell -Command "Invoke-WebRequest %jdk_url% -OutFile $env:temp\%jdk_filename%.tar.gz"
-:: Download 7zip (command line version) in order to extract the tar.gz file since there is no native support in Windows
-powershell -Command "Invoke-WebRequest https://www.7-zip.org/a/7za920.zip -OutFile $env:temp\7za920.zip"
-powershell -Command "Expand-Archive $env:temp\7za920.zip -DestinationPath $env:temp\7za920 -Force"
+if not exist "%TEMP%\7za920\7za.exe" (
+    :: Download 7zip ^(command line version^) in order to extract the tar.gz file since there is no native support in Windows
+    powershell -Command "Invoke-WebRequest https://www.7-zip.org/a/7za920.zip -OutFile $env:temp\7za920.zip"
+    powershell -Command "Expand-Archive $env:temp\7za920.zip -DestinationPath $env:temp\7za920 -Force"
+)

 echo Extracting and installing JDK to %PROGRAMFILES%\Java\openjdk\jdk-%jdk_version%
 "%TEMP%\7za920\7za.exe" x "%TEMP%\%jdk_filename%.tar.gz" -o"%TEMP%" -r -y
@@ -41,8 +43,9 @@
 move "%TEMP%\openjdk-%jdk_version%\jdk-%jdk_version%" "%PROGRAMFILES%\Java\openjdk"

 echo Removing downloaded files
-rmdir /S /Q %TEMP%\7za920
-del /Q %TEMP%\7za920.zip
+if exist "%TEMP%\7za920.zip" (
+    del /Q %TEMP%\7za920.zip
+)
 rmdir /S /Q %TEMP%\openjdk-%jdk_version%
 del /Q %TEMP%\%jdk_filename%.tar
 del /Q %TEMP%\%jdk_filename%.tar.gz


Ensure the latest AspNet.Loader.dll is retrieved

--- src/MusicStore/CopyAspNetLoader.cmd
+++ src/MusicStore/CopyAspNetLoader.cmd
@@ -3,6 +3,6 @@

 SET ASPNETLOADER_PACKAGE_BASEPATH=%USERPROFILE%\.k\packages\Microsoft.AspNet.Loader.IIS.Interop
 REM figure out the path of AspNet.Loader.dll
-FOR /F %%j IN ('dir /b /o:-d %ASPNETLOADER_PACKAGE_BASEPATH%\*') do (SET AspNetLoaderPath=%ASPNETLOADER_PACKAGE_BASEPATH%\%%j\tools\AspNet.Loader.dll)
+FOR /F %%j IN ('dir /b /o:D %ASPNETLOADER_PACKAGE_BASEPATH%\*') do (SET AspNetLoaderPath=%ASPNETLOADER_PACKAGE_BASEPATH%\%%j\tools\AspNet.Loader.dll)
 echo Found AspNetLoader.dll at %AspNetLoaderPath%. Copying to bin\
 copy %AspNetLoaderPath% wwwroot\bin\


Make CreateOrleansPackages.bat work on non en-US locale (#2014)

--- src/NuGet/CreateOrleansPackages.bat
+++ src/NuGet/CreateOrleansPackages.bat
@@ -44,7 +44,7 @@

 if "%PRERELEASE_BUILD%" == "true" (
     set VERSION_TYPE=Dev
-    set VERSION_TIMESTAMP=%date:~10,4%%date:~4,2%%date:~7,2%%time:~0,2%%time:~3,2%
+    for /f %%i in ('powershell -NoProfile -ExecutionPolicy ByPass Get-Date -format "{yyyyMMddHHmm}"') do set VERSION_TIMESTAMP=%%i
     @echo VERSION_TYPE = !VERSION_TYPE!
     @echo VERSION_TIMESTAMP = !VERSION_TIMESTAMP!
     set VERSION=%VERSION%-!VERSION_TYPE!!VERSION_TIMESTAMP!


add libclang to windows dependencies script

--- dependencies/windows/install-dependencies.cmd
+++ dependencies/windows/install-dependencies.cmd
@@ -21,6 +21,10 @@
 set PANDOC_VERSION=1.12.4.2
 set PANDOC_NAME=pandoc-%PANDOC_VERSION%
 set PANDOC_FILE=%PANDOC_NAME%.zip
+
+set LIBCLANG_VERSION=3.5
+set LIBCLANG_NAME=libclang-%LIBCLANG_VERSION%
+set LIBCLANG_FILE=%LIBCLANG_NAME%.zip

 if not exist boost-1.50-win (
   wget %WGET_ARGS% "%BASEURL%%BOOST_FILE%"
@@ -130,6 +134,16 @@
   rmdir /s /q %PANDOC_NAME%
 )

+if not exist libclang\%LIBCLANG_VERSION% (
+  wget %WGET_ARGS% "%BASEURL%%LIBCLANG_FILE%"
+  echo Unzipping %LIBCLANG_FILE%
+  unzip %UNZIP_ARGS% "%LIBCLANG_FILE%"
+  mkdir libclang\%LIBCLANG_VERSION%
+  copy "%LIBCLANG_NAME%\windows\x86\libclang.*" "libclang\%LIBCLANG_VERSION%"
+  del %LIBCLANG_FILE%
+  rmdir /s /q %LIBCLANG_NAME%
+)
+

 install-packages.cmd


Delete empty space in the build.bat

Delete empty space in the build.bat

--- src/ComposeIt.Akka.FSharp.Extensions/build.bat
+++ src/ComposeIt.Akka.FSharp.Extensions/build.bat
@@ -1,5 +1,4 @@
-
-@echo off
+@echo off
 cls
 "..\packages\NuGet.CommandLine.2.8.6\tools\NuGet.exe" "Install" "FAKE" "-OutputDirectory" "..\..\packages" "-ExcludeVersion"
 "..\..\packages\FAKE\tools\Fake.exe" build.fsx


add missing file

add missing file

Former-commit-id: d52258302984b81e6edde23b1c65033bafd23897

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

--- latexcodec/bld.bat
+++ latexcodec/bld.bat
@@ -0,0 +1,8 @@
+"%PYTHON%" setup.py install
+if errorlevel 1 exit 1
+
+:: Add more build steps here, if they are necessary.
+
+:: See
+:: http://docs.continuum.io/conda/build.html
+:: for a list of environment variables that are set during the build process.


SDA-2386 Added build script to replace the one in jenkins

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

--- scripts/jenkins-win64.bat
+++ scripts/jenkins-win64.bat
@@ -0,0 +1,95 @@
+@echo off
+
+call "scripts\build-win64.bat"
+
+echo "updating 64 bit installer file with hashed passwd..."
+
+set hashedPasswdFile=C:\electron-installer\hashedPasswd.txt
+
+if NOT EXIST %hashedPasswdFile% (
+  echo "can not find hashed password file in: " %hashedPasswdFile%
+  exit /b -1
+)
+
+set /p hashedPasswd=<%hashedPasswdFile%
+
+set installerFile=installer\win\Symphony-x64.aip
+if NOT EXIST %installerFile% (
+  echo "can not find installer file in: " %installerFile%
+  exit /b -1
+)
+
+call powershell -Command "(get-content %installerFile%) | foreach-object {$_ -replace '4A99BAA4D493EE030480AF53BA42EA11CCFB627AB1800400DA9692073D68C522A10A4FD0B5F78525294E51AC7194D55B5EE1D31F', '%hashedPasswd%'} | set-content %installerFile%"
+
+echo "creating 64 bit msi..."
+
+rem add AdvancedInstaller.com to PATH
+set PATH="%PATH%";C:\Program Files\nodejs\;C:\Program Files (x86)\Caphyon\Advanced Installer 15.9\bin\x86
+echo %PATH%
+
+call node -e "console.log(require('./package.json').version);" > version.txt
+set /p baseVer=<version.txt
+
+set SYMVER=%baseVer%
+if NOT DEFINED SYMVER (
+	echo "environment variable SYMVER not defined"
+	exit /b -1
+)
+
+echo "creating targets directory for symphony version: " %SYMVER%
+rmdir /q /s targets
+mkdir targets
+set targetsDir="%CD%\targets\"
+
+IF "%EXPIRY_PERIOD%"=="0" (
+    set archiveName=Symphony-Win64-%SYMVER%-%PARENT_BUILD_VERSION%
+) else (
+    set archiveName=Symphony-Win64-%SYMVER%-%PARENT_BUILD_VERSION%-TTL-%EXPIRY_PERIOD%
+)
+
+set installerDir="%CD%\installer\win"
+set distDir="%CD%\dist"
+
+set pfxDir=C:\electron-installer
+set pfxFile=Wrapper.Windows.Product.RSA.pkcs12.pfx
+if NOT EXIST "%pfxDir%\%pfxFile%" (
+  echo "can not find .pfx file" "%pfxDir%\%pfxFile%"
+  exit /b -1
+)
+
+copy /y "%pfxDir%\%pfxFile%" "%installerDir%\%pfxFile%"
+
+cd %installerDir%
+
+set AIP=Symphony-x64
+
+if EXIST %AIP%-cache (
+	echo "remove old msi cache file"
+	rmdir /q /s %AIP%-cache
+)
+if EXIST %AIP%-SetupFiles (
+	echo "remove old msi setup files"
+	rmdir /q /s %AIP%-SetupFiles
+)
+
+echo "running advanced installer to build msi"
+
+call AdvancedInstaller.com /edit %AIP%.aip /SetVersion %SYMVER%
+IF %errorlevel% neq 0 (
+	echo "failed to set advanced installer build version"
+	exit /b -1
+)
+
+call AdvancedInstaller.com /build %AIP%.aip
+IF %errorlevel% neq 0 (
+	echo "error returned from advanced installer:" %errorlevel%
+	exit /b -1
+)
+
+if NOT EXIST %AIP%-SetupFiles/%AIP%.msi (
+	echo "failure did not produce msi"
+	exit /b -1
+)
+
+echo "copy msi result to target dir"
+copy "%AIP%-SetupFiles\%AIP%.msi" "%targetsDir%\%archiveName%.msi"


Release -> Debug

Release -> Debug

--- ILMerge.cmd
+++ ILMerge.cmd
@@ -1 +1 @@
-"C:\Program Files (x86)\Microsoft\ILMerge\ILMerge.exe" /target:winexe /v4 /out:ImapTray.exe bin\Release\ImapTray.exe bin\Release\S22.Imap.dll
+"C:\Program Files (x86)\Microsoft\ILMerge\ILMerge.exe" /target:winexe /v4 /out:ImapTray.exe bin\Debug\ImapTray.exe bin\Debug\S22.Imap.dll


Fixed some minor issues

Fixed some minor issues

git-svn-id: fbb392d5347ebc45c06187f72dfd8bab02595dbf@617957 13f79535-47bb-0310-9956-ffa450edef68

--- tools/codegen/javatool/WSDL2C.bat
+++ tools/codegen/javatool/WSDL2C.bat
@@ -1,4 +1,5 @@
-REM set AXIS2_HOME = C:\axis2-1.1\axis2-1.2-SNAPSHOT
+echo off
+REM set AXIS2_HOME=C:\axis2-SNAPSHOT
 setlocal EnableDelayedExpansion
 set AXIS2_CLASSPATH=%AXIS2_HOME%
 FOR %%c in ("%AXIS2_HOME%\lib\*.jar") DO set AXIS2_CLASSPATH=!AXIS2_CLASSPATH!;%%c;


Restart ArcGIS license service (Windows)

error: pathspec 'SysAdmin/lic-check/restart-license-service.cmd' did not match any file(s) known to git

--- SysAdmin/lic-check/restart-license-service.cmd
+++ SysAdmin/lic-check/restart-license-service.cmd
@@ -0,0 +1,22 @@
+@echo off
+:: Batch file to restart ESRI License Manager, can be run as a scheduled task
+:: 2008.March.10 *  matt.wilikie@gov.yk.ca * this script is public domain.
+
+:: change this to the ip address or netbios name of your license server
+set arclic_server=spellingbee
+
+:: redirect stderr nul to hide error messages which are always present,
+:: even on successful shutdown. Hopefully this doesn't hide a real problem.
+net stop "arcgis license manager"  2> nul
+net start "arcgis license manager"
+
+:: doublecheck that license manager is running and show avaialable licenses
+:: but wait for license manager to catch a breath first
+ping -n 3 localhost > nul
+lmutil lmstat -a -c @%arclic_server%
+
+echo ...
+echo.   Pausing for messages
+echo.   window will close in 15 seconds...
+echo ...
+ping -n 15 localhost > nul


time for chocolate cornet

time for chocolate cornet

--- DevTools/fs.bat
+++ DevTools/fs.bat
@@ -1 +1 @@
-Search.exe /E c.cpp.h.cs.java.bat.js.txt %*
+Search.exe /E c.cpp.h.cs.java.bat.js.txt.html %*


Parameter to Restore.cmd to allow to restore different solution

--- Restore.cmd
+++ Restore.cmd
@@ -1,5 +1,13 @@
 @echo off
+@setlocal
+
 set NuGetExe="%~dp0NuGet.exe"
+
+REM If someone passed in a different Roslyn solution, use that.
+REM We make use of this when Roslyn is an sub-module for some
+REM internal repositories.
+set RoslynSolution=%1
+if "%RoslynSolution%" == "" set RoslynSolution=%~dp0Roslyn.sln

 echo Restoring packages: Toolsets
 call %NugetExe% restore -verbosity quiet "%~dp0build\ToolsetPackages\project.json" -configfile "%~dp0nuget.config"
@@ -8,4 +16,4 @@
 call %NugetExe% restore -verbosity quiet "%~dp0src\Samples\Samples.sln" -configfile "%~dp0nuget.config"

 echo Restoring packages: Roslyn (this may take some time)
-call %NugetExe% restore -verbosity quiet "%~dp0Roslyn.sln" -configfile "%~dp0nuget.config"+call %NugetExe% restore -verbosity quiet "%RoslynSolution%Roslyn.sln" -configfile "%~dp0nuget.config"


Removing service stack text from merge

Removing service stack text from merge

--- BuildMergedAssemblies.cmd
+++ BuildMergedAssemblies.cmd
@@ -5,6 +5,6 @@

 copy "..\src\SevenDigital.Messaging\bin\Release\*.dll" "." /Y

-..\tools\ILMerge.exe /allowDup /targetplatform:"v4,c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0" /out:..\merged\SevenDigital.Messaging.dll SevenDigital.Messaging.dll RabbitMQ.Client.dll StructureMap.dll SevenDigital.Messaging.Base.dll SignalHandling.dll ServiceStack.Text.dll
+..\tools\ILMerge.exe /allowDup /targetplatform:"v4,c:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0" /out:..\merged\SevenDigital.Messaging.dll SevenDigital.Messaging.dll RabbitMQ.Client.dll StructureMap.dll SevenDigital.Messaging.Base.dll SignalHandling.dll

 COPY SevenDigital.Messaging.Types.dll ..\merged\


2.7.0-b17

2.7.0-b17

fix update error

--- iCatalyst.bat
+++ iCatalyst.bat
@@ -1032,13 +1032,13 @@
 	1>nul 2>&1 del /f /q "%iculck%"
 	if exist "%iculog%" (
 		call:readini "%iculog%"
-		if "%version%" neq "!ver!" (
+		if defined ver ( if "%version%" neq "!ver!" (
 			echo.
 			echo. New version available %name% !ver!
 			echo.
 			echo. !url!
 			echo.%spacebar%
-		)
+		))
 		1>nul 2>&1 del /f /q "%iculog%"
 	)
 )


Update build-windows-toolchain.bat

Update build-windows-toolchain.bat

--- utils/build-windows-toolchain.bat
+++ utils/build-windows-toolchain.bat
@@ -40,7 +40,7 @@
 set TMP=%BuildRoot%\tmp
 set TMPDIR=%BuildRoot%\tmp

-set NINJA_STATUS="[%%f/%%t][%%p][%%es]"
+set NINJA_STATUS=[%%f/%%t][%%p][%%es]

 call :CloneDependencies || (exit /b)
 call :CloneRepositories || (exit /b)


appveyor: let's try fixing this again...

--- testing/appveyor-scripts/build-test.bat
+++ testing/appveyor-scripts/build-test.bat
@@ -1,14 +1,15 @@
 @setlocal enableextensions enabledelayedexpansion
+@echo on

 mkdir c:\projects\pksav\test-env\build

 cd c:\projects\pksav\test-env\build
 if not %ERRORLEVEL%==0 goto fail

-cmake -G "%CMAKE_DASH_G%" ..\..
+cmake -G "%CMAKE_DASH_G%" -DCMAKE_BUILD_TYPE=Debug ..\..
 if not %ERRORLEVEL%==0 goto fail

-msbuild ALL_BUILD.vcxproj
+msbuild /p:configuration=Debug ALL_BUILD.vcxproj
 if not %ERRORLEVEL%==0 goto fail

 :: Don't run anything when cross-compiling
@@ -17,8 +18,8 @@
     if not %ERRORLEVEL%==0 goto fail

     set SAVEDIR=c:\projects\pksav\testing\pksav-test-saves
-    set PATH=c:\projects\pksav\test-env\build\lib\Debug;%PATH%
-    set PATH=c:\projects\pksav\test-env\build\apps\Debug;%PATH%
+    set PATH=c:\projects\pksav\test-env\build\lib\Debug;"%PATH%"
+    set PATH=c:\projects\pksav\test-env\build\apps\Debug;"%PATH%"

     pksav-gen1-save-dump --all --input=%SAVEDIR%\red_blue\pokemon_red.sav
     if not %ERRORLEVEL%==0 goto fail


Update to VS2015.

Update to VS2015.


Fixed: Windows platform configuration command file

--- Tools/configure-win32.bat
+++ Tools/configure-win32.bat
@@ -1,18 +1,3 @@
-@echo off
-
-set PLATFORM=Windows
-
-call env.bat
-call select-project-folder.bat
-
-cmake ..\..\Source -G "Visual Studio 12" 							^
-	-DDC_BUILD_TESTS=OFF 											^
-	-DDC_WITH_RELIGHT=ON 											^
-	-DDC_QT_SUPPORT=Auto 											^
-	-DDC_COMPOSER_ENABLED=ON 										^
-	-DDC_USE_PCH=ON													^
-	-DEMBREE_INCLUDE_PATH=%EMBREE_ROOT%\include 					^
-	-DEMBREE_LIBRARY=%EMBREE_ROOT%\lib\embree.lib 					^
-	-DTIFF_LIBRARY=../../Externals/lib/Windows/120/Debug/tiffd.lib 	^
-	-DTIFF_INCLUDE_DIR=../../Externals/include/tiff
+cd "$(dirname $0)"
+python -m dreemchest configure windows --source ../Source --output ../Projects/Windows --no-tests --no-relight --cpp 11 --prefix-path ../Build/Dependencies/Windows --no-composer
 pause


- Updated RunTest.bat script to work with Gallio installation on either the x86 or x64

--- Tests/RunTests.bat
+++ Tests/RunTests.bat
@@ -1,5 +1,9 @@
-"%ProgramFiles%\Gallio\bin\Gallio.Echo.exe" /rnf:Tests /rt:Xml-Inline /report-directory:reports ..\bin\Test.Mosa.Runtime.CompilerFramework.dll
-
-CALL ExtractResults.BAT
-
-pause
+IF EXIST "%ProgramFiles%\Gallio\bin\Gallio.Echo.exe" SET GALLIO="%ProgramFiles%\Gallio\bin\Gallio.Echo.exe"
+IF EXIST "%ProgramFiles(x86)%\Gallio\bin\Gallio.Echo.exe" SET GALLIO="%ProgramFiles(x86)%\Gallio\bin\Gallio.Echo.exe"
+
+
+%GALLIO% /rnf:Tests /rt:Xml-Inline /report-directory:reports ..\bin\Test.Mosa.Runtime.CompilerFramework.dll
+
+CALL ExtractResults.BAT
+
+pause


add dos.cmd

add dos.cmd

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

--- crm/dos.cmd
+++ crm/dos.cmd
@@ -0,0 +1,3 @@
+@echo off
+cmd /d /k
+echo on


アーカイブ用のコマンドを AppVeyor でも動くように修正

アーカイブ用のコマンドを AppVeyor でも動くように修正

--- archive.bat
+++ archive.bat
@@ -1,3 +1,3 @@
 @echo off
 dub build -a x86_64 -b release
-7za a -tzip moecoop.zip fukuro.exe LICENSE README.md resource doc libcurl.dll
+7z a -tzip moecoop.zip fukuro.exe LICENSE README.md resource doc libcurl.dll


add Doxygen.bat

add Doxygen.bat

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

--- Doxygen.bat
+++ Doxygen.bat
@@ -0,0 +1,12 @@
+@echo off
+
+rd /q /s _Out
+rd /q /s BuildScript
+rd /q /s Introduce
+rd /q /s Dependencies
+rd /q /s NFTools
+rd /q /s Tool
+rd /q /s Tutorial
+rd /q /s Dependencies
+
+echo. & pause


add back.bat to %PATH% variable in this file

--- bin/_mb.bat
+++ bin/_mb.bat
@@ -45,6 +45,9 @@
 set PYTHONPATH=%MINDBENDER_CORE%;%PYTHONPATH%

 set PROJECTS=%1
+
+:: Enable typing "back" funktion
+set PATH=%_GIT%\mindbender-core\bin\back\;%PATH%

 :: Expose pipeline executables
 set PATH=%MINDBENDER_CORE%\bin;%PATH%


changed gunzip -> gzip -d

changed gunzip -> gzip -d

--- windows_x64_vc12_setup_3rd_part.bat
+++ windows_x64_vc12_setup_3rd_part.bat
@@ -10,20 +10,13 @@
 REM set C_ARES_VERSION=1.10.0
 REM set CARES_DIR=c-ares-%C_ARES_VERSION%
 set CARES_DIR=c-ares-master
-
-
 set CURL_VERSION=7.42.1
 set ZLIB_VERSION=1.2.8
 set SNAPPY_VERSION=1.1.3
-
 REM set AVRO_VERSION=1.7.7
 REM set AVRO_DIR=avro-cpp-%AVRO_VERSION%
 set AVRO_DIR=avro\lang\c++
-
-REM set LIBEVENT_VERSION=2.0.21
-REM set PTHREAD_VERSION=2-9-1
 set JOYENT_HTTP_VERSION=2.3
-

 call "C:\Program Files (x86)\Microsoft Visual Studio %VISUALSTUDIO_VERSION%\VC\vcvarsall.bat" amd64

@@ -34,7 +27,7 @@

 wget http://sourceforge.net/projects/boost/files/boost/%BOOST_VERSION_DOTTED%/boost_%BOOST_VERSION%.tar.gz/download -Oboost_%BOOST_VERSION%.tar.gz
-gunzip boost_%BOOST_VERSION%.tar.gz
+gzip -d boost_%BOOST_VERSION%.tar.gz
 tar xf boost_%BOOST_VERSION%.tar
 del boost_%BOOST_VERSION%.tar

@@ -48,38 +41,28 @@
 del c-ares.zip

 wget --no-check-certificate https://github.com/google/snappy/releases/download/%SNAPPY_VERSION%/snappy-%SNAPPY_VERSION%.tar.gz  -Osnappy-%SNAPPY_VERSION%.tar.gz
-gunzip snappy-%SNAPPY_VERSION%.tar.gz
+gzip -d snappy-%SNAPPY_VERSION%.tar.gz
 tar xf snappy-%SNAPPY_VERSION%.tar
 del snappy-%SNAPPY_VERSION%.tar

 wget http://curl.haxx.se/download/curl-%CURL_VERSION%.tar.gz
-gunzip curl-%CURL_VERSION%.tar.gz
+gzip -d curl-%CURL_VERSION%.tar.gz
 tar xf curl-%CURL_VERSION%.tar
 del curl-%CURL_VERSION%.tar

 wget --no-check-certificate https://github.com/joyent/http-parser/archive/v%JOYENT_HTTP_VERSION%.tar.gz -Ohttp_parser-v%JOYENT_HTTP_VERSION%.tar.gz
-gunzip http_parser-v%JOYENT_HTTP_VERSION%.tar.gz
+gzip -d http_parser-v%JOYENT_HTTP_VERSION%.tar.gz
 tar xf http_parser-v%JOYENT_HTTP_VERSION%.tar
 del http_parser-v%JOYENT_HTTP_VERSION%.tar

-REM wget --no-check-certificate https://github.com/libevent/libevent/archive/release-%LIBEVENT_VERSION%-stable.tar.gz -Olibevent-%LIBEVENT_VERSION%-stable.tar.gz
-REM gunzip libevent-%LIBEVENT_VERSION%-stable.tar.gz
-REM tar xf libevent-%LIBEVENT_VERSION%-stable.tar
-REM del libevent-%LIBEVENT_VERSION%-stable.tar
-
 wget  http://www.openssl.org/source/%OPEN_SSL_VERSION%.tar.gz
-gunzip %OPEN_SSL_VERSION%.tar.gz
+gzip -d %OPEN_SSL_VERSION%.tar.gz
 tar xf %OPEN_SSL_VERSION%.tar
 del %OPEN_SSL_VERSION%.tar
 rmdir /s /q %OPEN_SSL_VERSION%\include

-REM wget ftp://sourceware.org/pub/pthreads-win32/pthreads-w32-%PTHREAD_VERSION%-release.tar.gz
-REM gunzip pthreads-w32-%PTHREAD_VERSION%-release.tar.gz
-REM tar xf pthreads-w32-%PTHREAD_VERSION%-release.tar
-REM del pthreads-w32-%PTHREAD_VERSION%-release.tar
-
 wget http://zlib.net/zlib-%ZLIB_VERSION%.tar.gz
-gunzip zlib-%ZLIB_VERSION%.tar.gz
+gzip -d zlib-%ZLIB_VERSION%.tar.gz
 tar xf zlib-%ZLIB_VERSION%.tar
 del zlib-%ZLIB_VERSION%.tar

@@ -159,28 +142,16 @@
 cd ..
 @ECHO DONE WITH CURL

-
 @ECHO BUILDING ZLIB
 cd zlib-%ZLIB_VERSION%
 nmake -f win32/Makefile.msc
 cd ..

-REM @ECHO BUILDING PTHREADS
-REM cd pthreads-w32-%PTHREAD_VERSION%-release
-REM #nmake clean VC-static-debug
-REM #nmake clean VC-static
-REM #test
-REM nmake clean VC
-REM nmake clean VC-debug
-REM cd ..
-
 @ECHO BUILDING BOOST
 cd boost_%BOOST_VERSION%
 rmdir /s /q bin.v2
-REM call "C:\Program Files (x86)\Microsoft Visual Studio %VISUALSTUDIO_VERSION%\VC\vcvarsall.bat" amd64
 call bootstrap.bat
-#b2 -j 4 -toolset=msvc-%VISUALSTUDIO_VERSION% address-model=64 --build-type=complete --stagedir=lib\x64 stage -s ZLIB_INCLUDE=%CD%\..\zlib-%ZLIB_VERSION% -s ZLIB_LIBPATH=%CD%\..\zlib-%ZLIB_VERSION%
-b2 -j 8 -toolset=msvc-%VISUALSTUDIO_VERSION% address-model=64 --build-type=complete --stagedir=lib\x64 stage -s ZLIB_SOURCE=%CD%\..\zlib-%ZLIB_VERSION%
+b2 -j 4 -toolset=msvc-%VISUALSTUDIO_VERSION% address-model=64 --build-type=complete link=static --stagedir=lib\x64 stage -s ZLIB_SOURCE=%CD%\..\zlib-%ZLIB_VERSION%
 rmdir /s /q bin.v2
 cd ..


fix path

fix path

--- scripts/deploy.cmd
+++ scripts/deploy.cmd
@@ -49,7 +49,7 @@
 )
 ECHO CALLING GET RUBY

-call :ExecuteCmd "getruby.cmd"
+call :ExecuteCmd "scripts/getruby.cmd"

 ECHO WE MADE IT


Update runsql.bat

Update runsql.bat

Prova di cambiamento

--- scripts/runsql.bat
+++ scripts/runsql.bat
@@ -1,2 +1,3 @@
 dir .\%1.sql /s/B >%tmp%\%0.txt
 for /F "tokens=*" %%A in (%tmp%\%0.txt) do psql -h scuola247 -d scuola247 -U postgres -c "\encoding utf8" -f %%A
+rem prova


Fix test path

Fix test path

--- script/appveyor-build.bat
+++ script/appveyor-build.bat
@@ -7,7 +7,7 @@

     msbuild zpm/CoreLib-ZPM.sln || exit /b 1

-    test\bin\x86\core-zpm-test.exe || exit /b 1
+    bin\x86\core-zpm-test.exe || exit /b 1
 ) else (
     zpm install-package --allow-install --allow-module || exit /b 1
     zpm %VSTUD% --allow-install || exit /b 1


Remove leading -J from .sbtopts lines

Remove leading -J from .sbtopts lines

The windows batch script for sbt does not strip -J from lines in the
.sbtopts file, which can cause sbt to fail to run since they end up
getting passed in as unknown vm arguments.

--- src/universal/bin/sbt.bat
+++ src/universal/bin/sbt.bat
@@ -52,10 +52,13 @@
 if exist .sbtopts for /F %%A in (.sbtopts) do (
   set _sbtopts_line=%%A
   if not "!_sbtopts_line:~0,1!" == "#" (
+    if "!_sbtopts_line:~0,2!" == "-J" (
+      set _sbtopts_line=!_sbtopts_line:~2,1000!
+    )
     if defined _SBT_OPTS (
-      set _SBT_OPTS=!_SBT_OPTS! %%A
+      set _SBT_OPTS=!_SBT_OPTS! !_sbtopts_line!
     ) else (
-      set _SBT_OPTS=%%A
+      set _SBT_OPTS=!_sbtopts_line!
     )
   )
 )


Get this closer to what it needs to be. Untested but was completely broken before.

--- build/quickstart/windows/bw.bat
+++ build/quickstart/windows/bw.bat
@@ -497,7 +497,6 @@
   IF NOT "%deployConf%empty" == "empty" GOTO cdDeployConf
   IF NOT "%deployData%empty" == "empty" GOTO cdDeployData
   IF NOT "%deployEs%empty" == "empty" GOTO cdDeployEs
-  IF NOT "%deploySolr%empty" == "empty" GOTO cdDeploySolr
   IF NOT "%saveData%empty" == "empty" GOTO cdSaveData
 :: Now projects
   IF NOT "%bw_ws%empty" == "empty" GOTO cdBwWs
@@ -579,12 +578,6 @@
   SET specialTarget="deployEs"
   GOTO dospecial

-:cdDeploySolr
-  cd %QUICKSTART_HOME%
-  SET deploySolr=
-  SET specialTarget="deploySolr"
-  GOTO dospecial
-
 :cdSaveData
   cd %QUICKSTART_HOME%
   SET saveData=
@@ -711,7 +704,6 @@
 IF "%1" == "deployConf" GOTO deployConf
 IF "%1" == "deployData" GOTO deployData
 IF "%1" == "deployEs" GOTO deployEs
-IF "%1" == "deploySolr" GOTO deploySolr
 IF "%1" == "dirstart" GOTO dirstart
 IF "%1" == "saveData" GOTO saveData


change build_setup_help_on_windows to run unit test on anaconda

--- build_setup_help_on_windows.bat
+++ build_setup_help_on_windows.bat
@@ -51,6 +51,7 @@

 :utpy34_64:
 set pythonexe="c:\Python34_x64\python"
+:custom_python:
 %pythonexe% setup.py write_version
 %pythonexe% -u setup.py clean_space
 if %errorlevel% neq 0 exit /b %errorlevel%
@@ -58,9 +59,6 @@
 if %errorlevel% neq 0 exit /b %errorlevel%
 echo #######################################################

-:setup34_x64_msi_wheel:
-set pythonexe="c:\Python34_x64\python"
-:custom_python:
 %pythonexe% setup.py clean_pyd
 %pythonexe% setup.py sdist --formats=gztar,zip --verbose
 if %errorlevel% neq 0 exit /b %errorlevel%


Fix VS build log truncation.

Fix VS build log truncation.

--- builds/msvc/build/buildbase.bat
+++ builds/msvc/build/buildbase.bat
@@ -31,7 +31,7 @@
 ECHO Platform=x64

 ECHO Configuration=LtcgDebug
-msbuild /m /v:n /p:Configuration=LtcgDebug /p:Platform=x64 %solution% > %log%
+msbuild /m /v:n /p:Configuration=LtcgDebug /p:Platform=x64 %solution% >> %log%
 IF errorlevel 1 GOTO error
 ECHO Configuration=LtcgRelease
 msbuild /m /v:n /p:Configuration=LtcgRelease /p:Platform=x64 %solution% >> %log%


compile.bat angepasst, dass auch efirc gestartet wird und nicht wie beim entwickeln noch "test".

git-svn-id: 8d3f453d47e2d101802c47149790c6969eab0d00@120 ab522a7c-5096-11dc-afc5-cb66f0b61238

--- compile.bat
+++ compile.bat
@@ -24,7 +24,7 @@
 echo.
 echo ...starting...
 cd bin
-test
+efirc
 rem exit 0

 rem Fenster offen halten, um


Add a simple compiler.

Add a simple compiler.

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

--- compile.cmd
+++ compile.cmd
@@ -0,0 +1,21 @@
+@echo off
+if "%1"=="" echo Usage: %~nx0 SourceFile.cs && goto :eof
+
+rem Windows 7+
+set csc=%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\csc.exe
+if exist %csc% goto compile
+
+rem Windows 2003
+set csc=%SystemRoot%\Microsoft.NET\Framework\v3.5\csc.exe
+if exist %csc% goto compile
+
+rem Windows XP
+set csc=%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\csc.exe
+if exist %csc% goto compile
+
+echo No Microsoft .NET ?!!
+goto :eof
+
+:compile
+%csc% %1
+goto :eof


Add step generating geos_svn_revision.h template with revision 0

Simplifies CI build steps.

[ci skip]

git-svn-id: 6c2b1bd10c324c49ea9d9e6e31006a80e70507cb@4364 5242fede-7e19-0410-aef8-94bd7d2200fb

--- autogen.bat
+++ autogen.bat
@@ -14,3 +14,4 @@
 COPY %GEOS_HEADERS%\version.h.vc %GEOS_HEADERS%\version.h
 COPY %GEOS_HEADERS%\platform.h.vc %GEOS_HEADERS%\platform.h
 COPY capi\geos_c.h.in capi\geos_c.h
+@ECHO #define GEOS_SVN_REVISION 0 > geos_svn_revision.h


Fix issue: Windows CI: cygwin install cache is not reused #9212

--- dev/ci/gitlab.bat
+++ dev/ci/gitlab.bat
@@ -26,12 +26,12 @@

 SET CYGROOT=C:\ci\cygwin%ARCH%
 SET DESTCOQ=C:\ci\coq%ARCH%
+SET CYGCACHE=C:\ci\cache\cgwin

 CALL :MakeUniqueFolder %CYGROOT% CYGROOT
 CALL :MakeUniqueFolder %DESTCOQ% DESTCOQ

 powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.cygwin.com/%SETUP%', '%SETUP%')"
-SET CYGCACHE=%CYGROOT%\var\cache\setup
 SET CI_PROJECT_DIR_MFMT=%CI_PROJECT_DIR:\=/%
 SET CI_PROJECT_DIR_CFMT=%CI_PROJECT_DIR_MFMT:C:/=/cygdrive/c/%
 SET COQREGTESTING=Y


testwikipedia.bat: switch to appropriate codepage for German, one more example

--- trunk/JLanguageTool/src/scripts/testwikipedia.bat
+++ trunk/JLanguageTool/src/scripts/testwikipedia.bat
@@ -11,6 +11,7 @@
 IF (%1)==(-help) GOTO usage
 IF (%1)==(--help) GOTO usage

+IF (%1)==(de) CHCP 1252
 java -Xmx512M -cp commons-lang-2.4.jar;bliki-3.0.3.jar;LanguageTool.jar org.languagetool.dev.wikipedia.CheckWikipediaDump - disabled_rules.txt %1 %2 %3 %4
 GOTO eof

@@ -24,5 +25,6 @@
 ECHO Examples:
 ECHO - %0 de dewiki-20111012-pages-articles-partly.xml -
 ECHO - %0 de dewiki-20111012-pages-articles-partly.xml GROSSER_STIEL 50
+ECHO - %0 de dewiki-20111012-pages-articles-partly.xml "GROSSER_STIEL,BISSTRICH"

 :eof


Fixed UpdateDependencies.bat script to properly change into directories on other drives.

--- Build/Scripts/UpdateDependencies.bat
+++ Build/Scripts/UpdateDependencies.bat
@@ -42,7 +42,7 @@
 ECHO Entering working directory...
 IF EXIST %gwd% RMDIR /S /Q %gwd%
 MKDIR %gwd%
-CD %gwd%
+CD /D %gwd%

 ECHO.
 ECHO Getting latest version...
@@ -89,7 +89,7 @@
 ECHO.
 ECHO Pushing changes to remote repository...
 %git% push
-CD %pwd%
+CD /D %pwd%

 ECHO.
 ECHO Update complete


1. Fix the issue that rDSN source directory contains blanks. 2. Get the absolute path of %TOP_DIR%.

--- bin/Windows/start_zk.cmd
+++ bin/Windows/start_zk.cmd
@@ -1,5 +1,10 @@
+@ECHO OFF
+
 SET bin_dir=%~dp0
 SET TOP_DIR=%bin_dir%\..\..
+PUSHD "%TOP_DIR%"
+SET TOP_DIR=%CD%
+POPD
 SET INSTALL_DIR=%~f1
 SET PORT=%2
 SET zk=zookeeper-3.4.6
@@ -12,23 +17,23 @@
     SET PORT=12181
 )

-CALL %bin_dir%\pre-require.cmd
+CALL "%bin_dir%\pre-require.cmd"

-IF NOT EXIST %INSTALL_DIR% mkdir %INSTALL_DIR%
+IF NOT EXIST "%INSTALL_DIR%" mkdir "%INSTALL_DIR%"

+PUSHD "%INSTALL_DIR%"

-pushd %INSTALL_DIR%
-
-IF NOT EXIST %INSTALL_DIR%\%zk% (
-    CALL %bin_dir%\wget.exe --no-check-certificate https://github.com/shengofsun/packages/raw/master/%zk%.tar.gz?raw=true
+IF NOT EXIST "%INSTALL_DIR%\%zk%" (
+    CALL "%bin_dir%\wget.exe" --no-check-certificate https://github.com/shengofsun/packages/raw/master/%zk%.tar.gz?raw=true
     IF NOT EXIST %zk%.tar.gz (
-        CALL %bin_dir%\echoc.exe 4 download zookeeper package failed from  https://github.com/shengofsun/packages/raw/master/%zk%.tar.gz?raw=true
-        popd
-        exit /B 1
+        CALL "%bin_dir%\echoc.exe" 4 download zookeeper package failed from  https://github.com/shengofsun/packages/raw/master/%zk%.tar.gz?raw=true
+        POPD
+        EXIT /B 1
     )

-    CALL %bin_dir%\7z.exe x %zk%.tar.gz -y -o"%INSTALL_DIR%"
-    CALL %bin_dir%\7z.exe x %zk%.tar -y -o"%INSTALL_DIR%"
+    CALL "%bin_dir%\echoc.exe" 2 "Decompressing %zk% to \"%INSTALL_DIR%\""
+    CALL "%bin_dir%\7z.exe" x %zk%.tar.gz -y -o"%INSTALL_DIR%" > nul
+    CALL "%bin_dir%\7z.exe" x %zk%.tar -y -o"%INSTALL_DIR%" > nul
 )

 SET ZOOKEEPER_HOME=%INSTALL_DIR%\%zk%
@@ -36,26 +41,26 @@
 SET ZK_SRC_CONFIG=%ZOOKEEPER_HOME%\conf\zoo_sample.cfg
 SET ZK_DST_CONFIG=%ZOOKEEPER_HOME%\conf\zoo.cfg

-ECHO # GENERATD BY rDSN SCRIPT > %ZK_DST_CONFIG%
+ECHO # GENERATD BY rDSN SCRIPT > "%ZK_DST_CONFIG%"

-for /F  %%A in (%ZK_SRC_CONFIG%) do (
+for /F  %%A in ("%ZK_SRC_CONFIG%") do (
     SET "line=%%A"
     setlocal enabledelayedexpansion
     set "line=!line:2181=12181!"
     if defined line (
-        echo(!line! >> %ZK_DST_CONFIG%
+        echo(!line! >> "%ZK_DST_CONFIG%"
     )
     endlocal
 )

-@mkdir %ZOOKEEPER_HOME%\data
+IF NOT EXIST "%ZOOKEEPER_HOME%\data" @mkdir "%ZOOKEEPER_HOME%\data"

 REM powershell -command "Start-Process %ZOOKEEPER_HOME%\bin\zkServer.cmd"
-powershell -command "Start-Process -FilePath cmd.exe  -ArgumentList '/C title zk-%PORT%-%ZOOKEEPER_HOME%\bin\zkServer.cmd&&%ZOOKEEPER_HOME%\bin\zkServer.cmd'"
+powershell -command "Start-Process -FilePath cmd.exe  -ArgumentList '/C title zk-%PORT%-%ZOOKEEPER_HOME%\bin\zkServer.cmd&&\"%ZOOKEEPER_HOME%\bin\zkServer.cmd\"'"

 REM CALL start cmd.exe /k "title zk-%PORT%&& %ZOOKEEPER_HOME%\bin\zkServer.cmd"

-popd
+POPD

 GOTO exit

@@ -65,4 +70,4 @@
     GOTO:EOF

 :exit
-    exit /B 0+    EXIT /B 0


Updated RestorePackages.bat

Updated RestorePackages.bat

--- lib/RestorePackages.bat
+++ lib/RestorePackages.bat
@@ -1 +1,4 @@
-..\tools\nuget\nuget.exe restore ..\src\Orc.FilterBuilder.sln -PackagesDirectory .\+for /f %%a IN ('dir /b ..\src\*.sln') do call ..\tools\nuget\nuget.exe restore ..\src\%%a -PackagesDirectory .\
+
+
+pause


update to Pandoc 2.7.2 on Windows

update to Pandoc 2.7.2 on Windows


Deleted BuildAll-online.bat.  BuildAll.bat is new default for building online

--- graphene-parent/BuildAll-online.bat
+++ graphene-parent/BuildAll-online.bat
@@ -1,6 +0,0 @@
-@echo off
-echo Cleaning all target directories, twice. Sometimes Windows holds onto file handles.
-echo.
-echo Run 'mvn clean' by itself if there is a failure in cleaning, and make sure no files in any of the target directories is open or being used.
-
-mvn clean -Dmaven.clean.failOnError=false && mvn clean -Dmaven.clean.failOnError=false && mvn install -DskipTests=true


pipe to results.tap

pipe to results.tap

Signed-off-by: Kenneth Reitz <b1c1d8736f20db3fb6c1c66bb1455ed43909f0d8@kennethreitz.org>

--- run-tests.bat
+++ run-tests.bat
@@ -1,4 +1,4 @@
 pip install -e . --upgrade --upgrade-strategy=only-if-needed
 pipenv install --dev

-pipenv run pytest -v -n auto tests --tap-stream+pipenv run pytest -v -n auto tests --tap-stream > results.tap


Add startvs for each solution (dotnet/extensions#2630)

\n\nCommit migrated from https://github.com/dotnet/extensions/commit/e41d90f66109f3387063f412a0ec61c85f8ecbdb

error: pathspec 'src/JSInterop/startvs.cmd' did not match any file(s) known to git

--- src/JSInterop/startvs.cmd
+++ src/JSInterop/startvs.cmd
@@ -0,0 +1,3 @@
+@ECHO OFF
+
+%~dp0..\..\startvs.cmd %~dp0JSInterop.slnf


Issue number:  20
Obtained from: mpoisot
Submitted by:  mpoisot
Reviewed by:

Modified Windows batch script to no longer show a console window when run via the Windows GUI interface.

CVS: ----------------------------------------------------------------------
CVS: Issue number:
CVS:   If this change addresses one or more issues,
CVS:   then enter the issue number(s) here.
CVS: Obtained from:
CVS:   If this change has been taken from another system,
CVS:   then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS:   If this code has been contributed to the project by someone else; i.e.,
CVS:   they sent us a patch or a set of diffs, then include their name/email
CVS:   address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS:   If we are doing pre-commit code reviews and someone else has
CVS:   reviewed your changes, include their name(s) here.
CVS:   If you have not had it reviewed then delete this line.

--- scripts/cockpit.bat
+++ scripts/cockpit.bat
@@ -8,4 +8,4 @@
 set CP=%CP%;libs/commons-httpclient/commons-httpclient-3.0.1.jar
 set CP=%CP%;libs/misc/BareBonesBrowserLaunch.jar

-java -classpath %CP% org.jets3t.apps.cockpit.Cockpit
+start javaw -classpath %CP% org.jets3t.apps.cockpit.Cockpit


Update bld.bat

Update bld.bat

--- recipes/libxfoil/bld.bat
+++ recipes/libxfoil/bld.bat
@@ -1,14 +1,16 @@
 mkdir build
 cd build

-cmake -D CMAKE_BUILD_TYPE:STRING=Release ^
+cmake -G "MinGW Makefiles" ^
+      -D CMAKE_BUILD_TYPE:STRING=Release ^
       -D CMAKE_PREFIX_PATH:FILEPATH=%LIBRARY_PREFIX% ^
       -D CMAKE_INSTALL_PREFIX:FILEPATH=%LIBRARY_PREFIX% ^
       ..

-make install
+mingw32-make VERBOSE=1
+mingw32-make install

 cd ..

 %PYTHON% setup.py build_ext
-%PYTHON% setup.py install+%PYTHON% setup.py install


fix copy

fix copy

--- recipes/pdcurses/bld.bat
+++ recipes/pdcurses/bld.bat
@@ -6,14 +6,14 @@

 REM install header files
 mkdir %LIBRARY_PREFIX%\include\
-cp %SRC_DIR%\curses.h %LIBRARY_PREFIX%\include\
-cp %SRC_DIR%\curspriv.h %LIBRARY_PREFIX%\include\
-cp %SRC_DIR%\panel.h %LIBRARY_PREFIX%\include\
+copy %SRC_DIR%\curses.h %LIBRARY_PREFIX%\include\
+copy %SRC_DIR%\curspriv.h %LIBRARY_PREFIX%\include\
+copy %SRC_DIR%\panel.h %LIBRARY_PREFIX%\include\

 REM install dll
 mkdir %LIBRARY_PREFIX%\bin\
-cp pdcurses.dll %LIBRARY_PREFIX%\bin\
+copy pdcurses.dll %LIBRARY_PREFIX%\bin\

 REM install lib
 mkdir %LIBRARY_PREFIX%\lib\
-cp pdcurses.lib %LIBRARY_PREFIX%\lib\
+copy pdcurses.lib %LIBRARY_PREFIX%\lib\


Delete bld.bat

Delete bld.bat

--- recipes/material-design-lite/bld.bat
+++ recipes/material-design-lite/bld.bat
@@ -1,12 +0,0 @@
-npm install --user "%USERNAME%"  ^
-            --python=python2.7   ^
-            --loglevel warn      ^
-            .
-npm start
-npm prune --production
-del /s /q %PREFIX%\share\man\man1\gulp.1
-robocopy build %PREFIX%/static /s /e
-:: OS X installs node-gyp globally for some reason which means it ends up in ${PREFIX}
-if exist %PREFIX%\lib\node_modules del /s /q %PREFIX%\lib\node_modules
-:: Seems some other cruft is left lying around ..
-if exist %PREFIX%\build\tmp del /s /q %PREFIX%\build\tmp


Only copy LunarG Vulkan SDK binary wrap when using it, fixes 2de41b60

--- buildscript/modules/mesonsubprojects.cmd
+++ buildscript/modules/mesonsubprojects.cmd
@@ -168,9 +168,9 @@
 @CMD /C EXIT 0
 @FC /B %devroot%\%projectname%\buildscript\mesonsubprojects\vulkan-meson.build %devroot%\mesa\subprojects\vulkan\meson.build>NUL 2>&1
 @if NOT "%ERRORLEVEL%"=="0" (
-@echo Using binary wrap to find Vulkan...
-@copy /Y %devroot%\%projectname%\buildscript\mesonsubprojects\vulkan-meson.build %devroot%\mesa\subprojects\vulkan\meson.build
-@echo.
+@IF %toolchain%==clang echo Using binary wrap to find Vulkan...
+@IF %toolchain%==clang copy /Y %devroot%\%projectname%\buildscript\mesonsubprojects\vulkan-meson.build %devroot%\mesa\subprojects\vulkan\meson.build
+@IF %toolchain%==clang echo.
 )
 @IF %toolchain%==gcc IF EXIST "%devroot%\mesa\subprojects\vulkan\" RD /S /Q %devroot%\mesa\subprojects\vulkan
 @IF %toolchain%==gcc IF EXIST %msysloc%\%LMSYSTEM%\lib\libvulkan.dll.a del %msysloc%\%LMSYSTEM%\lib\libvulkan.dll.a


MSVC: Clean tmp_check directory of pg_controldata test suite.

Back-patch to 9.4, where the suite was introduced.

--- src/tools/msvc/clean.bat
+++ src/tools/msvc/clean.bat
@@ -78,6 +78,7 @@
 if exist src\bin\initdb\tmp_check rd /s /q src\bin\initdb\tmp_check
 if exist src\bin\pg_basebackup\tmp_check rd /s /q src\bin\pg_basebackup\tmp_check
 if exist src\bin\pg_config\tmp_check rd /s /q src\bin\pg_config\tmp_check
+if exist src\bin\pg_controldata\tmp_check rd /s /q src\bin\pg_controldata\tmp_check
 if exist src\bin\pg_ctl\tmp_check rd /s /q src\bin\pg_ctl\tmp_check
 if exist src\bin\scripts\tmp_check rd /s /q src\bin\scripts\tmp_check


Click to Install Dependencies

Click to Install Dependencies

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

--- run/installdep.bat
+++ run/installdep.bat
@@ -0,0 +1,3 @@
+@echo off
+npm i discord.js --save
+pause


Update GRADLE_OPTS to use " instead of '

--- gradlew.bat
+++ gradlew.bat
@@ -10,7 +10,7 @@

 @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
 set DEFAULT_JVM_OPTS=-Xmx1024M
-set GRADLE_OPTS='-Dorg.gradle.daemon=false'
+set GRADLE_OPTS="-Dorg.gradle.daemon=false"

 set DIRNAME=%~dp0
 if "%DIRNAME%" == "" set DIRNAME=.


update version suffix to reflect RC2

update version suffix to reflect RC2

--- build-release-all.cmd
+++ build-release-all.cmd
@@ -7,7 +7,7 @@
 @echo ...
 @echo Running full Build Script, capturing output to buildlog.txt file...
 @echo Start Time: %time%
-build-support\tools\nant\bin\nant clean package -f:spring.build -D:project.build.sign=true -D:build-ems=true -D:test.integration.ems=false -D:test.integration.data=true -D:mstest.exe="c:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\mstest.exe" -D:package.version=2.0.0 -D:nuget.version.suffix=RC1 -D:vs-net.mstest.bin.dir="c:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE" -D:skipmstestrun=true > buildlog.txt
+build-support\tools\nant\bin\nant clean package -f:spring.build -D:project.build.sign=true -D:build-ems=true -D:test.integration.ems=false -D:test.integration.data=true -D:mstest.exe="c:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\mstest.exe" -D:package.version=2.0.0 -D:nuget.version.suffix=RC2 -D:vs-net.mstest.bin.dir="c:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE" -D:skipmstestrun=true > buildlog.txt
 @echo .
 @echo ..
 @echo ...


updated the install shell script for windows platform

--- skills/vim/vim-conf/install.bat
+++ skills/vim/vim-conf/install.bat
@@ -47,6 +47,7 @@
   call mkdir "%HOME%\.vim"
 )

+REM copy configure of vim
 call copy /Y vimrc "%HOME%\_vimrc"
 call copy /Y vimrc.bundles "%HOME%\.vim\"
 call copy /Y vimrc.bundles.local "%HOME%\.vim\"
@@ -55,6 +56,17 @@
   call mkdir "%HOME%\.vim\bundles.vimrc"
 )
 call copy /Y bundles.vimrc "%HOME%\.vim\bundles.vimrc"
+
+REM copy useful command: ag.exe, ctags.exe and vimtweak.dll
+call copy /Y bin\ag.exe "%VIMRUNTIME%"
+call copy /Y bin\ctags.exe "%VIMRUNTIME%"
+call copy /Y bin\vimtweak.dll "%VIMRUNTIME%"
+
+REM copy my customized syntax(lua, c, python)
+if not exist "%HOME%\.vim\syntax" (
+  call mkdir "%HOME%\.vim\syntax"
+)
+call copy /Y vimfiles\syntax\* "%HOME%\.vim\syntax"

 if not exist "%HOME%\.vim\bundle" (
   call mkdir "%HOME%\.vim\bundle"


Add a CI build script

Add a CI build script

Instances of vbcscompiler.exe may hang around for a few minutes after a
Jenkins run, locking files and causing new runs on the same system to
fail. To address this, we add a script to setup the environment, run the
build and test, and then kill any instances of vbcscompiler.exe that are
left around.

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

--- cibuild.cmd
+++ cibuild.cmd
@@ -0,0 +1,6 @@
+call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
+msbuild /v:m /m BuildAndTest.proj /p:CIBuild=true
+
+REM Kill any instances of VBCSCompiler.exe to release locked files;
+REM otherwise future CI runs may fail while trying to delete those files.
+taskkill /F /IM vbcscompiler.exe


Compatibility fix with Visual Studio 2017 v15.3.2 Visual Studio Development Command Prompt began reseting current directory to %USERPROFILE%\sources when called I don't know if this is a bug or intended behavior but after this change this is going to be irrelevant

--- buildscript/build.cmd
+++ buildscript/build.cmd
@@ -65,6 +65,7 @@
 @if "%toolchain%"=="Ninja" set PATH=%mesa%ninja\;%PATH%
 @set vsenv=%vsenv14%
 @if %toolset%==15 set vsenv=%vsenv15%
+@set llvmbuildsys=%CD%
 @call %vsenv%
 @set vsenvloaded=1
 @echo.
@@ -72,6 +73,7 @@
 @if NOT "%toolchain%"=="Ninja" set modtoolchainabi=1
 @if %abi%==x64 set modtoolchainabi=%modtoolchainabi%2
 @if %modtoolchainabi%==12 set toolchain=%toolchain% Win64
+@cd %llvmbuildsys%
 @cmake -G "%toolchain%" -DLLVM_TARGETS_TO_BUILD=X86 -DCMAKE_BUILD_TYPE=Release -DLLVM_USE_CRT_RELEASE=MT -DLLVM_ENABLE_RTTI=1 -DLLVM_ENABLE_TERMINFO=OFF -DCMAKE_INSTALL_PREFIX=../%abi% ..
 @echo.
 @pause
@@ -153,6 +155,7 @@
 @if /I "%cleanbuild%"=="y" RD /S /Q build\windows-%longabi%
 @if %vsenvloaded%==0 (
 @call %vsenv%
+@cd %mesa%mesa
 @echo.
 )


Gmd - Added install.bat to execute all gmd plugins at once.

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

--- install.bat
+++ install.bat
@@ -0,0 +1,23 @@
+@echo off
+SET DEVELOPMENT_HOME= "${DEV_DIRECTORY}"
+
+cd %DEVELOPMENT_HOME%\gwt-material-jquery\
+call mvn clean install -Dmaven.test.skip=true
+
+cd %DEVELOPMENT_HOME%\gwt-material\
+call mvn clean install -Dmaven.test.skip=true
+
+cd %DEVELOPMENT_HOME%\gwt-material-themes\
+call mvn clean install -Dmaven.test.skip=true
+
+cd %DEVELOPMENT_HOME%\gwt-material-table\
+call mvn clean install -Dmaven.test.skip=true
+
+cd %DEVELOPMENT_HOME%\gwt-material-addins\
+call mvn clean install -Dmaven.test.skip=true
+
+cd %DEVELOPMENT_HOME%\gwt-material-table\
+call mvn clean install -Dmaven.test.skip=true
+
+cd %DEVELOPMENT_HOME%\gwt-material-amcharts4\
+call mvn clean install -Dmaven.test.skip=true


Simplify installation script

Simplify installation script

Removed some useless stuff and added repository/bundles updating.

--- install.bat
+++ install.bat
@@ -1,74 +1,47 @@
 @echo off
 title Dotfiles installation script

-rem Start program ---------------------------------------------------------
-:init
-  set dotfiles=%~dp0
-  set home=%USERPROFILE%\
-  goto check_permissions
+rem Check admin {{{
+  net session >nul 2>&1
+  if %errorlevel% == 0 (
+    goto continue
+  ) else (
+    echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
+    set params=%~1
+    echo UAC.ShellExecute "%~s0", "%params%", "", "runas", 1 >> "%temp%\getadmin.vbs"

-rem Check administrator permissions ---------------------------------------
-:check_permissions
-  echo Administrative permissions required. Detecting permissions...
-  net session >nul 2>&1
-
-  if %errorLevel% == 0 (
-    echo Success: Administrative permissions confirmed.
-    echo.
-
-    goto link_vimp
-  ) else (
-    echo Requesting administrative privileges...
-    goto UAC_prompt
+    "%temp%\getadmin.vbs" >nul
+    if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" )
+    exit /B
   )

-rem Show admin prompt -----------------------------------------------------
-:UAC_prompt
-  echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
-  set params=%~1
-  echo UAC.ShellExecute "%~s0", "%params%", "", "runas", 1 >> "%temp%\getadmin.vbs"
+:continue
+rem Set variables
+  set home=%userprofile%
+  set dotfiles=%home%\dotfiles

-  "%temp%\getadmin.vbs" >nul
-  if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" )
-  exit /B
-
-rem Link vimperator files -------------------------------------------------
-:link_vimp
-  echo Linking vimperator files...
-  echo.
-
-  if exist %home%vimperator (
-    echo vimperator folder already exists. Skipping to next file.
+rem Clone/update repository
+  if not exist %dotfiles% (
+    git clone http://github.com/Tunous/dotfiles.git "%dotfiles%"
   ) else (
-    mklink /D %home%vimperator %dotfiles%vimperator
-  )
-  if exist %home%_vimperatorrc (
-    echo _vimperatorrc file already exists. Skipping to next file.
-  ) else (
-    mklink %home%_vimperatorrc %dotfiles%vimperator\vimperatorrc
+    cd "%dotfiles%"
+    git pull
   )

-rem Link vim files --------------------------------------------------------
-:link_vim
-  echo Linking vim files...
-  echo.
+rem Link files
+  mklink /d "%home%\vimperator"    "%dotfiles%\vimperator"
+  mklink    "%home%\_vimperatorrc" "%dotfiles%\vimperator\vimperatorrc"
+  mklink /d "%home%\vimfiles"      "%dotfiles%\vim"

-  if exist %home%vimfiles (
-    echo vimfiles folder already exists. Skipping to next file.
-  ) else (
-    mklink /D %home%vimfiles %dotfiles%vim
+rem Clone vundle repository
+  if not exist "%dotfiles%\vim\bundle" (
+    mkdir "%dotfiles%\vim\bundle"
+  )
+  if not exist "%dotfiles%\vim\bundle\vundle" (
+    git clone http://github.com/gmarik/vundle.git "%dotfiles%\bundle\vundle"
   )

-rem Install vim bundles ---------------------------------------------------
-:install_bundles
-  if not exist %dotfiles%vim\bundle\vundle (
-    git clone http://github.com/gmarik/vundle.git "%dotfiles%vim\bundle\vundle"
-  )
-  gvim +BundleInstall +qall
-
-rem End script ------------------------------------------------------------
-:end
-  echo.
-  echo Setup complete.
+rem Update vim bundles
+  gvim +BundleInstall! +BundleClean +qall

 rem vim: foldmethod=indent


update commandline help Windows installer

--- install.bat
+++ install.bat
@@ -125,8 +125,9 @@
                Default is %PROGRAMFILES%\LuaRocks

 Configuring the destinations:
-/TREE [dir]    Root of the local tree of installed rocks.
-               Default is %PROGRAMFILES%\LuaRocks\systree
+/TREE [dir]    Root of the local system tree of installed rocks.
+               Default is {BIN}\..\ if {BIN} ends with '\bin'
+               otherwise it is {BIN}\systree.
 /SCRIPTS [dir] Where to install commandline scripts installed by
                rocks. Default is {TREE}\bin.
 /LUAMOD [dir]  Where to install Lua modules installed by rocks.


更新Bat

更新Bat

--- thunder-spring-boot-docker-example/docker.bat
+++ thunder-spring-boot-docker-example/docker.bat
@@ -19,6 +19,6 @@
 @rem set DOCKER_HOST=tcp://192.168.99.100:2376
 @rem set DOCKER_CERT_PATH=C:\Users\Neptune\.docker\machine\certs

-call mvn clean package docker:build && java -jar target/thunder-spring-boot-docker-example-1.0.0.jar
+call mvn clean package docker:build -DskipTests && java -jar target/thunder-spring-boot-docker-example-1.0.0.jar

 pause


#37 Added header files to the package.

#37 Added header files to the package.

--- build/build.bat
+++ build/build.bat
@@ -235,12 +235,18 @@
 copy "..\src\stkwebapp\Release\stkwebapp.lib" deployment
 %DEVENV% "..\src\stkwebapp\stkwebappcmd.sln" /rebuild Release
 copy "..\src\stkwebapp\Release\stkwebappcmd.exe" deployment
+copy "..\src\stkwebapp\StkWebApp.h" deployment
+copy "..\src\stkwebapp\StkWebAppExec.h" deployment
 %SEVENZIP% a ..\build\deployment\stkwebapp.zip ..\build\deployment\stkwebapp.lib
 %SEVENZIP% a ..\build\deployment\stkwebapp.zip ..\build\deployment\stkwebappcmd.exe
+%SEVENZIP% a ..\build\deployment\stkwebapp.zip ..\build\deployment\StkWebApp.h
+%SEVENZIP% a ..\build\deployment\stkwebapp.zip ..\build\deployment\StkWebAppExec.h
 %SEVENZIP% a ..\build\deployment\stkwebapp.zip ..\build\deployment\stkwebapp.pdf
 %SEVENZIP% a ..\build\deployment\stkwebapp.zip buildver.txt
 del ..\build\deployment\stkwebapp.lib
 del ..\build\deployment\stkwebappcmd.exe
+del ..\build\deployment\StkWebApp.h
+del ..\build\deployment\StkWebAppExec.h
 del ..\build\deployment\stkwebapp.pdf


* tools/buildbot/slaves/win32-SharpSvn/svntest-cleanup.cmd   Use simpler build target and kill op-depth-test on build restart.

--- tools/buildbot/slaves/win32-SharpSvn/svntest-cleanup.cmd
+++ tools/buildbot/slaves/win32-SharpSvn/svntest-cleanup.cmd
@@ -32,7 +32,7 @@
 )
 IF NOT EXIST build\imports.done (
   copy /y imports\dev-default.build default.build
-  nant build %NANTARGS%
+  nant prep-dev %NANTARGS%
   IF ERRORLEVEL 1 (
     exit /B 1
   )
@@ -54,6 +54,7 @@
 taskkill /im svnrdump.exe /f 2> nul:
 taskkill /im svnsync.exe /f 2> nul:
 taskkill /im httpd.exe /f 2> nul:
+taskkill /im op-depth-test.exe /f 2> nul:
 IF EXIST "%TESTDIR%\tests\subversion\tests\cmdline\httpd\" (
   rmdir /s /q  "%TESTDIR%\tests\subversion\tests\cmdline\httpd"
 )


codeine will use its own java if exists

codeine will use its own java if exists

--- deployment/bin_windows/install.bat
+++ deployment/bin_windows/install.bat
@@ -9,4 +9,6 @@
 SET CURR_DOMAIN=%%B
 )

-wrapper.exe --name="Codeine" --mode=Main --install javaw -DcodeinePeerPort=49671 -DinstallDir=%DIST_DIR% -Xdebug -DDNS_DOMAIN_NAME=%CURR_DOMAIN% -Xrunjdwp:transport=dt_socket,server=y,suspend=n -Xmx100M -cp ..\bin\codeine.jar codeine.CodeinePeerBootstrap
+set JAVAW=..\\..\\jre\\bin\\javaw.exe
+if not exist %JAVAW% set JAVAW=javaw
+wrapper.exe --name="Codeine" --mode=Main --install %JAVAW% -DcodeinePeerPort=49671 -DinstallDir=%DIST_DIR% -Xdebug -DDNS_DOMAIN_NAME=%CURR_DOMAIN% -Xrunjdwp:transport=dt_socket,server=y,suspend=n -Xmx100M -cp ..\bin\codeine.jar codeine.CodeinePeerBootstrap


add gradlew

add gradlew

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

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


Fix compilecore.cmd

Fix compilecore.cmd

--- compilecore.cmd
+++ compilecore.cmd
@@ -6,7 +6,7 @@
 SET PARAMS=/consoleloggerparameters:ErrorsOnly /m

 dotnet restore AM.Core\project.json
-dotnet restore ManagedClient\project.json
+dotnet restore ManagedIrbis\project.json

 "%MSBUILD%" AM.Core\AM.Core.NetCore.xproj /target:ReBuild /property:Configuration=Debug   /property:OutputPath=%OUTPUT%\DebugCore  /p:DefineConstants="NETCORE"
 rem "%MSBUILD%" ManagedIrbis\ManagedIrbis.NetCore.xproj /target:ReBuild /property:Configuration=Debug   /property:OutputPath=%OUTPUT%\DebugCore /p:DefineConstants="NETCORE"


Pointing to NCI-Projects instead of SVN-Projects for builds.

SVN-Revision: 1278

--- software/build/build.cmd
+++ software/build/build.cmd
@@ -3,6 +3,8 @@
 @rem **** Command file to invoke build.xml ****
 @rem ******************************************
 setlocal
+set DEVPROPFILE=C:\NCI-Projects\ncit-properties\properties\dev-upgrade.properties
+set QAPROPFILE=C:\NCI-Projects\ncit-properties\properties\qa-upgrade.properties
 cls
 if "%1" == "" (
     echo.
@@ -41,11 +43,11 @@
     goto DONE
 )
 if "%1" == "dev" (
-    ant -Dproperties.file=C:\SVN-Projects\ncit-properties\properties\dev-upgrade.properties -Danthill.build.tag_built=desktop deploy:remote:upgrade
+    ant -Dproperties.file=%DEVPROPFILE% -Danthill.build.tag_built=desktop deploy:remote:upgrade
     goto DONE
 )
 if "%1" == "qa" (
-    ant -Dproperties.file=C:\SVN-Projects\ncit-properties\properties\qa-upgrade.properties -Danthill.build.tag_built=desktop deploy:remote:upgrade
+    ant -Dproperties.file=%QAPROPFILE% -Danthill.build.tag_built=desktop deploy:remote:upgrade
     goto DONE
 )


Adjustments to test CI ssh.

Adjustments to test CI ssh.

git-svn-id: 7af4603ee811ab7d38b44ab6bf739118ab0e87f8@1104 b145b987-6716-48ef-8e4a-68a7679c2f12

--- software/build/build.cmd
+++ software/build/build.cmd
@@ -91,7 +91,7 @@
     goto DONE
 )
 if "%1" == "cissh" (
-    ssh jboss51a@ncias-c512-v.nci.nih.gov -i C:\NCI-Projects\ncim-properties\properties\ssh-keys\id_dsa_bda echo "Test worked!"
+    ssh jboss51d@ncias-c512-v.nci.nih.gov -i C:\NCI-Projects\ssh-keys\id_dsa_bda echo "Test worked!"
     goto DONE
 )
 :DONE


fix missing variable expansion when using a self contained configuration

--- install.bat
+++ install.bat
@@ -983,7 +983,7 @@
 	f:write("site_config.LUAROCKS_FORCE_CONFIG=true\n")
 end
 if vars.SYSCONFFORCE then  -- only write this value when explcitly given, otherwise rely on defaults
-	f:write("site_config.LUAROCKS_SYSCONFIG=[[$CONFIG_FILE]]\n")
+	f:write(S("site_config.LUAROCKS_SYSCONFIG=[[$CONFIG_FILE]]\n"))
 end
 f:write("return site_config\n")
 f:close()


Take out untested windows install file

Take out untested windows install file

--- install.bat
+++ install.bat
@@ -1,30 +0,0 @@
-@ECHO OFF
-ECHO "Making library..."
-DIR Software\
-:: Check for arg
-IF [%1]==["-noSFML"] GOTO NOSFML
-GOTO MAKE
-
-:: First noSFML process
-:NOSFML
-
-GOTO MAKE
-
-:: Make the libraries
-:MAKE
-make
-make lib
-IF [%1]==["-noSFML"] GOTO NOSFMLTWO
-GOTO DONE
-
-:: Second noSFML process
-:NOSFMLTWO
-
-GOTO DONE
-
-:: Everything else
-:DONE
-ECHO "Made library"
-ECHO "In order, to compile, simply run a command with g++ which links the library"
-ECHO "For example:"
-ECHO "g++ -std=c++11 in.cpp PATH_TO_FIDO\Software\fido-lib.a"


windows support for deploy_cloud_vm on

windows support for deploy_cloud_vm on

--- install.bat
+++ install.bat
@@ -0,0 +1,5 @@
+cd deploy_cloud_vm
+go get
+go build *.go
+go install
+cd ..


update

update

--- compile-xyo-build.cmd
+++ compile-xyo-build.cmd
@@ -133,7 +133,6 @@
 set SRC=%SRC% %XLIB%xyo-xo-utf32x.cpp
 set SRC=%SRC% %XLIB%xyo-xo-utfx.cpp
 set SRC=%SRC% %XLIB%xyo-xo-file.cpp
-set SRC=%SRC% %XLIB%xyo-xo-filex.cpp
 set SRC=%SRC% %XLIB%xyo-xo-memoryfileread.cpp
 set SRC=%SRC% %XLIB%xyo-xo-shell--os-win.cpp
 set SRC=%SRC% %XLIB%xyo-xo-shellx.cpp
@@ -146,8 +145,10 @@
 set SRC=%SRC% %XLIB%xyo-xo-net--os-win.cpp
 set SRC=%SRC% %XLIB%xyo-xo-ip4.cpp
 set SRC=%SRC% %XLIB%xyo-xo-ipaddress4.cpp
+set SRC=%SRC% %XLIB%xyo-xo-filex.cpp
 set SRC=%SRC% %XLIB%xyo-xo-sha256hash.cpp
 set SRC=%SRC% %XLIB%xyo-xo-sha512hash.cpp
+set SRC=%SRC% %XLIB%xyo-xo-url.cpp

 set INC=
 set INC=


don't put collection files in the zip, installed separately

--- CreateInstallFolder2-0.bat
+++ CreateInstallFolder2-0.bat
@@ -38,10 +38,10 @@
 rem other stuff
 copy /Y subdirs.pth Install2.0\FlexTools2.0\FlexTools\Modules
 rem copy /Y FlexTrans.config Install2.0\FlexTools2.0\FlexTools
-copy "FlexTrans All Steps.ini" Install2.0\FlexTools2.0\FlexTools\Collections
-copy "FlexTrans Run Testbed.ini" Install2.0\FlexTools2.0\FlexTools\Collections
-copy "FlexTrans Tools.ini" Install2.0\FlexTools2.0\FlexTools\Collections
-copy /Y flextools.ini Install2.0\FlexTools2.0\FlexTools
+rem copy "FlexTrans All Steps.ini" Install2.0\FlexTools2.0\FlexTools\Collections
+rem copy "FlexTrans Run Testbed.ini" Install2.0\FlexTools2.0\FlexTools\Collections
+rem copy "FlexTrans Tools.ini" Install2.0\FlexTools2.0\FlexTools\Collections
+rem copy /Y flextools.ini Install2.0\FlexTools2.0\FlexTools
 rem copy transfer_rules.t1x Install2.0\FlexTools2.0\FlexTools\Output
 rem copy replace.dix Install2.0\FlexTools2.0\FlexTools\Output
 copy stamp32.exe Install2.0\FlexTools2.0\FlexTools


Added missing nuget restore and upped MSBuild to 15 (was 14)

--- build-appveyor.cmd
+++ build-appveyor.cmd
@@ -3,4 +3,5 @@
 ECHO APPVEYOR_BUILD_NUMBER : %APPVEYOR_BUILD_NUMBER%
 ECHO APPVEYOR_BUILD_VERSION : %APPVEYOR_BUILD_VERSION%

-CALL "%programfiles(x86)%\MSBuild\14.0\Bin\MsBuild.exe" build\build.proj
+CALL build\tools\NuGet.exe restore src\Our.Umbraco.GridSettings.sln
+CALL "%programfiles(x86)%\MSBuild\15.0\Bin\MsBuild.exe" build\build.proj


Added dump of nuget source list

Added dump of nuget source list

--- restore_packages.cmd
+++ restore_packages.cmd
@@ -1 +1,2 @@
+.\.nuget\nuget.exe source list
 .\.nuget\nuget restore -NonInteractive


remove trailing whitespaces and tabs

remove trailing whitespaces and tabs

--- .appveyor/install.bat
+++ .appveyor/install.bat
@@ -83,7 +83,7 @@
 		for %%a in (lauxlib.h lua.h lua.hpp luaconf.h lualib.h luajit.h) do (
 			copy "!lj_source_folder!\src\%%a" "%LUA_DIR%\include"
 		)
-
+
 		copy "!lj_source_folder!\src\jit\*.lua" "%LUA_DIR%\bin\lua\jit"

 	) else (
@@ -95,7 +95,7 @@
 		if not exist downloads\lua-%LUA_VER% (
 			curl --silent --fail --max-time 120 --connect-timeout 30 %LUA_URL%/lua-%LUA_VER%.tar.gz | %SEVENZIP% x -si -so -tgzip | %SEVENZIP% x -si -ttar -aoa -odownloads
 		)
-
+
 		mkdir downloads\lua-%LUA_VER%\etc 2> NUL
 		if not exist downloads\lua-%LUA_VER%\etc\winmake.bat (
 			curl --silent --location --insecure --fail --max-time 120 --connect-timeout 30 https://github.com/Tieske/luawinmake/archive/master.tar.gz | %SEVENZIP% x -si -so -tgzip | %SEVENZIP% e -si -ttar -aoa -odownloads\lua-%LUA_VER%\etc luawinmake-master\etc\winmake.bat
@@ -125,7 +125,7 @@
 	cd %APPVEYOR_BUILD_FOLDER%

 	if not exist downloads\luarocks-%LUAROCKS_VER%-win32.zip (
-		echo Downloading LuaRocks...
+		echo Downloading LuaRocks...
 		curl --silent --fail --max-time 120 --connect-timeout 30 --output downloads\luarocks-%LUAROCKS_VER%-win32.zip %LUAROCKS_URL%/luarocks-%LUAROCKS_VER%-win32.zip
 		%SEVENZIP% x -aoa -odownloads downloads\luarocks-%LUAROCKS_VER%-win32.zip
 	)


remove empty NetConnectionID

remove empty NetConnectionID

--- src/electron/add_tap_device.bat
+++ src/electron/add_tap_device.bat
@@ -39,7 +39,7 @@
 set AFTER_DEVICES=%tmp%\outlineinstaller-tap-devices-after.txt

 echo Storing current network device list...
-wmic nic get netconnectionid /format:list > %BEFORE_DEVICES%
+wmic nic where "netconnectionid like '%%'" get netconnectionid /format:list > %BEFORE_DEVICES%
 type %BEFORE_DEVICES%

 echo Creating TAP network device...
@@ -49,7 +49,7 @@
   exit /b 1
 )
 echo Storing new network device list...
-wmic nic get netconnectionid /format:list > %AFTER_DEVICES%
+wmic nic where "netconnectionid like '%%'" get netconnectionid /format:list > %AFTER_DEVICES%
 type %AFTER_DEVICES%

 :: Find the name of the new device and rename it.


Adding critical fix to windows as well.

Adding critical fix to windows as well.

--- tools/ruby_ship_build.bat
+++ tools/ruby_ship_build.bat
@@ -17,25 +17,34 @@
 mkdir %~dp0/extracted_ruby
 mkdir %~dp0/../bin/win_ruby

-:: Extracting ruby source
+:: UNZIP SOURCE
 7z x %~f1 -so | 7z x -aoa -si -ttar -o"%~dp0/extracted_ruby"

+:: GET RUBY VERSION AND DIRECTORY
 for /f %%i in ('ls %~dp0/extracted_ruby') do set RUBYDIR=%%i
 for /f %%i in ('echo %RUBYDIR% ^| cut -d'-' -f 2') do set RUBY_VERSION=%%i

-echo "Installing ruby version %RUBY_VERSION%"
+echo "############################"
+echo "Ruby Ship is Installing ruby version %RUBY_VERSION%"
+echo "############################"

 :: BUILDING RUBY
 cd "%~dp0/extracted_ruby/%RUBYDIR%"
-call %~dp0/extracted_ruby/%RUBYDIR%/win32/configure.bat --prefix=%~dp0/../bin/win_ruby
+call %~dp0/extracted_ruby/%RUBYDIR%/win32/configure.bat --enable-load-relative --prefix=%~dp0/../bin/shipyard/win_ruby
 nmake
 nmake test
 nmake install

+:: SETTING UP REFERENCE DIRECTORIES
+for /f %%i in ('ls %~dp0/../bin/shipyard/win_ruby/include') do set RUBY_INSTALL_DIR=%%i
+for /f %%i in ('echo %RUBY_INSTALL_DIR% ^| cut -d'-' -f 2') do set RUBY_VERSION_DIR=%%i
+for /f %%i in ('ls %~dp0/../bin/shipyard/win_ruby/lib/ruby/%RUBY_VERSION_DIR% | FindStr /mswin/') do set RUBY_BINARY_VERSION_DIR=%%i
+:: SETTING UP COMMON WRAPPER COMPONENTS
+
 :: MAKING THE SCRIPT:
-for /f %%i in ('ls %~dp0/../bin/win_ruby/include') do set RUBY_INSTALL_DIR=%%i
+
 echo %RUBY_INSTALL_DIR%
-for /f %%i in ('echo %RUBY_INSTALL_DIR% ^| cut -d'-' -f 2') do set RUBY_VERSION_DIR=%%i
+

 echo @echo off > %~dp0/../bin/win_ruby.bat
 echo %%~dp0\win_ruby\bin\ruby.exe %%* >> %~dp0/../bin/win_ruby.bat


Check in the directories that I need to use.

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

--- Scripts/SetDirectories.bat
+++ Scripts/SetDirectories.bat
@@ -0,0 +1,7 @@
+::THIS FILE IS BEING UNTRACKED FROM GIT with the command: git update-index --skip-worktree <file>
+::To resume the tracking of changes to this file use the command: git update-index --no-skip-worktree <file>
+
+::Set the path below as you need and then run this bat to copy the files and make them debuggeable
+SET KSPPATH=C:\work\builds\Kerbal Space Program
+::Set another path in case you run two KSP instances otherwise leave empty
+SET KSPPATH2=C:\work\builds\Kerbal Space Program2


Automatically copy hosts to the right place.

The bat before just open hosts in notepad with administrator privilege
so the user have to copy the content by themselves.

--- hosts_tools/scripts/script_tool_for_windows.bat
+++ hosts_tools/scripts/script_tool_for_windows.bat
@@ -14,5 +14,17 @@
 pushd "%CD%"
 CD /D "%~dp0"
 REM ________________________________________________________________
-start %SystemRoot%\notepad.exe "%SystemRoot%\System32\drivers\etc\hosts"
-exit+::start %SystemRoot%\notepad.exe "%SystemRoot%\System32\drivers\etc\hosts"
+echo -----------------------------------------------------------
+echo https://github.com/racaljk/hosts
+echo -----------------------------------------------------------
+:: flush DNS before copy or after copy???
+:: I think it's same.
+ipconfig /flushdns
+echo -----------------------------------------------------------
+echo Begin to copy hosts ...
+copy "%~dp0..\..\hosts" "%SystemRoot%\System32\drivers\etc\hosts"
+:: pause for user to see what's going on
+:: in case of someone see a black window flash away
+:: and report it to Github issues.
+pause


add windows script for easier dfu for hid btldr

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

--- bin/dfu/hid_dfu_windows.bat
+++ bin/dfu/hid_dfu_windows.bat
@@ -0,0 +1,2 @@
+@echo off
+hid_bootloader_loader.exe atmega32u4 ..\compiled\board\opendeck\v1.2.1\fw_opendeck.hex


Javaのバージョンの追加

Javaのバージョンの追加

--- make_package.bat
+++ make_package.bat
@@ -2,6 +2,10 @@

 %~d0
 cd %~p0
+
+if NOT "%JAVA_HOME_7%" == "" (
+    set JAVA_HOME="%JAVA_HOME_7%"
+)

 call mvn clean
 call mvn compile -Dmaven.test.skip=true


Fix pnacl's windows tc builder script invocation.
Review URL: https://chromiumcodereview.appspot.com/10443126

git-svn-id: 721b910a23eff8a86f00c8fd261a7587cddf18f8@8779 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2

--- buildbot/buildbot_pnacl.bat
+++ buildbot/buildbot_pnacl.bat
@@ -1,9 +1,9 @@
-:: Copyright (c) 2011 The Native Client Authors. All rights reserved.
+:: Copyright (c) 2012 The Native Client Authors. All rights reserved.
 :: Use of this source code is governed by a BSD-style license that can be
 :: found in the LICENSE file.

 setlocal
 set "PATH=c:\cygwin\bin;%PATH%"
-bash -c "buildbot/buildbot_toolchain_arm_untrusted.sh %*"
+bash -c "buildbot/buildbot_pnacl.sh %*"
 if %ERRORLEVEL% neq 0 exit /b %ERRORLEVEL%
 endlocal


BAT for attack fixed

BAT for attack fixed


removed echo

removed echo

--- nuget/buildall.bat
+++ nuget/buildall.bat
@@ -1,2 +1 @@
-echo "building Angle projects and nuget packages..."
 powershell.exe -ExecutionPolicy Bypass -Command ".\buildall.ps1"


Delete login.bat

Delete login.bat

not needed for this project

--- startups/login.bat
+++ startups/login.bat
@@ -1,5 +0,0 @@
-@echo off
-For /f "tokens=2-4 delims=/ " %%a in ('date /t') do (set mydate=%%c-%%a-%%b)
-For /f "tokens=1-2 delims=/:" %%a in ('time /t') do (set mytime=%%a%%b)
-
-cscript /nologo %~dp0/wget.js "http://10.24.25.130:8000/log_this?username="+%USERNAME%+"&compname="+%computername%+"&stat=on&time="+%mydate%_%mytime%


Change environment variables in stop.bat file.

--- stop_torq_demo.bat
+++ stop_torq_demo.bat
@@ -1,11 +1,17 @@
 REM see README.txt
 REM SET UP ENVIRONMENT VARIABLES

-set KDBCODE=%cd%\code
-set KDBCONFIG=%cd%\config
-set KDBLOG=%cd%\logs
-set KDBHTML=%cd%\html
-set KDBLIB=%cd%\lib
+set TORQHOME=%cd%
+set KDBCODE=%TORQHOME%\code
+set KDBCONFIG=%TORQHOME%\config
+set KDBLOG=%TORQHOME%\logs
+set KDBHTML=%TORQHOME%\html
+set KDBLIB=%TORQHOME%\lib
+set KDBBASEPORT=6000
+set KDBHDB=%TORQHOME%/hdb/database
+
+REM App specific configuration directory
+set KDBAPPCONFIG=%TORQHOME%\appconfig

 set KDBBASEPORT=6000


Fixed the last change for junction.exe support.

--- src/configure.win32.bat
+++ src/configure.win32.bat
@@ -1,7 +1,7 @@
 @echo off
 :#*****************************************************************************
 :#                                                                            *
-:#  Filename        configure.msc.bat                                         *
+:#  Filename        configure.msvc.bat                                        *
 :#                                                                            *
 :#  Description     Define ag MSVC-specific configuration settings            *
 :#                                                                            *
@@ -18,6 +18,7 @@
 :# Store output files one level up
 :# set "OUTDIR=..\bin"
 :# We use a junction instead of a symlinkd, because Windows allows creating junctions by default, but not symlinkds.
+if not defined OUTDIR set "OUTDIR=bin"
 set "JUNCTION=mklink /j" &:# Default command installed on all Vista and later systems
 where junction >NUL 2>NUL && set "JUNCTION=junction" &:# Better command that also works on network drives
 set "MD_OUTDIR=%JUNCTION% %OUTDIR% ..\%OUTDIR% >NUL"


Fixed ci init

Fixed ci init

--- init_ci.cmd
+++ init_ci.cmd
@@ -17,10 +17,7 @@
 exit /B 1
 )

-rem echo Installing VS integration
-rem copy _vs\*.* "c:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations"
-
-rem cd ..
+cd ..

 echo Downloading cuDNN
 appveyor DownloadFile https://www.dropbox.com/s/984rz70pnjnclk2/cudnn7.zip?dl=1