> >> Another question. Where do I put the clojure & clojure-contrib JAR > files? > > > > If you use the M-x clojure-install command, this should get all the > dependencies. > > > > If you're getting stuck at the "Polling" stage, it's probably because > > you didn't do M-x clojure-install. If you do that and you still see the > > error, then paste the contents of your *inferior-lisp* buffer for > > debugging. > > OK. I found the problem. I didn't unzip clojure.jar inside > target/dependency. Now it works fine, which brings me to another issue. > > Do I have to unzip all dependencies into target/dependency? Can't I work > with just JAR files? For example, I really wanted to put the > clojure-contrib.jar in the folder, but it didn't work. I had to unzip it > and then it worked. Same with some other external deps. > > Is there any way for me to just put the JAR files somewhere and get them > added to the classpath? >
For me it works like this .bashrc export CLASSPATH=.:/usr/local/clojure/clojure-1.0.0.jar .emacs (setq inferior-lisp-program "java -server clojure.lang.Repl") (setq load-path (cons "/usr/local/clojure/clojure-mode" load-path)) (require 'clojure-mode) > Thanks in advance. > > Regards, > BG > > -- > Baishampayan Ghose <b.gh...@ocricket.com> > oCricket.com > > Phil, --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---