2009-01-18

Setup mods (clojure)

After much tearing of hair, many emacs restarts, many killings of *inferior-lisp*, I finally decided to give up on the pure-swank way of calling java. Up until yesterday I just had this:

  
(setq swank-clojure-jar-path "/home/joseph/src/clojure/clojure.jar")
(setq swank-clojure-extra-classpaths 
      (list "/home/joseph/clojure/clojure-contrib.jar" 
            "/home/joseph/lib/commons-httpclient-3.1.jar"))
  

Last night I reorganized everything basically following Bill Clementson's setup. Now all the classpath business goes into an environment variable and gets called by an almost empty shell script. For me, the main advantage of this setup is that it was easier to see how java was being called, so that it was easier to debug the rest of my setup.

To make a long story short, I was finally able to import org.apache.commons.httpclient this morning.

No comments: