Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

confusing failures when clojure lib is called clojure.jar #3

Open
wants to merge 1 commit into from

2 participants

@proger

No description provided.

@djpowell
Owner

Cool - I started a bit of a reorganisation of liverepl recently though, which might avoid the need for this patch.

Check out the 1.1-alpha branch. This splits things up into three sub-components that can be built with leiningen, and that automatically pull in the clojure dependency, and then the clojure dependency is copied to the output folder with a known name.

The goal is that this makes the build simpler, reduces the size of the stub that gets injected into the target process, and opens up the opportunity for non-clojure repls, or maybe to inject an nrepl.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 30, 2012
  1. @proger
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 4 deletions.
  1. +1 −4 liverepl.sh
View
5 liverepl.sh
@@ -5,7 +5,7 @@
LIVEREPL_HOME="$(cd -P -- "$(dirname -- "$0")" && pwd -P)"
MAIN=net.djpowell.liverepl.client.Main
-CLOJURE_JAR=$(find $LIVEREPL_HOME/build -name 'clojure-*[0-9].jar' | head -1)
+CLOJURE_JAR=$(find $LIVEREPL_HOME/build -name 'clojure-*[0-9].jar' -o -name 'clojure.jar' | head -1)
AGENT_JAR="$LIVEREPL_HOME/build/liverepl-agent.jar"
SERVER_JAR="$LIVEREPL_HOME/build/liverepl-server.jar"
@@ -31,6 +31,3 @@ fi
CLASSPATH="$CLASSPATH:$AGENT_JAR"
${WRAP}java -cp $CLASSPATH $MAIN "$CLOJURE_JAR" "$AGENT_JAR" "$SERVER_JAR" "$@"
-
-
-
Something went wrong with that request. Please try again.