Just wanted to say that lein-nailgun is just a very primitive plugin, which is why you're seeing all kinds of problems.
Essentially, it's a one-liner that calls the main function in com.martiansoftware.nailgun.NGServer. To call nailgun as a server inside a plugin, I think the only way would be to invoke a child process with the arguments you suggested (i.e java -server ......blah blah). I'll try to see if it'll work when I get some free time (tomo night?). On Dec 3, 8:13 am, bOR_ <boris.sch...@gmail.com> wrote: > Additionally, Ato's nailgun also generates two warnings upon > installing with 'lein deps': > > [WARNING] POM for 'org.clojars.ato:nailgun:pom:0.7.1:compile' is > invalid. It will be ignored for artifact resolution. Reason: Not a > v4.0.0 POM. for project org.clojars.ato:nailgun at /home/boris/.m2/ > repository/org/clojars/ato/nailgun/0.7.1/nailgun-0.7.1.pom > [WARNING] POM for 'org.clojars.ato:nailgun:pom:0.7.1:compile' is > invalid. It will be ignored for artifact resolution. Reason: Not a > v4.0.0 POM. for project org.clojars.ato:nailgun at /home/boris/.m2/ > repository/org/clojars/ato/nailgun/0.7.1/nailgun-0.7.1.pom > > but these don't seem to have a negative effect. > > 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. > > > On Dec 2, 2:16 pm, bOR_ <boris.sch...@gmail.com> wrote: > > > > Q: I noticed that the leinnailgunruns as java -client. Being used to > > > seeing -server everywhere, I wonder if the -client bit makes sense, > > > and if it slows down simulations that are running in the vimclojure > > > environment. > > > > ps x | grep java > > > > 29248 pts/1 Sl 0:01 java -client -cp src/:classes/:lib/plexus- > > > utils-1.5.5.jar:lib/maven-profile-2.0.10.jar:lib/maven-plugin- > > > registry-2.0.10.jar:lib/plexus-container-default-1.0-alpha-9- > > > stable-1.jar:lib/maven-artifact-manager-2.0.10.jar:lib/ > > > jtidy-4aug2000r7-dev.jar:lib/maven-ant-tasks-2.0.10.jar:lib/ant- > > > launcher-1.6.2.jar:lib/ant-1.6.2.jar:lib/classworlds-1.1- > > > alpha-2.jar:lib/wagon-http-shared-1.0-beta-2.jar:lib/maven-repository- > > > metadata-2.0.10.jar:lib/wagon-http-lightweight-1.0-beta-2.jar:lib/ > > > leiningen-1.0.0-20091119.123056-1.jar:lib/clojure-1.1.0- > > > alpha-20091126.000150-7.jar:lib/maven-error-diagnostics-2.0.10.jar:lib/ > > > clojure-contrib-1.0-20091130.190214-24.jar:lib/ > > > automaton-1.11.2.jar:lib/maven-artifact-2.0.10.jar:lib/lein-nailgun-0.1.0.jar:lib/wagon-file-1.0-beta-2.jar:lib/wagon-provider- > > > api-1.0-beta-2.jar:lib/maven-settings-2.0.10.jar:lib/xml- > > > apis-1.0.b2.jar:lib/maven-project-2.0.10.jar:lib/plexus- > > > interpolation-1.1.jar:lib/vimclojure-2.1.2.jar:lib/maven- > > > model-2.0.10.jar::/home/boris/.m2/repository/leiningen/leiningen/0.5.0/ > > > leiningen-0.5.0.jar leiningen.corenailgun > > > > On Nov 27, 4:19 pm, Meikel Brandmeyer <m...@kotka.de> wrote: > > > > > Hi, > > > > > On Nov 27, 4:16 pm, bOR_ <boris.sch...@gmail.com> wrote: > > > > > > using vimclojures'nailgun, I would have a line like this added to > > > > > my .vimrc file. Can I still use that? > > > > > > let vimclojure#NailgunClient = "/home/boris/opt/vimclojure/ng" > > > > > You still need this. Leiningen only starts the server, will this is > > > > the client. Without telling VC where to find the client, you cannot > > > > talk to the server. So this is required. > > > > > Sincerely > > > > Meikel -- 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