(defun get-classpath-list ()
  (if
      (or
       (eq 'windows-nt system-type)
       (eq 'ms-dos system-type))
      (split-string (getenv "CLASSPATH") ";")
    (split-string (getenv "CLASSPATH") ":")))

(setq swank-clojure-jar-path
      (dev-dir "clojure/clojure.jar"))
(setq swank-clojure-extra-classpaths
      (get-classpath-list))

Get the classpath from the system and set it as your swank classpath.

My slime setup currently fails completely on windows, however.  The
slime repl never starts; is there a way to get slime to dump all of
its communication (both ways, not just sending) to a file?

Chris

On Feb 4, 12:14 pm, Phil Hagelberg <p...@hagelb.org> wrote:
> Seeing all these complicated steps that need to be reproduced made me
> wonder if it couldn't be automated. I've added an M-x clojure-install
> command to my fork of clojure-mode, so if you are wanting to get started
> with SLIME and Clojure, please give it a look.
>
> Installation and configuration should be as simple as putting this
> file into your Emacs config, pressing M-x clojure-install, and following
> a few simple instructions:
>
> http://github.com/technomancy/clojure-mode/blob/4506f07fd69262057fd07...
>
> I blogged about the details here:http://technomancy.us/122
>
> I've tested this on GNU/Linux systems (Emacs 23 and 22), and it's been
> reported to work well on Mac OS X also. Please let me know how it works
> for you or if you have any comments. This has definitely been a pain
> point in the past, and it would be great if it could be streamlined.
>
> -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
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