same group difference cluster name

same group difference cluster name

--- KafkaSparkBILab/createlab/azurecreategroup.bat
+++ KafkaSparkBILab/createlab/azurecreategroup.bat
@@ -1,8 +1,9 @@
 echo off

 set location=%1
-set group=%2
+set clusterName=%2
+set group="ill301rg"

 echo on

-az group create -l %location% -n %group% && az group deployment create --resource-group %group% --template-file azuredeploy.json --parameters @azuredeploy.parameters.json+az group create -l %location% -n %group% && az group deployment create --resource-group %group% --template-file azuredeploy.json --parameters clusterName=%clusterName%


- Added new command: 'context'

- Added new command: 'context'

--HG--
extra : convert_revision : svn%3A39a105f4-52d6-0310-bb1b-d6517044f2e4/trunk%40967

--- server/shellCommands/eval.cmd
+++ server/shellCommands/eval.cmd
@@ -1,8 +1,8 @@
 # -*- default-generic -*-
 #
 # The eval MUES::CommandShell command.
-# Time-stamp: <22-Oct-2002 22:01:00 deveiant>
-# $Id: eval.cmd,v 1.1 2002/10/23 05:00:28 deveiant Exp $
+# Time-stamp: <27-Oct-2002 17:33:11 deveiant>
+# $Id: eval.cmd,v 1.2 2002/10/29 07:37:41 deveiant Exp $
 #
 # == Authors:
 # * Michael Granger <ged@FaerieMUD.org>
@@ -31,4 +31,47 @@

+### 'Context' command
+= context

+== Restriction
+admin
+
+== Abstract
+Set the object target of the /eval command to the object specified by the given id.
+
+== Description
+
+This command either displays the inspected form of the shell's context eval
+target, if no id is specified, or looks up an object by Ruby id and sets the
+shell context's target object to the resultant object if an id is given.
+
+== Usage
+  context [<id>]
+
+== Code
+
+  	msg = ''
+
+	# If there weren't any arguments, just show the current context object
+	if argString.empty?
+		msg = "Current context object is:\n\n%s\n\n" %
+			MUES::UtilityFunctions::trimString( context.evalContext.inspect, 60 )
+
+	elsif argString =~ /^(\d+)$/
+		id = $1.to_i
+
+		obj = MUES::UtilityFunctions::getObjectByRubyId( id )
+		context.evalContext = obj
+
+		msg = "Set context object to:\n\n%s\n\n" %
+			MUES::UtilityFunctions::trimString( obj.inspect, 60 )
+
+	else
+		raise MUES::CommandError, self.usage
+	end
+
+	return [MUES::OutputEvent::new(msg)]
+
+
+


* missed changes

* missed changes

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

--- Scripts/Tools/encoding/prepend_bom_to_utf_file.bat
+++ Scripts/Tools/encoding/prepend_bom_to_utf_file.bat
@@ -71,7 +71,7 @@
 set "BOM_FILE_PATH=%CONTOOLS_ROOT%/encoding/boms/%BOM_FILE_TOKEN%.bin"

 if not exist "%BOM_FILE_PATH%" (
-  echo.%~nx0%: error: BOM_FILE_TOKEN token file does not exist: "%BOM_FILE_TOKEN%".
+  echo.%~nx0%: error: BOM_FILE_TOKEN token file does not exist: "%BOM_FILE_PATH%".
   exit /b 2
 ) >&2

@@ -112,8 +112,6 @@

 rem trim BOM sequence by file size
 if defined INPUT_FILE_BOM_STR call set "INPUT_FILE_BOM_STR=%%INPUT_FILE_BOM_STR:~0,%BOM_FILE_SIZE%%%"
-
-echo "INPUT_FILE_BOM_STR=%INPUT_FILE_BOM_STR%"

 if not defined INPUT_FILE_BOM_STR goto IGNORE_BOM_CHECK


CMD実行後自動で閉じる機能を追加

CMD実行後自動で閉じる機能を追加

--- lib/copy.cmd
+++ lib/copy.cmd
@@ -11,3 +11,4 @@
 net use %saveDirectry% /delete /y

 echo pause
+exit


fixed when spaces in windows pathname

fixed when spaces in windows pathname

--- liverepl.bat
+++ liverepl.bat
@@ -5,4 +5,4 @@
 set LIVEREPL_HOME=%~dp0
 set CLOJURE_JAR=%LIVEREPL_HOME%\clojure.jar

-%JDK_HOME%\bin\java -cp %LIVEREPL_HOME%\liverepl-agent.jar;%JDK_HOME%\lib\tools.jar net.djpowell.liverepl.client.Main "%CLOJURE_JAR%" "%LIVEREPL_HOME%\liverepl-agent.jar" "%LIVEREPL_HOME%\liverepl-server.jar" %1
+"%JDK_HOME%\bin\java" -cp "%LIVEREPL_HOME%\liverepl-agent.jar";"%JDK_HOME%\lib\tools.jar" net.djpowell.liverepl.client.Main "%CLOJURE_JAR%" "%LIVEREPL_HOME%\liverepl-agent.jar" "%LIVEREPL_HOME%\liverepl-server.jar" %1


Use a specific version (commit) for kudu-script

--- Kudu.Services.Web/updateNodeModules.cmd
+++ Kudu.Services.Web/updateNodeModules.cmd
@@ -10,7 +10,7 @@
 set /a counter+=1
 echo Attempt %counter% out of %attempts%

-cmd /c npm install http://github.com/projectkudu/KuduScript/tarball/master
+cmd /c npm install http://github.com/projectkudu/KuduScript/tarball/99816ade95addbfa6cfae7d74b7b616e2eebf772
 IF %ERRORLEVEL% NEQ 0 goto error

 goto end


Don't assume MKS toolkit.

Don't assume MKS toolkit.

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

--- makedist.bat
+++ makedist.bat
@@ -0,0 +1,7 @@
+xcopy /y xmltok\Release\xmltok.lib lib
+xcopy /y xmlparse\Release\xmlparse.lib lib
+rm -f expat.zip
+cd ..
+sed -e 's;^^;expat/;' expat\files.txt | zip -qr expat\expat.zip -@ -ll
+sed -e 's;^^;expat/;' expat\win32files.txt | zip -qr expat\expat.zip -@
+cd expat


a bat script to automate the generating of windows installer

Former-commit-id: 48c0056b66481b49156eefa93b6b257407040f92

--- dist/nsis/make_nsis_installer.win.bat
+++ dist/nsis/make_nsis_installer.win.bat
@@ -1,10 +1,20 @@
 @echo off

-cd ..\..\interfaces\desktop
-python setup.py py2exe
+
+set VERSION="0.4.3"
+set PYTHON="C:\Python26\python.exe"
+set MAKENSIS="H:\developement\nsis\makensis.exe"
+
+cd ..\..\interfaces\desktop
+rem %PYTHON% setup.py py2exe

 cd ..\..\
-rem makensis nsis_installer...
+%MAKENSIS% make_installer.nsi

-move alfanousInstaller.exe output\
-rmdir /s /q interfaces\desktop\dist +mkdir output
+mkdir output\%VERSION%
+move alfanousInstaller.exe output\%VERSION%\alfanousInstallerV%VERSION%.exe
+rmdir /s /q interfaces\desktop\dist
+
+echo "end."
+pause


Fixed .bat file to correctly set environment variable without double quotes

--- phpcpd.bat
+++ phpcpd.bat
@@ -34,5 +34,5 @@
 REM POSSIBILITY OF SUCH DAMAGE.
 REM

-set PHPBIN="@php_bin@"
+set PHPBIN=@php_bin@
 "@php_bin@" "@bin_dir@\phpcpd" %*


Fix updateversion.cmd bug

Fix updateversion.cmd bug

--- UpdateVersion.cmd
+++ UpdateVersion.cmd
@@ -40,6 +40,7 @@
 :GetGitVersion
 IF '%BRANCH%'=='master' (
     ECHO For master branch, use release version
+    SET VERSION=!MainVersion!.0
     FOR /F "tokens=4 delims=.-" %%i in ('git describe') DO (
         SET VERSION=!MainVersion!.%%i
         ECHO CURRENT VERSION: !VERSION!
@@ -47,6 +48,7 @@

 ) ELSE (
     ECHO For branch other than master, use alpha version
+    SET VERSION=!MainVersion!.0-alpha
     FOR /F "tokens=4,5 delims=.-" %%i in ('git describe') DO (
         SET VERSION=!MainVersion!.%%i-alpha-%%j
         ECHO CURRENT VERSION:!VERSION!


Update build247.bat

Update build247.bat

--- Rscript/R/mzkit/build247.bat
+++ Rscript/R/mzkit/build247.bat
@@ -1 +1,3 @@
 "C:\Program Files\R\R-3.4.4\bin\x64\Rcmd.exe" build ../mzkit
+
+pause


Create appveyor.bat

Create appveyor.bat

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

--- appveyor.bat
+++ appveyor.bat
@@ -0,0 +1,9 @@
+cd c:\tools\php
+copy php.ini-production php.ini /Y
+echo date.timezone="UTC" >> php.ini
+echo extension_dir=ext >> php.ini
+echo extension=php_openssl.dll >> php.ini
+echo extension=php_mbstring.dll >> php.ini
+echo extension=php_fileinfo.dll >> php.ini
+echo @php %%~dp0composer.phar %%* > composer.bat
+appveyor-retry appveyor DownloadFile https://getcomposer.org/composer.phar


增加一键合并文件bat

增加一键合并文件bat

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

--- src/build.bat
+++ src/build.bat
@@ -0,0 +1 @@
+node build_node.js


Added ex6 and ex7 directories to the compilation list.

--- src/build.bat
+++ src/build.bat
@@ -9,3 +9,5 @@
 javac examples\ex3\*.java
 javac examples\ex4\*.java
 javac examples\ex5\*.java
+javac examples\ex6\*.java
+javac examples\ex7\*.java


using phpunit command in order to get the arguments for coverage properly executed

--- autotest.cmd
+++ autotest.cmd
@@ -119,7 +119,7 @@
 	md coverage-html-%~1
 	php -f enable_all.php

-	php win32-phpunit.php --bootstrap bootstrap.php --configuration phpunit-autotest.xml --log-junit autotest-results-%~1.xml --coverage-clover autotest-clover-%~1.xml --coverage-html coverage-html-%~1
+	phpunit --bootstrap bootstrap.php --configuration phpunit-autotest.xml --log-junit autotest-results-%~1.xml --coverage-clover autotest-clover-%~1.xml --coverage-html coverage-html-%~1
 	echo "Done with testing %~1 ..."
 	cd %BASEDIR%
 goto:eof


Deleting old finalize script.

Deleting old finalize script.

--- JenkinsConsoleUtility/JenkinsScripts/gitFinalize2.bat
+++ JenkinsConsoleUtility/JenkinsScripts/gitFinalize2.bat
@@ -1,15 +0,0 @@
-echo on
-setlocal
-
-IF "%PublishToGit%"=="true" (
-    echo === Commit to Git ===
-    pushd "%WORKSPACE%/sdks/%SdkName%"
-    git fetch --progress origin
-    git add -A
-    git commit -m "%commitMessage%"
-    git push origin %gitTarget% -f -u
-    popd
-)
-
-endlocal
-pause


windows compatible batch file shim

windows compatible batch file shim

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

--- bin/stem.bat
+++ bin/stem.bat
@@ -0,0 +1,4 @@
+@echo off
+set PYFILE=%~f0
+set PYFILE=%PYFILE:~0,-4%
+"python.exe" "%PYFILE%" %*


build: fix 64-bit build on Windows

build: fix 64-bit build on Windows

--- deps/c-ares/vcbuild.bat
+++ deps/c-ares/vcbuild.bat
@@ -22,7 +22,9 @@
 goto next-arg
 :args-done

-:vc-set-2008
+if defined WindowsSDKDir goto select-target
+if defined VCINSTALLDIR goto select-target
+
 @rem Look for Visual Studio 2008
 if not defined VS90COMNTOOLS goto vc-set-notfound
 if not exist "%VS90COMNTOOLS%\..\..\vc\vcvarsall.bat" goto vc-set-notfound


Fix quotation for aliases variable

Fix quotation for aliases variable

--- bin/alias.bat
+++ bin/alias.bat
@@ -1,6 +1,6 @@
 @echo off

-set ALIASES="%CMDER_ROOT%\config\aliases"
+set ALIASES=%CMDER_ROOT%\config\aliases

 if ["%*"] == [""] echo Use /? for help & echo. & goto :p_show
 if ["%1"] == ["/?"] goto:p_help
@@ -21,25 +21,25 @@
 )

 :: replace already defined alias
-findstr /b /v /i "%_temp%=" %ALIASES% >> %ALIASES%.tmp
-echo %* >> %ALIASES%.tmp && type %ALIASES%.tmp > %ALIASES% & @del /f /q %ALIASES%.tmp
-doskey /macrofile=%ALIASES%
+findstr /b /v /i "%_temp%=" "%ALIASES%" >> "%ALIASES%.tmp"
+echo %* >> "%ALIASES%.tmp" && type "%ALIASES%.tmp" > "%ALIASES%" & @del /f /q "%ALIASES%.tmp"
+doskey /macrofile="%ALIASES%"
 endlocal
 goto:eof

 :p_del
-findstr /b /v /i "%2=" %ALIASES% >> %ALIASES%.tmp
-type %ALIASES%.tmp > %ALIASES% & @del /f /q %ALIASES%.tmp
+findstr /b /v /i "%2=" "%ALIASES%" >> "%ALIASES%.tmp"
+type "%ALIASES%".tmp > "%ALIASES%" & @del /f /q "%ALIASES%.tmp"
 doskey /macrofile=%ALIASES%
 goto:eof

 :p_reload
-doskey /macrofile=%ALIASES%
+doskey /macrofile="%ALIASES%"
 echo Aliases reloaded
 goto:eof

 :p_show
-type %ALIASES% || echo No aliases found at %ALIASES%
+type "%ALIASES%" || echo No aliases found at "%ALIASES%"
 goto :eof

 :p_help


Create bootmenu.bat

Create bootmenu.bat

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

--- bootmenu.bat
+++ bootmenu.bat
@@ -0,0 +1,40 @@
+@echo off
+title bootmenu
+
+:main
+cls
+echo ----------------
+echo .   Options    .
+echo ----------------
+echo ----------------
+echo .    Boot      .
+echo ----------------
+echo ----------------
+echo .  Change OS   .
+echo ----------------
+echo ----------------
+echo . Power Options.
+echo ----------------
+set /p input=Up or Down
+
+if %input% == 1 goto options
+if %input% == 2 goto boot
+if %input% == 3 goto changeos
+if %input% == 4 goto poweroptions
+goto main
+
+:options
+cls
+echo ---------------------
+echo   Version 1.0-Alpha
+echo ---------------------
+pause
+goto main
+
+:boot
+cls
+echo -----------------------
+echo OS-G-OS
+echo No CURRENT APLICATIONS
+echo -----------------------
+


Fix Windows build

Fix Windows build

--- build/ci.bat
+++ build/ci.bat
@@ -29,12 +29,6 @@
 if %errorlevel% neq 0 exit /b %errorlevel%
 popd

-echo Issue 116
-pushd tests\integration_tests\issue116
-dub run --build=unittest
-if %errorlevel% neq 0 exit /b %errorlevel%
-popd
-
 echo runTestsMain
 pushd tests\integration_tests\runTestsMain
 dub run --build=unittest


build batch for release

build batch for release

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

--- SimpleMusicPlayer/Build.cmd
+++ SimpleMusicPlayer/Build.cmd
@@ -0,0 +1,5 @@
+@echo on
+call "%VS100COMNTOOLS%vsvars32.bat"
+
+msbuild.exe /ToolsVersion:4.0 "SimpleMusicPlayer.sln" /p:StrongName=True /p:configuration=Release /p:platform=x86
+msbuild.exe /ToolsVersion:4.0 "SimpleMusicPlayer.sln" /p:StrongName=True /p:configuration=Release /p:platform="Any CPU"


Update VBoxGuestAdditions 5.1.20

Update VBoxGuestAdditions 5.1.20

--- scripts/vm-guest-tools.bat
+++ scripts/vm-guest-tools.bat
@@ -40,7 +40,7 @@
 )

 if not exist "C:\Windows\Temp\VBoxGuestAdditions.iso" (
-    powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://download.virtualbox.org/virtualbox/5.1.12/VBoxGuestAdditions_5.1.12.iso', 'C:\Windows\Temp\VBoxGuestAdditions.iso')" <NUL
+    powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://download.virtualbox.org/virtualbox/5.1.20/VBoxGuestAdditions_5.1.20.iso', 'C:\Windows\Temp\VBoxGuestAdditions.iso')" <NUL
 )

 cmd /c ""C:\Program Files\7-Zip\7z.exe" x C:\Windows\Temp\VBoxGuestAdditions.iso -oC:\Windows\Temp\virtualbox"


UNCパスへのコピー機能からまずコピー先の削除する機能を削除

UNCパスへのコピー機能からまずコピー先の削除する機能を削除

--- lib/copy.cmd
+++ lib/copy.cmd
@@ -1,8 +1,8 @@
 SET saveDirectry=%*
 net use %saveDirectry%

-del /q /s %saveDirectry%
-for /d %%1 in (%saveDirectry%\*) do rd /s /q "%%1" && mkdir %saveDirectry%
+REM del /q /s %saveDirectry%
+REM for /d %%1 in (%saveDirectry%\*) do rd /s /q "%%1" && mkdir %saveDirectry%

 xcopy /e /I /D /Y %~d0 %saveDirectry%


Add apikey option to Windows start script. Uses envvar RPC_API_KEY as value. For consistency with Linux start script.

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

-.\bin\decentraland-node --fast --port=2301 --prefix="data" --httpport=8301 --n=testnet --contentport=9301 --startminer+.\bin\decentraland-node --fast --port=2301 --prefix="data" --httpport=8301 --n=testnet --apikey=%RPC_API_KEY% --contentport=9301 --startminer


STORM-308 Add support for config_value to {supervisor,nimbus,ui,drpc,logviewer} childopts

--- bin/storm.cmd
+++ bin/storm.cmd
@@ -105,13 +105,13 @@

 :drpc
   set CLASS=backtype.storm.daemon.drpc
-  set STORM_OPTS=%STORM_SERVER_OPTS% %STORM_OPTS%
   %JAVA% -client -Dstorm.options= -Dstorm.conf.file= -cp %CLASSPATH% backtype.storm.command.config_value drpc.childopts > temp.txt
   FOR /F "tokens=1,* delims= " %%i in (temp.txt) do (
      if %%i == VALUE: (
- 	set JAVA_HEAP_MAX=%%j )
+ 	set DRPC_CHILDOPTS=%%j )
    )
   del /F temp.txt
