Skip to content
Snippets Groups Projects
Commit 03906f7f authored by Matei Zaharia's avatar Matei Zaharia
Browse files

Fixes to compute-classpath on Windows

parent e49bc8ca
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ rem script and the ExecutorRunner in standalone cluster mode. ...@@ -6,7 +6,7 @@ rem script and the ExecutorRunner in standalone cluster mode.
set SCALA_VERSION=2.9.3 set SCALA_VERSION=2.9.3
rem Figure out where the Spark framework is installed rem Figure out where the Spark framework is installed
set FWDIR=%~dp0\.. set FWDIR=%~dp0..\
rem Load environment variables from conf\spark-env.cmd, if it exists rem Load environment variables from conf\spark-env.cmd, if it exists
if exist "%FWDIR%conf\spark-env.cmd" call "%FWDIR%conf\spark-env.cmd" if exist "%FWDIR%conf\spark-env.cmd" call "%FWDIR%conf\spark-env.cmd"
...@@ -45,7 +45,7 @@ rem Add Scala standard library ...@@ -45,7 +45,7 @@ rem Add Scala standard library
set CLASSPATH=%CLASSPATH%;%SCALA_HOME%\lib\scala-library.jar;%SCALA_HOME%\lib\scala-compiler.jar;%SCALA_HOME%\lib\jline.jar set CLASSPATH=%CLASSPATH%;%SCALA_HOME%\lib\scala-library.jar;%SCALA_HOME%\lib\scala-compiler.jar;%SCALA_HOME%\lib\jline.jar
rem A bit of a hack to allow calling this script within run2.cmd without seeing output rem A bit of a hack to allow calling this script within run2.cmd without seeing output
if "x%DONT_PRINT_CLASSPATH%"=="x1" goto exit if "%DONT_PRINT_CLASSPATH%"=="1" goto exit
echo %CLASSPATH% echo %CLASSPATH%
......
...@@ -48,6 +48,7 @@ set REPL_DIR=%FWDIR%repl ...@@ -48,6 +48,7 @@ set REPL_DIR=%FWDIR%repl
rem Compute classpath using external script rem Compute classpath using external script
set DONT_PRINT_CLASSPATH=1 set DONT_PRINT_CLASSPATH=1
call "%FWDIR%bin\compute-classpath.cmd" call "%FWDIR%bin\compute-classpath.cmd"
set DONT_PRINT_CLASSPATH=0
rem Figure out the JAR file that our examples were packaged into. rem Figure out the JAR file that our examples were packaged into.
rem First search in the build path from SBT: rem First search in the build path from SBT:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment