Lein deps failure

27 views
Skip to first unread message

Brian Troutwine

unread,
Jun 7, 2010, 2:09:40 PM6/7/10
to clo...@googlegroups.com
Hello all,

I have the following in project.clj in my newly lein generated project:


(defproject void "1.0.0"
:description "A toy."
:dependencies [[org.clojure/clojure "1.1.0"]
[org.clojure/clojure-contrib "1.1.0"]]
:dev-dependencies [[org.clojure/swank-clojure "1.2.1"]])

Running "lein deps" I receive the error log available here:
http://paste.lisp.org/display/111226

Lein reports that it is "Leiningen 1.1.0 on Java 1.6.0_12 Java
HotSpot(TM) Client VM".

Am I doing something crazy, or is this a bug?

--
Brian

patrik karlin

unread,
Jun 7, 2010, 3:16:24 PM6/7/10
to clo...@googlegroups.com
Hey Brian

change [org.clojure/swank-clojure "1.2.1"] => [swank-clojure "1.2.1"]


2010/6/7 Brian Troutwine <br...@troutwine.us>:

> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@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+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

--
------------------------------------------------
Nick: Korre
Email: patrik...@gmail.com
------------------------------------------------

Brian Troutwine

unread,
Jun 7, 2010, 3:20:45 PM6/7/10
to clo...@googlegroups.com
Interesting, that works perfectly. Thanks!

Why does this work?

Meikel Brandmeyer

unread,
Jun 7, 2010, 6:20:40 PM6/7/10
to clo...@googlegroups.com
Hi,

Am 07.06.2010 um 21:20 schrieb Brian Troutwine:

> Why does this work?


>> change [org.clojure/swank-clojure "1.2.1"] => [swank-clojure "1.2.1"]

Each dependency has a group and an artifact name. org.clojure/swank-clojure means group "org.clojure" and artifact "swank-clojure". swank-clojure is a short hand notation for swank-clojure/swank-clojure.

So it works, because you look in the right place. ;)

Sincerely
Meikel

Brian Troutwine

unread,
Jun 7, 2010, 6:42:26 PM6/7/10
to clo...@googlegroups.com
Indeed. This was a helpful resource, for those in the future that face
a similar issue and are not familiar with Java packaging:

http://github.com/technomancy/leiningen/blob/master/INTRO.md

Reply all
Reply to author
Forward
0 new messages