+  set STORM_OPTS=%STORM_SERVER_OPTS% %STORM_OPTS% %DRPC_CHILDOPTS%
   goto :eof

 :help
@@ -130,24 +130,24 @@

 :logviewer
   set CLASS=backtype.storm.daemon.logviewer
-  set STORM_OPTS=%STORM_SERVER_OPTS% %STORM_OPTS%
    %JAVA% -client -Dstorm.options= -Dstorm.conf.file= -cp %CLASSPATH% backtype.storm.command.config_value logviewer.childopts > temp.txt
   FOR /F "tokens=1,* delims= " %%i in (temp.txt) do (
  	if %%i == VALUE: (
- 	set JAVA_HEAP_MAX=%%j )
-  )
-  del /F temp.txt
+ 	set LOGVIEWER_CHILDOPTS=%%j )
+  )
+  del /F temp.txt
+  set STORM_OPTS=%STORM_SERVER_OPTS% %STORM_OPTS% %LOGVIEWER_CHILDOPTS%
   goto :eof

 :nimbus
   set CLASS=backtype.storm.daemon.nimbus
-  set STORM_OPTS=%STORM_SERVER_OPTS% %STORM_OPTS%
   %JAVA% -client -Dstorm.options= -Dstorm.conf.file= -cp %CLASSPATH% backtype.storm.command.config_value nimbus.childopts > temp.txt
     FOR /F "tokens=1,* delims= " %%i in (temp.txt) do (
  	if %%i == VALUE: (
- 	set JAVA_HEAP_MAX=%%j )
-  )
-  del /F temp.txt
+ 	set NIMBUS_CHILDOPTS=%%j )
+  )
+  del /F temp.txt
+  set STORM_OPTS=%STORM_SERVER_OPTS% %STORM_OPTS% %NIMBUS_CHILDOPTS%
   goto :eof

 :rebalance
@@ -167,26 +167,25 @@

 :supervisor
   set CLASS=backtype.storm.daemon.supervisor
-  set STORM_OPTS=%STORM_SERVER_OPTS% %STORM_OPTS%
   %JAVA% -client -Dstorm.options= -Dstorm.conf.file= -cp %CLASSPATH% backtype.storm.command.config_value supervisor.childopts > temp.txt
   FOR /F "tokens=1,* delims= " %%i in (temp.txt) do (
  	if %%i == VALUE: (
- 	set JAVA_HEAP_MAX=%%j )
-  )
-  del /F temp.txt
-
+ 	set SUPERVISOR_CHILDOPTS=%%j )
+  )
+  del /F temp.txt
+  set STORM_OPTS=%STORM_SERVER_OPTS% %STORM_OPTS% %SUPERVISOR_CHILDOPTS%
   goto :eof

 :ui
   set CLASS=backtype.storm.ui.core
   set CLASSPATH=%CLASSPATH%;%STORM_HOME%
-  set STORM_OPTS=%STORM_SERVER_OPTS% %STORM_OPTS%
   %JAVA% -client -Dstorm.options= -Dstorm.conf.file= -cp %CLASSPATH% backtype.storm.command.config_value ui.childopts > temp.txt
   FOR /F "tokens=1,* delims= " %%i in (temp.txt) do (
  	if %%i == VALUE: (
- 	set JAVA_HEAP_MAX=%%j )
-  )
-  del /F temp.txt
+ 	set UI_CHILDOPTS=%%j )
+  )
+  del /F temp.txt
+  set STORM_OPTS=%STORM_SERVER_OPTS% %STORM_OPTS% %UI_CHILDOPTS%
   goto :eof

 :version


zkEnv.cmd: Set svn:eol-style property to 'native'.

git-svn-id: d7c778eb01848c8314be709a01eafe85ba01f120@1586200 13f79535-47bb-0310-9956-ffa450edef68

