Lein uberjar hangs when swank is required in the namespace.
173 views
Skip to first unread message
Trastabuga
unread,
May 6, 2011, 1:22:29 PM5/6/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Clojure
Hi
I got a problem including swank into the project.
I created a simple test project with "lein new test"
And modified the project.clj and core.clj files so they look like:
Now if I run "lein uberjar" it hangs after saying "Copying 2 files to
D:\Dev\test\clojure\projects\test\lib"
If I comment out the (:require swank.swank) line, it works.
Also if I uncomment (:require swank.swank) and comment out :main
test.core line in the project.clj file it also works.
Why lein hangs and how can I fix it?
Thank you,
Andrei
J.R. Garcia
unread,
May 6, 2011, 8:09:17 PM5/6/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Clojure
Are you sure you really want/need swank as a dependency? If you just
need to run swank for interactive development put it in dev-
dependencies.
Lars Rune Nøstdal
unread,
Aug 25, 2011, 5:10:10 PM8/25/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to clo...@googlegroups.com
It's hanging here too, but I have no idea why; I'm not including swank.
Is there any "verbose mode" for lein?
Rob Wolfe
unread,
Aug 26, 2011, 9:03:54 AM8/26/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Clojure
On 25 Sie, 23:10, Lars Rune Nøstdal <larsnost...@gmail.com> wrote:
> It's hanging here too, but I have no idea why; I'm not including swank.
>
> Is there any "verbose mode" for lein?
Maybe there is some problem with network (firewall or something)
and you can not get jars from remote repository.
Does it work for you: