From 9e77c6d0ae99198981ee3ea4906d7698ec523311 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sun, 19 Aug 2012 14:14:53 +0200 Subject: Make the Benki compatible with Immutant. --- project.clj | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'project.clj') diff --git a/project.clj b/project.clj index 464c3d5..b035db4 100644 --- a/project.clj +++ b/project.clj @@ -20,7 +20,7 @@ [org.clojure/tools.logging "0.2.3"] [org.clojure/tools.macro "0.1.1"] [org.clojure/tools.namespace "0.1.0"] - [org.clojure/tools.nrepl "0.0.5"] + ;;[org.clojure/tools.nrepl "0.0.5"] [org.clojure/tools.trace "0.7.1"] ;; Web app utilities @@ -32,6 +32,13 @@ [lamina "0.5.0-alpha3"] ;-alpha4 [noir-async "1.1.0-beta9"] + ;; Trial-by-error dependencies + ;; + ;; Netty 3.5.2.Final seems to be required for + ;; Immutant deployment --- throws weird + ;; NoClassDefFound errors otherwise. + [io.netty/netty "3.5.2.Final"] + ;; Relational database access [clojureql "1.0.3"] [postgresql "9.1-901.jdbc4"] @@ -115,4 +122,11 @@ :source-path "src" ;;:jvm-opts ["-Xms32m"] :main mulk.benki.main + :immutant {:resolve-dependencies true + :context-path "/" + ;;:virtual-host "" + ;;:nrepl-port 4112 + ;;:swank-port 4005 ;alternatively: set in config.sexp + :init mulk.benki.main/init! + } :min-lein-version "2.0.0") -- cgit v1.2.3