Skip to content
Browse files

replaced the -jar option with -cp option in bin/incanter

  • Loading branch information...
1 parent 910be14 commit 1f7e756cdfe85082f96acacbb1ff3d0b6939968b @liebke liebke committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 bin/incanter
View
6 bin/incanter
@@ -11,10 +11,10 @@ CLASSES_DIR=$INCANTER_HOME/target/
INCANTER_JAR=$INCANTER_HOME/target/incanter-1.0-master-SNAPSHOT-jar-with-dependencies.jar
if [ -z "$1" ]; then
- java -server -Dclojure.compile.path=$CLASSES_DIR -Dincanter.home=$INCANTER_HOME -jar $INCANTER_JAR clojure.main
- #java -server -Dclojure.compile.path=$CLASSES_DIR -Dincanter.home=$INCANTER_HOME -cp $INCANTER_JAR jline.ConsoleRunner clojure.main
+ #java -server -Dclojure.compile.path=$CLASSES_DIR -Dincanter.home=$INCANTER_HOME -jar $INCANTER_JAR clojure.main
+ java -server -Dclojure.compile.path=$CLASSES_DIR -Dincanter.home=$INCANTER_HOME -cp .:$INCANTER_JAR jline.ConsoleRunner clojure.main
else
scriptname=$1
- java -server -Dclojure.compile.path=$CLASSES_DIR -Dincanter.home=$INCANTER_HOME -cp $INCANTER_JAR clojure.lang.Script $scriptname -- $*
+ java -server -Dclojure.compile.path=$CLASSES_DIR -Dincanter.home=$INCANTER_HOME -cp .:$INCANTER_JAR clojure.lang.Script $scriptname -- $*
fi

0 comments on commit 1f7e756

Please sign in to comment.
Something went wrong with that request. Please try again.