As I mentioned in my previous post
http://groups.google.com/group/clojure/browse_thread/thread/4bb9cfe0d3870c1e
If I put (ns ...
(:require swank.swank))
in the beginning of the main file, the lein uberjar hangs after
copying files.
That's why I wanted to try a different approach.
Thank you,
The (@(resolve 'swank.swank/start-repl) 4006) works well!
Thank you,
Andrei
On May 14, 1:49 pm, Meikel Brandmeyer m...@kotka.de wrote:
Hi,
Am 14.05.2011 um 00:35 schrieb Trastabuga:
I(defn -main [ args]
(do
(require 'swank.swank)
(swank.swank/start-repl 4006))
(run-jetty
The require should (is preferred to be) in the ns form at the beginning of
the file, i.e.
(ns ...
(:require swank.swank))
Jonathan
On Sat, May 14, 2011 at 12:35 AM, Trastabuga lisper...@gmail.com wrote:
I am trying to compile a project with lein uberjar.
My main function looks like:
Hi,
Am 14.05.2011 um 00:35 schrieb Trastabuga:
I(defn -main [ args]
(do
(require 'swank.swank)
(swank.swank/start-repl 4006))
(run-jetty main-routes {:port 8080 :join? false})
)
You have to delay the resolution.
(defn -main
[ args]
(require 'swank.swank)
(@(resolve
I am trying to compile a project with lein uberjar.
My main function looks like:
(defn -main [ args]
(do
(require 'swank.swank)
(swank.swank/start-repl 4006))
(run-jetty main-routes {:port 8080 :join? false})
)
The compiler complains about swank.swank/start-repl because the swank