Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix Windows script for finding examples JAR

  • Loading branch information...
commit 108cfaa5b4905f390c56cd5187c6aa1d6af63300 1 parent 5d7b591
@mateiz mateiz authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 run2.cmd
View
8 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.
Please sign in to comment.
Something went wrong with that request. Please try again.