On 6 May 2012 01:37, Kurt Harriger <kurtharri...@gmail.com> wrote:
> When i first upgraded to clojure 1.4 i had a similar issue with lein not 
> downloading updated dependencies. It tirned out to be an invalid version 
> range dependency spec in midje that caused it to fail silently. Perhaps try 
> removing all other dependencies first and try again.

Kurt, you are right:

  :dependencies [[org.clojure/clojure "1.4.0"]
;                 [noir-cljs "0.3.0"]
;                 [jayq "0.1.0-alpha1"]
;                 [fetch "0.1.0-alpha2"]
;                 [crate "0.1.0-alpha3"]
;                 [noir "1.3.0-beta2"]
                 ]

$ lein deps
Downloading: org/clojure/clojure/1.4.0/clojure-1.4.0.jar from
repository central at http://repo1.maven.org/maven2
Copying 1 file to /home/bost/dev/webcli/lib

$ find ~/.m2/repository/org/clojure/clojure/ -name clojure-1.4.0.jar
/home/bost/.m2/repository/org/clojure/clojure/1.4.0/clojure-1.4.0.jar

but when I activate the dependencies again:

  :dependencies [[org.clojure/clojure "1.4.0"]
                 [noir-cljs "0.3.0"]
                 [jayq "0.1.0-alpha1"]
                 [fetch "0.1.0-alpha2"]
                 [crate "0.1.0-alpha3"]
                 [noir "1.3.0-beta2"]
                 ]
I get:
$ lein repl
REPL started; server listening on localhost port 55066
user=> (clojure-version)
"1.3.0"

My guess is that any of the dependencies I defined in my project.clj contains
    :dependencies [[org.clojure/clojure "1.3.0"] ... ]
so it overrides my [org.clojure/clojure "1.4.0"]

Bost

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