By the way, Lein2 uses the local maven repository to cache dependencies. 
You can find the clojure jar(s) used by your lein2-managaed project in 
~/.m2/repository/org/clojure/clojure

https://github.com/technomancy/leiningen/wiki/Upgrading
(In the "Gotchas" section)

On Friday, August 31, 2012 10:38:59 AM UTC-7, Martin wrote:
>
> Hi
>
> Im having problems using Leiningen together with Clojure 1.4 (and 1.3) on 
> Windows 7. Using Leiningen version 1.5.2 I can create a new project and use 
> lein deps to download clojure version 1.2.1. However if I change 
> dependencies in project.clj to org.clojure/clojure "1.4.0", I run into 
> trouble. Running lein deps downloads clojure-1.4.0.jar to lib. Running lein 
> repl gives:
>
> Warning: *classpath* not declared dynamic and thus is not dynamically 
> rebindable, but its name suggests otherwise. Please either indicate 
> ^:dynamic *classpath* or change the name. (NO_SOURCE_PATH:1)
> REPL started; server listening on localhost:50497.
>
> It starts up and gives me a prompt, but whatever I write at the prompt 
> (even just enter) freezes the program, forcing me to exit with ctrl-c.
>
> I also tried using Leiningen 2.0.0. It automatically creates a project 
> with Clojure 1.3.0 as dependency. Running lein deps gives no error but I 
> cant find Clojure 1.3.0 downloaded anywhere. There is a .lein folder in 
> C:\Users\Martin which contains a couple of jars but not the main Clojure 
> one. Running lein repl starts clojure 1.3.0 without errors, but as above, 
> as soon as I type anything it freezes.
>
> Any ideas?
>
>
>

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