This looks like a problem with Leiningen's trampoline feature to me.

I edited my ~/bin/lein script, to insert "echo $TRAMPOLINE" before "exec sh 
-c "exec $TRAMPOLINE", near the end of the file.  I then copied the 
lein-cljsbuild advanced example project into a path that contained a space 
(".../advanced and stuff/...").  When I ran "lein trampoline cljsbuild 
repl-rhino", I saw the same "java.lang.ClassNotFoundException: and" error.

Looking at the trampoline command that lein printed out, it contains "java 
-cp <classpath>", where <classpath> is not quoted.  Thus, things break, 
because I ensured that there was a space in a classpath component.

For reference: $lein -v => "Leiningen 1.7.1 on Java 1.6.0_29 Java 
HotSpot(TM) 64-Bit Server VM"

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to