aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJey Kottalam <jey@cs.berkeley.edu>2013-07-22 13:11:35 -0700
committerJey Kottalam <jey@cs.berkeley.edu>2013-07-24 14:04:17 -0700
commit1d101928069c31aec039bb8b69c9bf4c204eead4 (patch)
tree239da0ba381c6fd3b9e9ba4c0f8d9b88f8d63a4c /bin
parent5584ebcbd3da9025b4da6ac8349af87d3348fb2c (diff)
downloadspark-1d101928069c31aec039bb8b69c9bf4c204eead4.tar.gz
spark-1d101928069c31aec039bb8b69c9bf4c204eead4.tar.bz2
spark-1d101928069c31aec039bb8b69c9bf4c204eead4.zip
Fix setting of SPARK_EXAMPLES_JAR
Diffstat (limited to 'bin')
-rwxr-xr-xbin/compute-classpath.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/bin/compute-classpath.sh b/bin/compute-classpath.sh
index eb270a5428..e4ce1ca848 100755
--- a/bin/compute-classpath.sh
+++ b/bin/compute-classpath.sh
@@ -76,17 +76,6 @@ function dev_classpath {
CLASSPATH="$CLASSPATH:$jar"
done
- # Figure out the JAR file that our examples were packaged into. This includes a bit of a hack
- # to avoid the -sources and -doc packages that are built by publish-local.
- if [ -e "$EXAMPLES_DIR/target/scala-$SCALA_VERSION/spark-examples"*[0-9T].jar ]; then
- # Use the JAR from the SBT build
- export SPARK_EXAMPLES_JAR=`ls "$EXAMPLES_DIR/target/scala-$SCALA_VERSION/spark-examples"*[0-9T].jar`
- fi
- if [ -e "$EXAMPLES_DIR/target/spark-examples"*[0-9T].jar ]; then
- # Use the JAR from the Maven build
- export SPARK_EXAMPLES_JAR=`ls "$EXAMPLES_DIR/target/spark-examples"*[0-9T].jar`
- fi
-
# Add Scala standard library
if [ -z "$SCALA_LIBRARY_PATH" ]; then
if [ -z "$SCALA_HOME" ]; then