Re: Lein uberjar hangs when swank is required in the namespace.

2011-08-26 Thread Rob Wolfe


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:

D:\lein repl
user= (slurp http://clojars.org/repo/swank-clojure/swank-clojure/
1.2.1/)

?

Br,
Rob

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


Re: Lein uberjar hangs when swank is required in the namespace.

2011-08-25 Thread Lars Rune Nøstdal
It's hanging here too, but I have no idea why; I'm not including swank.

Is there any verbose mode for lein?

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

Lein uberjar hangs when swank is required in the namespace.

2011-05-06 Thread Trastabuga
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:

project.clj:
(defproject test 1.0.0-SNAPSHOT
  :description FIXME: write description
  :main test.core
  :dependencies [[org.clojure/clojure 1.2.1]
[swank-clojure 1.2.1]
])

core.clj:
(ns test.core
  (:require swank.swank)
  (:gen-class)
)

(defn -main [ args]
  (println hello  args))


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

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


Re: Lein uberjar hangs when swank is required in the namespace.

2011-05-06 Thread J.R. Garcia
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.

On May 6, 12:22 pm, Trastabuga lisper...@gmail.com wrote:
 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:

 project.clj:
 (defproject test 1.0.0-SNAPSHOT
   :description FIXME: write description
   :main test.core
   :dependencies [[org.clojure/clojure 1.2.1]
                 [swank-clojure 1.2.1]
                 ])

 core.clj:
 (ns test.core
   (:require swank.swank)
   (:gen-class)
 )

 (defn -main [ args]
   (println hello  args))

 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

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