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

Reply via email to