more logging...

This commit is contained in:
Thad Guidry 2018-01-04 12:26:57 -06:00 committed by GitHub
parent 506e479689
commit 9d6251b721
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
rem Changing this for debugging on Appveyor rem Changing this for debugging on Appveyor
@echo on rem @echo off
rem rem
rem Configuration variables rem Configuration variables
rem rem
@ -72,8 +72,11 @@ for /f "tokens=1,* delims==" %%a in (refine.ini) do (
rem --- Log for troubleshooting ------------------------------------------ rem --- Log for troubleshooting ------------------------------------------
echo Getting Java Version... echo Getting Java Version...
java -version 2^>^&1
ECHO.=====================================================
for /f "tokens=*" %%a in ('java -version 2^>^&1 ^| find "version"') do (set JVERSION=%%a) for /f "tokens=*" %%a in ('java -version 2^>^&1 ^| find "version"') do (set JVERSION=%%a)
echo Getting Free Ram... ECHO Getting Free Ram...
wmic os get FreePhysicalMemory
for /f "usebackq skip=1 tokens=*" %%i in (`wmic os get FreePhysicalMemory ^| findstr /r /v "^$"`) do @set /A freeRam=%%i/1024 for /f "usebackq skip=1 tokens=*" %%i in (`wmic os get FreePhysicalMemory ^| findstr /r /v "^$"`) do @set /A freeRam=%%i/1024
( (
echo ----------------------- echo -----------------------