For what it's worth we're using Gorilla *after* leiningen. Leiningen is used to make an uberjar, but then we start the gorilla server in our own main. This is because we're running gorilla inside of our hadoop environment. This way we have a gorilla instance that can issue live cascalog queries to the cluster :-)
On Tuesday, September 2, 2014 7:26:51 AM UTC+10, stuart....@gmail.com wrote: > > Hi Jony, > > I sent you a pull request. I believe adding those items is correct and > necessary for producing a usable JAR, and that the build works so long as > you have a recent version of leiningen. > > Stu > > > On Mon, Sep 1, 2014 at 5:04 PM, Jony Hudson <jonye...@gmail.com > <javascript:>> wrote: > >> Ahh, nice, yes that's a simple way to do it if you can manage to add the >> code somewhere. >> >> Regarding the dependencies - Leiningen adds both of the dependencies you >> list. I did declare them explicitly at one point, but I recall having some >> odd error, so I decided to take them back out rather than debug it! It's >> possibly related to this, but like I say I didn't put any time into >> investigating it, so could be a red herring: >> https://github.com/technomancy/leiningen/issues/1569 >> >> >> Jony >> >> >> On Monday, 1 September 2014 21:57:07 UTC+1, stuart....@gmail.com wrote: >>> >>> And now, answering part of my own question. It appears the following >>> almost "just works" from a maven project that references gorilla: >>> >>> (require '[gorilla-repl.core :as gorilla]) >>> (gorilla/run-gorilla-server {:port 8990}) >>> >>> The only problem is that gorilla's declaration of its own dependencies >>> appears incomplete. When I try to run the snippet above, I fail for lack >>> of org.clojure/tools.nrepl and clojure-complete. Adding them as explicit >>> dependencies in my own project fixes the problem. My quick guess is that >>> these two libs need to be added to gorilla's own dependencies. (One >>> wonders why it works inside of lein...) >>> >>> Stu >>> >>> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to clo...@googlegroups.com >> <javascript:> >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> clojure+u...@googlegroups.com <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/clojure?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Clojure" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to clojure+u...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.