aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatei Zaharia <matei@eecs.berkeley.edu>2013-02-25 20:23:36 -0800
committerMatei Zaharia <matei@eecs.berkeley.edu>2013-02-25 20:23:36 -0800
commit108cfaa5b4905f390c56cd5187c6aa1d6af63300 (patch)
tree4e87ceab098b9c71868450798c2fb5218047108e
parent5d7b591cfe14177f083814fe3e81745c5d279810 (diff)
downloadspark-108cfaa5b4905f390c56cd5187c6aa1d6af63300.tar.gz
spark-108cfaa5b4905f390c56cd5187c6aa1d6af63300.tar.bz2
spark-108cfaa5b4905f390c56cd5187c6aa1d6af63300.zip
Fix Windows script for finding examples JAR
-rw-r--r--run2.cmd8
1 files changed, 4 insertions, 4 deletions
diff --git a/run2.cmd b/run2.cmd
index f34869f1b1..cb20a4b7a2 100644
--- a/run2.cmd
+++ b/run2.cmd
@@ -64,12 +64,12 @@ set CLASSPATH=%CLASSPATH%;%BAGEL_DIR%\target\scala-%SCALA_VERSION%\classes
rem Figure out the JAR file that our examples were packaged into.
rem First search in the build path from SBT:
-for /D %%d in ("%EXAMPLES_DIR%/target/scala-%SCALA_VERSION%/spark-examples*.jar") do (
- set SPARK_EXAMPLES_JAR=%%d
+for %%d in ("examples/target/scala-%SCALA_VERSION%/spark-examples*.jar") do (
+ set SPARK_EXAMPLES_JAR=examples/target/scala-%SCALA_VERSION%/%%d
)
rem Then search in the build path from Maven:
-for /D %%d in ("%EXAMPLES_DIR%/target/spark-examples*hadoop*.jar") do (
- set SPARK_EXAMPLES_JAR=%%d
+for %%d in ("examples/target/spark-examples*hadoop*.jar") do (
+ set SPARK_EXAMPLES_JAR=examples/target/%%d
)
rem Figure out whether to run our class with java or with the scala launcher.