--- bin/zkEnv.cmd
+++ bin/zkEnv.cmd
@@ -1,47 +1,48 @@
-@echo off
-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.
-
-set ZOOCFGDIR=%~dp0%..\conf
-set ZOO_LOG_DIR=%~dp0%..
-set ZOO_LOG4J_PROP=INFO,CONSOLE
-
-REM for sanity sake assume Java 1.6
-REM see: http://java.sun.com/javase/6/docs/technotes/tools/windows/java.html
-
-REM add the zoocfg dir to classpath
-set CLASSPATH=%ZOOCFGDIR%
-
-REM make it work in the release
-SET CLASSPATH=%~dp0..\*;%~dp0..\lib\*;%CLASSPATH%
-
-REM make it work for developers
-SET CLASSPATH=%~dp0..\build\classes;%~dp0..\build\lib\*;%CLASSPATH%
-
-set ZOOCFG=%ZOOCFGDIR%\zoo.cfg
-
-@REM setup java environment variables
-
-if not defined JAVA_HOME (
-  echo Error: JAVA_HOME is not set.
-  goto :eof
-)
-
-if not exist %JAVA_HOME%\bin\java.exe (
-  echo Error: JAVA_HOME is incorrectly set.
-  goto :eof
-)
-
-set JAVA=%JAVA_HOME%\bin\java
+@echo off
+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.
+
+set ZOOCFGDIR=%~dp0%..\conf
+set ZOO_LOG_DIR=%~dp0%..
+set ZOO_LOG4J_PROP=INFO,CONSOLE
+
+REM for sanity sake assume Java 1.6
+REM see: http://java.sun.com/javase/6/docs/technotes/tools/windows/java.html
+
+REM add the zoocfg dir to classpath
+set CLASSPATH=%ZOOCFGDIR%
+
+REM make it work in the release
+SET CLASSPATH=%~dp0..\*;%~dp0..\lib\*;%CLASSPATH%
+
+REM make it work for developers
+SET CLASSPATH=%~dp0..\build\classes;%~dp0..\build\lib\*;%CLASSPATH%
+
+set ZOOCFG=%ZOOCFGDIR%\zoo.cfg
+
+@REM setup java environment variables
+
+if not defined JAVA_HOME (
+  echo Error: JAVA_HOME is not set.
+  goto :eof
+)
+
+if not exist %JAVA_HOME%\bin\java.exe (
+  echo Error: JAVA_HOME is incorrectly set.
+  goto :eof
+)
+
+set JAVA=%JAVA_HOME%\bin\java
+


Remove unnecessary bootstrap vimrc commands.

--- bootstrap.bat
+++ bootstrap.bat
@@ -6,9 +6,6 @@

 if exist %USERPROFILE%\_vimrc goto GVIMRC
 echo set rtp+=%CD%\dotfiles\vim> %USERPROFILE%\_vimrc
-echo set rtp+=%CD%\.vim>> %USERPROFILE%\_vimrc
-
-REM echo let ^&runtimepath = printf('%%s,%%s', '%CD%\.vim\vimfiles', ^&runtimepath) >> %USERPROFILE%\_vimrc
 echo source %CD%\dotfiles\vim\vimrc >> %USERPROFILE%\_vimrc

 :GVIMRC


Update run.bat

Update run.bat

--- Benchmarks/run.bat
+++ Benchmarks/run.bat
@@ -9,7 +9,7 @@
 ..\..\Builds\v4.0-x64\%Name% %* -of=v4.0-x64.txt
 ..\..\Builds\v4.5-x64\%Name% %* -of=v4.5-x64.txt

-echo Total Results > total.txt
+echo Total Results for '%*' > total.txt
 echo. >> total.txt

 echo v3.5-x86 >> total.txt


Fix a lein.bat bug when run from the root folder.

When running lein commands from the root folder on windows (such as "C:\"),
special care needs to be taken to escape the final backslash.

--- bin/lein.bat
+++ bin/lein.bat
@@ -14,6 +14,10 @@
 if "x%LEIN_HOME%" == "x" set LEIN_HOME=%USERPROFILE%\.lein

 set ORIGINAL_PWD=%CD%
+rem If ORIGINAL_PWD ends with a backslash (such as C:\),
+rem we need to escape it with a second backslash.
+if "%ORIGINAL_PWD:~-1%x" == "\x" set "ORIGINAL_PWD=%ORIGINAL_PWD%\"
+
 call :FIND_DIR_CONTAINING_UPWARDS project.clj
 if "%DIR_CONTAINING%" neq "" cd "%DIR_CONTAINING%"


add sjis.bat

add sjis.bat

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


DEVOPS-6806 Change destination folder for publishing

--- build/publish.cmd
+++ build/publish.cmd
@@ -1,15 +1,15 @@
 ECHO ### this file is a sample taken from mongo-c-driver-legacy-build. must be adapted to new driver ####

-robocopy ..\bin\Win32\Debug\ %1\user\mongoc-dll\ mongo-client*.dll /ZB /X /TEE
+robocopy ..\bin\Win32\Debug\ %1\ci-support\mongoc-dll\ mongo-client*.dll /ZB /X /TEE
 IF ERRORLEVEL 4 exit /B 1

-robocopy ..\bin\Win32\Release\ %1\user\mongoc-dll\ mongo-client*.dll /ZB /X /TEE
+robocopy ..\bin\Win32\Release\ %1\ci-support\mongoc-dll\ mongo-client*.dll /ZB /X /TEE
 IF ERRORLEVEL 4 exit /B 1

-robocopy ..\bin\x64\Debug\ %1\user\mongoc-dll\ mongo-client*.dll /ZB /X /TEE
+robocopy ..\bin\x64\Debug\ %1\ci-support\mongoc-dll\ mongo-client*.dll /ZB /X /TEE
 IF ERRORLEVEL 4 exit /B 1

-robocopy ..\bin\x64\Release\ %1\user\mongoc-dll\ mongo-client*.dll /ZB /X /TEE
+robocopy ..\bin\x64\Release\ %1\ci-support\mongoc-dll\ mongo-client*.dll /ZB /X /TEE
 IF ERRORLEVEL 4 exit /B 1

 EXIT /B 0


Delete NadekoInstaller.bat

Delete NadekoInstaller.bat

--- scripts/NadekoInstaller.bat
+++ scripts/NadekoInstaller.bat
@@ -1,110 +0,0 @@
-@ECHO off
-TITLE Downloading NadekoBot, please wait
-::Setting convenient to read variables which don't delete the windows temp folder
-SET root=%~dp0
-CD /D %root%
-SET rootdir=%cd%
-SET build1=%root%NadekoInstall_Temp\NadekoBot\discord.net\src\Discord.Net\
-SET build2=%root%NadekoInstall_Temp\NadekoBot\discord.net\src\Discord.Net.Commands\
-SET build3=%root%NadekoInstall_Temp\NadekoBot\src\NadekoBot\
-SET installtemp=%root%NadekoInstall_Temp\
-::Deleting traces of last setup for the sake of clean folders, if by some miracle it still exists
-IF EXIST %installtemp% ( RMDIR %installtemp% /S /Q >nul 2>&1)
-::Checks that both git and dotnet are installed
-dotnet --version >nul 2>&1 || GOTO :dotnet
-git --version >nul 2>&1 || GOTO :git
-::Creates the install directory to work in and get the current directory because spaces ruins everything otherwise
-:start
-MKDIR NadekoInstall_Temp
-CD /D %installtemp%
-::Downloads the latest version of Nadeko
-ECHO Downloading Nadeko...
-ECHO.
-git clone -b 1.0 --recursive --depth 1 --progress https://github.com/Kwoth/NadekoBot.git >nul
-IF %ERRORLEVEL% EQU 128 (GOTO :giterror)
-TITLE Installing NadekoBot, please wait
-ECHO.
-ECHO Installing...
-::Building Nadeko
-CD /D %build1%
-dotnet restore >nul 2>&1
-CD /D %build2%
-dotnet restore >nul 2>&1
-CD /D %build3%
-dotnet restore >nul 2>&1
-dotnet build --configuration Release >nul 2>&1
-::Attempts to backup old files if they currently exist in the same folder as the batch file
-IF EXIST "%root%NadekoBot\" (GOTO :backupinstall)
-:freshinstall
-	::Moves the NadekoBot folder to keep things tidy
-	ROBOCOPY "%root%NadekoInstall_Temp" "%rootdir%" /E /MOVE >nul 2>&1
-	IF %ERRORLEVEL% GEQ 8 (GOTO :copyerror)
-	GOTO :end
-:backupinstall
-	TITLE Backing up old files
-	ECHO.
-	ECHO Make sure to close any files such as NadekoBot.db before PRESSing ANY KEY TO CONTINUE to prevent data loss
-	PAUSE >nul 2>&1
-	::Recursively copies all files and folders from NadekoBot to NadekoBot_Old
-	ROBOCOPY "%root%NadekoBot" "%root%NadekoBot_Old" /MIR >nul 2>&1
-	IF %ERRORLEVEL% GEQ 8 (GOTO :copyerror)
-	ECHO.
-	ECHO Old files backed up to NadekoBot_Old
-	::Copies the credentials and database from the backed up data to the new folder
-	COPY "%root%NadekoBot_Old\src\NadekoBot\credentials.json" "%installtemp%NadekoBot\src\NadekoBot\credentials.json" >nul 2>&1
-	IF %ERRORLEVEL% GEQ 8 (GOTO :copyerror)
-	ECHO.
-	ECHO credentials.json copied to new folder
-	ROBOCOPY "%root%NadekoBot_Old\src\NadekoBot\bin" "%installtemp%NadekoBot\src\NadekoBot\bin" /E >nul 2>&1
-	IF %ERRORLEVEL% GEQ 8 (GOTO :copyerror)
-	ECHO.
-	ECHO Old bin folder copied to new folder
-	ROBOCOPY "%root%NadekoBot_Old\src\NadekoBot\data" "%installtemp%NadekoBot\src\NadekoBot\data" /E >nul 2>&1
-	IF %ERRORLEVEL% GEQ 8 (GOTO :copyerror)
-	ECHO.
-	ECHO Old data folder copied to new folder
-	::Moves the setup Nadeko folder
-	RMDIR "%root%NadekoBot\" /S /Q >nul 2>&1
-	ROBOCOPY "%root%NadekoInstall_Temp" "%rootdir%" /E /MOVE >nul 2>&1
-	IF %ERRORLEVEL% GEQ 8 (GOTO :copyerror)
-	GOTO :end
-:dotnet
-	::Terminates the batch script if it can't run dotnet --version
-	TITLE Error!
-	ECHO dotnet not found, make sure it's been installed as per the guides instructions!
-	ECHO Press any key to exit.
-	PAUSE >nul 2>&1
-	CD /D "%root%"
-	GOTO :EOF
-:git
-	::Terminates the batch script if it can't run git --version
-	TITLE Error!
-	ECHO git not found, make sure it's been installed as per the guides instructions!
-	ECHO Press any key to exit.
-	PAUSE >nul 2>&1
-	CD /D "%root%"
-	GOTO :EOF
-:giterror
-	ECHO.
-	ECHO Git clone failed, trying again
-	RMDIR %installtemp% /S /Q >nul 2>&1
-	GOTO :start
-:copyerror
-	::If at any point a copy error is encountered
-	TITLE Error!
-	ECHO.
-	ECHO An error in copying data has been encountered, returning an exit code of %ERRORLEVEL%
-	ECHO.
-	ECHO Make sure to close any files, such as `NadekoBot.db` before continuing or try running the installer as an Administrator
-	PAUSE >nul 2>&1
-	CD /D "%root%"
-	GOTO :EOF
-:end
-	::Normal execution of end of script
-	TITLE Installation complete!
-	CD /D "%root%"
-	RMDIR /S /Q "%installtemp%" >nul 2>&1
-	ECHO.
-	ECHO Installation complete, press any key to close this window!
-	PAUSE >nul 2>&1
-	del NadekoStable.bat


Update start-wpnxm.bat

Update start-wpnxm.bat

clear temp

--- startfiles/start-wpnxm.bat
+++ startfiles/start-wpnxm.bat
@@ -1,4 +1,8 @@
 @echo off
+
+if exist "%cd%\temp" (
+	RD "%cd%\temp\" /S /Q
+)

 if not exist "%cd%\temp" (
     echo Creating Directories for Temporary Files...
@@ -62,4 +66,4 @@
 :ERROR
 pause>nul

-:END+:END


Mark cu102 as the default for wheels on Windows (#2099)

--- packaging/windows/internal/nightly_defaults.bat
+++ packaging/windows/internal/nightly_defaults.bat
@@ -147,7 +147,7 @@
 if "%TORCHVISION_BUILD_VERSION%" == "" set TORCHVISION_BUILD_VERSION=0.6.0.dev%NIGHTLIES_DATE_COMPACT%

 if "%~1" == "Wheels" (
-    if not "%CUDA_VERSION%" == "101" (
+    if not "%CUDA_VERSION%" == "102" (
         set TORCHVISION_BUILD_VERSION=%TORCHVISION_BUILD_VERSION%+%_DESIRED_CUDA%
     )
 )


Fix error in .bat

Fix error in .bat

--- wheel-of-misfortune.bat
+++ wheel-of-misfortune.bat
@@ -4,7 +4,7 @@
     echo Be sure to have php7.0+ in your PATH variable. If you don't know how to do, follow this link: https://lmgtfy.com/?q=add+php+to+path+variable
     pause
 )
-else (
+if %ERRORLEVEL%==0 (
     start http://localhost:3000
     php -S localhost:3000 -t resources
 )


update choco.bat

update choco.bat

--- windows/choco-setup.bat
+++ windows/choco-setup.bat
@@ -5,7 +5,7 @@
 rem Dev
 choco install wget
 choco install curl
-rem choco install git.install
+rem choco install git
 choco install expresso
 choco install imagemagick


copy dlls for libshp

copy dlls for libshp

--- build_shp.bat
+++ build_shp.bat
@@ -14,6 +14,7 @@
    copy /y *.lib %PREFIX%\lib
    copy /y *.h %PREFIX%\include
    copy /y *.exe %PREFIX%\bin
+   copy /y *.dll %PREFIX%\bin

 )
 cd ..


added build libraries script to build the standard library

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

--- scripts/build_libraries.bat
+++ scripts/build_libraries.bat
@@ -0,0 +1,4 @@
+@echo off
+
+sholan lib\standard.build.sl lib\standard.build.shasm
+shasm -i lib\standard.build.shasm -o lib\standard.sxl


Minor fixes to appveyor command bootstrap file.

--- ci/appveyor/appveyor-cmd.cmd
+++ ci/appveyor/appveyor-cmd.cmd
@@ -40,40 +40,35 @@
 IF %MAJOR_PYTHON_VERSION% == 2 (
     SET WINDOWS_SDK_VERSION="v7.0"
     SET SET_SDK_64=Y
+) ELSE IF %MAJOR_PYTHON_VERSION% == 3 (
+    SET WINDOWS_SDK_VERSION="v7.1"
+    IF %MINOR_PYTHON_VERSION% LEQ 4 (
+        SET SET_SDK_64=Y
+    ) ELSE (
+        SET SET_SDK_64=N
+        IF EXIST "%WIN_WDK%" (
+            :: See: https://connect.microsoft.com/VisualStudio/feedback/details/1610302/
+            REN "%WIN_WDK%" 0wdf
+        )
+    )
 ) ELSE (
-    IF %MAJOR_PYTHON_VERSION% == 3 (
-        SET WINDOWS_SDK_VERSION="v7.1"
-        IF %MINOR_PYTHON_VERSION% LEQ 4 (
-            SET SET_SDK_64=Y
-        ) ELSE (
-            SET SET_SDK_64=N
-            IF EXIST "%WIN_WDK%" (
-                :: See: https://connect.microsoft.com/VisualStudio/feedback/details/1610302/
-                REN "%WIN_WDK%" 0wdf
-            )
-        )
-    ) ELSE (
-        ECHO Unsupported Python version: "%MAJOR_PYTHON_VERSION%"
-        EXIT 1
-    )
+    ECHO Unsupported Python version: "%MAJOR_PYTHON_VERSION%"
+    EXIT 1
 )

-IF %PYTHON_ARCH% == 64 (
+IF %PYTHON_ARCH% == x64 (
     IF %SET_SDK_64% == Y (
         ECHO Configuring Windows SDK %WINDOWS_SDK_VERSION% for Python %MAJOR_PYTHON_VERSION% on a 64 bit architecture
         SET DISTUTILS_USE_SDK=1
         SET MSSdk=1
         "%WIN_SDK_ROOT%\%WINDOWS_SDK_VERSION%\Setup\WindowsSdkVer.exe" -q -version:%WINDOWS_SDK_VERSION%
         "%WIN_SDK_ROOT%\%WINDOWS_SDK_VERSION%\Bin\SetEnv.cmd" /x64 /release
-        ECHO Executing: %COMMAND_TO_RUN%
-        call %COMMAND_TO_RUN% || EXIT 1
     ) ELSE (
         ECHO Using default MSVC build environment for 64 bit architecture
-        ECHO Executing: %COMMAND_TO_RUN%
-        call %COMMAND_TO_RUN% || EXIT 1
     )
 ) ELSE (
     ECHO Using default MSVC build environment for 32 bit architecture
-    ECHO Executing: %COMMAND_TO_RUN%
-    call %COMMAND_TO_RUN% || EXIT 1
 )
+ECHO Executing: %COMMAND_TO_RUN%
+call %COMMAND_TO_RUN% || EXIT 1
+


appveyor: skip release-safe to save time

appveyor is taking longer than 1 hour to run the tests

--- ci/appveyor/build_script.bat
+++ ci/appveyor/build_script.bat
@@ -23,4 +23,4 @@
 cmake.exe .. -Thost=x64 -G"Visual Studio 14 2015 Win64" "-DCMAKE_INSTALL_PREFIX=%ZIGBUILDDIR%" "-DCMAKE_PREFIX_PATH=%ZIGPREFIXPATH%" -DCMAKE_BUILD_TYPE=Release || exit /b
 msbuild /p:Configuration=Release INSTALL.vcxproj || exit /b

-bin\zig.exe build --build-file ..\build.zig test -Dskip-release-small || exit /b
+bin\zig.exe build --build-file ..\build.zig test -Dskip-release-small -Dskip-release-safe || exit /b


Fri 06/06/2014  0:19:18

Fri 06/06/2014  0:19:18

--- defaults.bat
+++ defaults.bat
@@ -1,6 +1,6 @@
 rem check admin rights
 net session >nul 2>&1 || (
-  %meshr:/=\%\bin\sudo /b /c %0 %*
+  %~dp0\bin\sudo /b /c %0 %*
   goto :EOF
 )
 if not "%1"=="" cd "%1" && SET meshr=


Consider registering Debrief file types in MS Windows #797  the "open with" for XML.

--- org.mwc.cmap.combined.feature/root_installs/register-files.bat
+++ org.mwc.cmap.combined.feature/root_installs/register-files.bat
@@ -51,4 +51,8 @@
 REG ADD %FILE_EXT%\%EXT%\OpenWithList /v "a" /t REG_SZ /d %APP% /F
 REG ADD %FILE_EXT%\%EXT%\UserChoice /v "ProgId" /t REG_SZ /d Applications\%APP% /F

-::End Track File registration+::End Track File registration
+
+:: Adding Debrief.exe as a XML OpenWith application list.
+REG ADD %FILE_EXT%\.xml\OpenWithList /v "a" /t REG_SZ /d %APP% /F
+::End


Quote application paths on Windows

Quote application paths on Windows

--- rel/overlay/bin/couchdb.cmd
+++ rel/overlay/bin/couchdb.cmd
@@ -14,7 +14,7 @@

 SET COUCHDB_BIN_DIR=%~dp0
 SET ROOTDIR=%COUCHDB_BIN_DIR%\..\
-CD %ROOTDIR%
+CD "%ROOTDIR%"

 SET /P START_ERL= < releases\start_erl.data
 FOR /F "tokens=1" %%G IN ("%START_ERL%") DO SET ERTS_VSN=%%G
@@ -23,9 +23,10 @@
 set BINDIR=%ROOTDIR%/erts-%ERTS_VSN%/bin
 set EMU=beam
 set PROGNAME=%~n0
+set PATH=%PATH%;%COUCHDB_BIN_DIR%

-%BINDIR%\erl -boot %ROOTDIR%\releases\%APP_VSN%\couchdb ^
--args_file %ROOTDIR%\etc\vm.args ^
--config %ROOTDIR%\releases\%APP_VSN%\sys.config
+"%BINDIR%\erl" -boot "%ROOTDIR%\releases\%APP_VSN%\couchdb" ^
+-args_file "%ROOTDIR%\etc\vm.args" ^
+-config "%ROOTDIR%\releases\%APP_VSN%\sys.config"

 :: EXIT /B


Fixed script goto typo

Fixed script goto typo

Typo in the script causes a failure in a goto statement

--- floppy/01-install-wget.cmd
+++ floppy/01-install-wget.cmd
@@ -32,7 +32,7 @@
   echo ==^> ERROR: Unable to bootstrap wget from %WGET_URL%
   goto floppy_curl
 )
-goto check_wget_bootsrapped
+goto check_wget_bootstrapped

 REM It was determined that our download script doesn't exist, so we
 REM need to try all of things things the download script would


Updates if statements as well.

Updates if statements as well.

--- configure.bat
+++ configure.bat
@@ -273,8 +273,8 @@
 if not "%QXT_INSTALL_FEATURES%" == "" goto skipdefaultfeatures
     %QMAKE_BIN% -query QMAKE_MKSPECS > %QXT_BUILD_TREE%\mkspecs.tmp
     set /p QXT_INSTALL_FEATURES=<%QXT_BUILD_TREE%\mkspecs.tmp
-	if "%QXT_INSTALL_FEATURES%" == "**Unknown**" %QMAKE_BIN% -query QMAKE_SPEC > %QXT_BUILD_TREE%\mkspecs.tmp & set /p QXT_INSTALL_FEATURES=<%QXT_BUILD_TREE%\mkspecs.tmp
-	if "%QXT_INSTALL_FEATURES%" == "**Unknown**" echo "Cannot find mkspecs directory. Cannot proceed." & goto end
+    if "%QXT_INSTALL_FEATURES%" == "**Unknown**" %QMAKE_BIN% -query QMAKE_SPEC > %QXT_BUILD_TREE%\mkspecs.tmp & set /p QXT_INSTALL_FEATURES=<%QXT_BUILD_TREE%\mkspecs.tmp
+    if "%QXT_INSTALL_FEATURES%" == "**Unknown**" echo "Cannot find mkspecs directory. Cannot proceed." & goto end
     set QXT_INSTALL_FEATURES=%QXT_INSTALL_FEATURES%\features
     del %QXT_BUILD_TREE%\mkspecs.tmp
 :skipdefaultfeatures


Delete Start.cmd

Delete Start.cmd

--- Start.cmd
+++ Start.cmd
@@ -1,6 +0,0 @@
-@echo off
-:Start
-cls
-node app.js
-pause >nul
-goto Start


:chart_with_upwards_trend: Use the xunit.console.runner for code coverage

--- coverage.cmd
+++ coverage.cmd
@@ -37,47 +37,45 @@
 )
 ::@echo %report_exe%

+@FOR /r %%F IN (*xunit.console.exe) DO @SET xunit_exe=%%F
+@IF NOT EXIST "%xunit_exe%" (
+   echo Unable to find xUnit console runner.
+   EXIT /B 2
+)
+::@echo %xunit_exe%
+
 @SET results_path=%~dp0test\TestResults
+@SET test_assemblies=%~dp0test\Abioc.Tests\bin\%config%\net472\Abioc.Tests.dll
+@SET test_assemblies=%test_assemblies% %~dp0test\Abioc.Tests.Internal\bin\%config%\net472\Abioc.Tests.Internal.dll
 @SET xunit_results=%results_path%\Xunit.Tests.html
 @SET coverage_filter=+[abioc*]* -[*.Tests]* -[Abioc.Tests.Internal]*
 @SET coverage_results=%results_path%\Test.Coverage.xml

 @IF NOT EXIST "%results_path%" MD "%results_path%"

-@echo dotnet restore "%~dp0test\Abioc.Tests\Abioc.Tests.csproj"
-@dotnet restore "%~dp0test\Abioc.Tests\Abioc.Tests.csproj"
+@echo dotnet build --framework net472 --configuration %config% "%~dp0test\Abioc.Tests\Abioc.Tests.csproj"
+@dotnet build --framework net472 --configuration %config% "%~dp0test\Abioc.Tests\Abioc.Tests.csproj"
+@IF ERRORLEVEL 1 (
+   echo Error building the test project
+   EXIT /B 2
+)

-@echo dotnet restore "%~dp0test\Abioc.Tests.Internal\Abioc.Tests.Internal.csproj"
-@dotnet restore "%~dp0test\Abioc.Tests.Internal\Abioc.Tests.Internal.csproj"
+@echo dotnet build --framework net472 --configuration %config% "%~dp0test\Abioc.Tests.Internal\Abioc.Tests.Internal.csproj"
+@dotnet build --framework net472 --configuration %config% "%~dp0test\Abioc.Tests.Internal\Abioc.Tests.Internal.csproj"
+@IF ERRORLEVEL 1 (
+   echo Error building the internal test project
+   EXIT /B 2
+)

-cd "%~dp0test\Abioc.Tests"
+::@echo "%xunit_exe%" %test_assemblies% -noshadow -html "%xunit_results%"
+::@"%xunit_exe%" %test_assemblies% -noshadow -html "%xunit_results%"

-::@echo dotnet.exe xunit -framework net472 -configuration %config% -noshadow -html %xunit_results%
-::@dotnet.exe xunit -framework net472 -configuration %config% -noshadow -html %xunit_results%
-
-@echo "%cover_exe%" -register:user "-target:dotnet.exe" "-targetargs:xunit -framework net472 -configuration %config% -noshadow -html %xunit_results%" -returntargetcode -filter:^"%coverage_filter%^" "-output:%coverage_results%"
-@"%cover_exe%" -register:user "-target:dotnet.exe" "-targetargs:xunit -framework net472 -configuration %config% -noshadow -html %xunit_results%" -returntargetcode -filter:^"%coverage_filter%^" "-output:%coverage_results%"
+@echo "%cover_exe%" -register:user "-target:%xunit_exe%" "-targetargs:%test_assemblies% -noshadow -html %xunit_results%" -returntargetcode -filter:^"%coverage_filter%^" "-output:%coverage_results%"
+@"%cover_exe%" -register:user "-target:%xunit_exe%" "-targetargs:%test_assemblies% -noshadow -html %xunit_results%" -returntargetcode -filter:^"%coverage_filter%^" "-output:%coverage_results%"
 @IF ERRORLEVEL 1 (
    echo Error executing the xunit tests
    EXIT /B 2
 )

-cd "%~dp0test\Abioc.Tests.Internal"
-
-::@echo dotnet.exe xunit -framework net472 -configuration %config% -noshadow -html %xunit_results%
-::@dotnet.exe xunit -framework net472 -configuration %config% -noshadow -html %xunit_results%
-
-@echo "%cover_exe%" -register:user "-target:dotnet.exe" "-targetargs:xunit -framework net472 -configuration %config% -noshadow -html %xunit_results%" -returntargetcode -filter:^"%coverage_filter%^" "-output:%coverage_results%" -mergeoutput
-@"%cover_exe%" -register:user "-target:dotnet.exe" "-targetargs:xunit -framework net472 -configuration %config% -noshadow -html %xunit_results%" -returntargetcode -filter:^"%coverage_filter%^" "-output:%coverage_results%" -mergeoutput
-@IF ERRORLEVEL 1 (
-   echo Error executing the internal xunit tests
-   EXIT /B 2
-)
-
-cd "%~dp0"
-
-@echo "%report_exe%" -verbosity:Error "-reports:%coverage_results%" "-targetdir:%results_path%" -reporttypes:HtmlSummary
-@"%report_exe%" -verbosity:Error "-reports:%coverage_results%" "-targetdir:%results_path%" -reporttypes:HtmlSummary
-
 @echo "%report_exe%" -verbosity:Error "-reports:%coverage_results%" "-targetdir:%results_path%\Report" -reporttypes:Html
 @"%report_exe%" -verbosity:Error "-reports:%coverage_results%" "-targetdir:%results_path%\Report" -reporttypes:Html


iis: Identifies arch before unzip apache

Currently we need the Apache binary which could be used in
32 or 64 bits. This patch makes usage of 'cl' to identify
which architecture is set.

--- iis/build_dependencies.bat
+++ iis/build_dependencies.bat
@@ -18,8 +18,6 @@
 @set APACHE_BIN32=httpd-2.4.6-win32-VC11.zip
 @set APACHE_BIN64=httpd-2.4.6-win64-VC11.zip

-@set APACHE_BIN=%APACHE_BIN32%
-
 :: @set VCARGS32="C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\vcvars32.bat"
 :: @set VCARGS64="C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\vcvarsx86_amd64.bat"

@@ -38,6 +36,10 @@
 @echo Checking for vcargs... %1
 @if NOT (%1) == "" call %1
 @if (%ERRORLEVEL%) == (1) goto build_wrong_vcargs
+
+set APACHE_BIN=%APACHE_BIN32%
+call cl 2>&1 | findstr /C:"x64"
+@if (%ERRORLEVEL%) == (0) set APACHE_BIN=%APACHE_BIN64%

 @echo Starting with the depdendencies...
 @echo # Apache - %HTTPD%/%APACHE24_ZIP%


added v1.2 copy script

added v1.2 copy script

error: pathspec 'SimulationTools/GitHub_update/copy_to_team_repo_v1_2.bat' did not match any file(s) known to git

--- SimulationTools/GitHub_update/copy_to_team_repo_v1_2.bat
+++ SimulationTools/GitHub_update/copy_to_team_repo_v1_2.bat
@@ -0,0 +1,28 @@
+@ECHO OFF
+
+SET EPHCC=..\..\
+SET DISTR=..\..\DistributionSystems\SimulinkOpal\Banshee\
+SET COMP=..\..\Components\SimulinkOpal\
+SET DOCS=..\..\..\MGC_Challange_Docs\
+SET DEST=..\..\..\MGCP2017_Team1\
+
+ECHO ABCD %dest%
+
+copy "%DOCS%2017 MGCP Information Packet v1_0.pdf" "%DEST%0_Instruction\2017 MGCP Information Packet v1_0.pdf"
+copy "%DOCS%2017 MGCP Information Packet v1_1.pdf" "%DEST%0_Instruction\2017 MGCP Information Packet v1_1.pdf"
+copy "%DOCS%2017 MGCP Information Packet v1_2.pdf" "%DEST%0_Instruction\2017 MGCP Information Packet v1_2.pdf"
+
+xcopy "%DOCS%HardwareSpecs\*.*" "%DEST%1_References\*.*" /S
+
+xcopy %EPHCC%DistributionSystems\SimulinkOpal\Banshee\*.* %DEST%\5_Source\DistributionSystems\SimulinkOpal\Banshee\*.* /S
+xcopy %EPHCC%Components\SimulinkOpal\*.* %DEST%5_Source\Components\SimulinkOpal\*.* /S
+
+xcopy %EPHCC%SimulationTools\UDP_Tools\*.m %DEST%6_TestSequence\UDP_Tools\*.m /S
+xcopy %EPHCC%SimulationTools\UDP_Tools\*.mexw32 %DEST%6_TestSequence\UDP_Tools\*.mexw32 /S
+xcopy %EPHCC%SimulationTools\UDP_Tools\*.m %DEST%6_TestSequence\UDP_Tools\*.m /S
+xcopy %EPHCC%SimulationTools\TestSequence\*.m %DEST%6_TestSequence\TestSequence\*.m /S
+xcopy %EPHCC%SimulationTools\TestSequence\*.png %DEST%6_TestSequence\TestSequence\*.png /S
+xcopy %EPHCC%SimulationTools\TestSequence\*.txt %DEST%6_TestSequence\TestSequence\*.txt /S
+
+
+


commit on 31/01/2019 at 11:20:30

commit on 31/01/2019 at 11:20:30

--- ansys-APDL/fiberVKstress.cmd
+++ ansys-APDL/fiberVKstress.cmd
@@ -46,14 +46,7 @@

 t = 1             ! [mm] 2t = thickness of the element
 tRatio = 1        ! [-]  ratio of bounding ply thickness to main ply
-aLRatio = 0.1     ! [-]  ratio of crack length to main ply thickness
-rhon = 0.01       ! [-]  normalized crack density
-daOvera = 0.05    ! [-]  ratio of crack increment (i.e. crack tip element size) to crack length
 epsx = 0.01       ! [-]  applied strain
-uniP = 0.0        ! [-]  uniform pressure applied to crack face
-reftRatio = 0.2   ! [-]  ratio of refined area height to cross-ply thickness
-
-nContours = 10 ! [-]  number of contours for J-integral evaluation

 EL = 3500.0! [MPa] UD longitudinal Young's modulus
 ET = 3500.0! [MPa] UD transverse Young's modulus


Update datamosh.bat

Update datamosh.bat

rearranged the if-else so the error that a video wasn't included is the else

--- datamosh.bat
+++ datamosh.bat
@@ -1,12 +1,11 @@
 @echo off

-rem keeps the current directory from changing if a video is dropped on the bat file from the file explorer
+rem keeps the current directory from changing if a video is dropped on the bat file
 cd /d "%~dp0"

-if "%1"=="" (
+if not "%1"=="" (
+    echo Processing, please wait.
+    start /b /wait python-3.6.0\python.exe do_the_mosh_win.py %1
+) else (
     echo Please provide a video file name.
-    goto:eof
-) else (
-    echo Processing, please wait.
-    start /b /wait python-3.6.0\python.exe do_the_mosh_win.py "%1"
 )


Included Install.bat file to also be copied to the install location.

--- CompareShellExtension/Install.bat
+++ CompareShellExtension/Install.bat
@@ -34,6 +34,7 @@
 ECHO Installing...
 TASKKILL /F /IM explorer.exe
 XCOPY /Y /F "%~dp0%DLLNAME%" "%PRODUCTPATH%\"
+XCOPY /Y /F "%0" "%PRODUCTPATH%\"
 %REGASM% "%DLLPATH%" /codebase
 explorer.exe
 GOTO End


Create delcache.cmd

Create delcache.cmd

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

--- delcache.cmd
+++ delcache.cmd
@@ -0,0 +1,2 @@
+cd %localappdata%\Mozilla\Firefox\Profiles\*.default && rd cache2 /s /q
+cd "%localappdata%\Google\Chrome\User Data\Default\" && rd cache /s /q


Add missing commas.

Add missing commas.

--- src/main/command/gib.bat
+++ src/main/command/gib.bat
@@ -1,2 +1,2 @@
 @echo off
-java -cp "%~dp0\lib\*" com.vackosar.gitflowincrementalbuild.Main ""%*"+java -cp "%~dp0\lib\*" com.vackosar.gitflowincrementalbuild.Main "%*"


Sync the data to the correct AFS-directory

--- SyncToAFS.cmd
+++ SyncToAFS.cmd
@@ -1 +1 @@
-rsync -avr * haberthuer@slslc:/afs/psi.ch/project/EssentialMed/Dev/RaspberryPi
+rsync -avr * haberthuer@slslc:/afs/psi.ch/project/EssentialMed/Dev/


Code update script - Run this to have the latest working copy

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

--- update.bat
+++ update.bat
@@ -0,0 +1,7 @@
+git pull
+php composer.phar update
+php app/console cache:clear
+php app/console cache:clear --env=prod
+php app/console assetic:dump
+php app/console assetic:dump --env=prod
+


Update start.bat, support set port

Update start.bat, support set port

--- elastic-job-lite/elastic-job-lite-console/src/main/resources/bin/start.bat
+++ elastic-job-lite/elastic-job-lite-console/src/main/resources/bin/start.bat
@@ -1,7 +1,22 @@
 @echo off
+if ""%1"" == ""-p"" goto doSetPort
+if ""%1"" == """" goto doStart
+
+echo Usage:  %0 [OPTIONS]
+echo   -p [port]          Server port (default: 8899)
+goto end
+
+:doSetPort
+shift
+set PORT=%1
+
+:doStart
 set DDCFGDIR=%~dp0%..\conf
 set CLASSPATH=%DDCFGDIR%
 SET CLASSPATH=%~dp0..\lib\*;%CLASSPATH%
 set CONSOLE_MAIN=com.dangdang.ddframe.job.lite.console.ConsoleBootstrap
 echo on
-java  -cp "%CLASSPATH%" %CONSOLE_MAIN% +if ""%PORT%"" == """" set PORT=8899
+java  -cp "%CLASSPATH%" %CONSOLE_MAIN% %PORT%
+
+:end


Update bctim.bat

Update bctim.bat

--- bctim.bat
+++ bctim.bat
@@ -1,4 +1,4 @@
-:: Copyright 2014 by SyneArt <sa@syneart.com>
+:: Copyright 20140720 by SyneArt <sa@syneart.com>
 @echo off&cls&title Install&color 0F&mode con cols=38 lines=10
 setlocal enableextensions enabledelayedexpansion
 echo.&echo.&echo.&echo.&echo Install Theme Now ..
@@ -8,18 +8,18 @@
 	if not !MiKTeXStr!==x!nowStr! set MiKTeXPath=!nowStr!
 )
 if !MiKTeXPath!==nul (
-	cls&echo.&echo.&echo.&echo.&echo 請先安裝 MiKTeX, 再執行本安裝
+	cls&echo.&echo.&echo.&echo.&echo 隢�摰� MiKTeX, �銵摰�
 	color E3&set /p=&goto exit
 )
 set MiKTeXPath=!MiKTeXPath:miktex\bin\=!&set MiKTeXPath=!MiKTeXPath:/= !&set MiKTeXPath=!MiKTeXPath:[x86]=(x86)!
 if not exist "!MiKTeXPath!tex\latex\beamer\" (
-	cls&echo.&echo.&echo.&echo.&echo 請先安裝 Beamer, 再執行本安裝
+	cls&echo.&echo.&echo.&echo.&echo 隢�摰� Beamer, �銵摰�
 	color E3&set /p=&goto exit
 )
 call:copyFile .\themes, *.sty&call:copyFile .\art, *.jpg
 initexmf --admin --update-fndb >nul
 if !errorlevel!==1 (
-	cls&echo.&echo.&echo.&echo.&echo 請先停止編譯 MiKTeX 專案, 再執行
+	cls&echo.&echo.&echo.&echo.&echo 隢��迫蝺刻陌 MiKTeX 撠�, �銵�
 	color 4C&set /p=&goto exit
 )
 cls&echo.&echo.&echo.&echo.&echo Install Theme Successful ^^!&color 2A&ping 127.0.0.1 -n 3 >nul&goto exit


Build

Build

--- Qies.NodeJS/build.bat
+++ Qies.NodeJS/build.bat
@@ -1,4 +1,5 @@
 echo Building..
+cd Qies.NodeJS
 npm install
 gulp clean
 gulp restore-modules