Merge branch 'cassandra-2.2' into trunk

This commit is contained in:
Joshua McKenzie 2015-08-03 14:43:47 -04:00
commit 3d3628b1d3
2 changed files with 9 additions and 2 deletions

View File

@ -31,7 +31,7 @@ REM set JAVA_HOME="<directory>"
REM ***** CLASSPATH library setting *****
REM Ensure that any user defined CLASSPATH variables are not used on startup
set CLASSPATH="%CASSANDRA_HOME%\conf"
set CLASSPATH="%CASSANDRA_CONF%"
REM For each jar in the CASSANDRA_HOME lib directory call append to build the CLASSPATH variable.
for %%i in ("%CASSANDRA_HOME%\lib\*.jar") do call :append "%%i"

View File

@ -34,8 +34,15 @@ goto finally
:err
echo JAVA_HOME environment variable must be set!
set ERRORLEVEL=1
pause
:finally
ENDLOCAL & set RC=%ERRORLEVEL%
goto :exit_with_code
ENDLOCAL
:returncode
exit /B %RC%
:exit_with_code
call :returncode %RC%