On Dec 3, 3:19 pm, bOR_ <boris.sch...@gmail.com> wrote:
> Second question: how do I access documentation of a lein nailgun
> plugin? I know how to start it, but to stop it, I now just kill its
> pid.

Answered that by just vimming the lein-nailgun.jar file :).

Next bit of trivia:
There are currently two nailgun clients in Clojars. Both work, but the
[lein-nailgun "0.1.0"] one gives me an error when trying to deal with
agents as well as loads 25+ different jar files into 'lib', whereas
the other one ([org.clojars.ato/nailgun "0.7.1"]) doesn't load any
extra dependencies, and works just fine with vim.

The error is:
#<CompilerException java.util.concurrent.RejectedExecutionException
(REPL:1)>

upon trying (send (agent 1) inc) in a vim/repl. Just trying the same
in a lein repl works fine.

The downside of using ato's nailgun is that you have to manually start
it (with something like java -server -Xms256m -Xmx2048m -cp
'src:classes:lib/*' com.martiansoftware.nailgun.NGServer 127.0.0.1 &)
rather than just typing 'lein nailgun'.




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