Tassilo Horn <tass...@member.fsf.org> writes:

> To me, all this stuff seems to magical, for example that swank-clojure
> downloads the required clojure/contrib jars (at least the comment in the
> el-file says so).  How do I know what version it will fetch?  How does
> it know when to update those jars?

It will only download anything if ~/.swank-clojure and ~/.clojure don't
exist.  If you create either of those directories manually and populate
it with clojure.jar, clojure-contrib.jar and swank-clojure.jar (and
any other jars you like) then you can use whatever versions you like.

Also note that they're only used when you use M-x slime.  If you use M-x
swank-clojure-project instead then it'll add these subdirectories to the
classpath:

  src/
  classes/
  lib/*.jar

So for example if you have a leiningen project and run lein deps so the
lib directory is populated with clojure, contrib, swank-clojure and
anything else your project needs, then when you run M-x
swank-clojure-project and point it at your project's directory, it'll
completely disregard ~/.swank-clojure and use those jars.

-- 
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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to