Hmm.... at this point, I think it makes more sense to add vimclojure in your dev-dependencies, and then running
java -server -Xms256m -Xmx2048m -cp 'src:classes:lib/*' com.martiansoftware.nailgun.NGServer 127.0.0.1 & I know that the next version of leiningen will likely have some sort of "run" command. Hopefully, it'll incorporate running java classes as well. If not, one could easily make an alias for the above command in their UNIX environment. On Dec 3, 3:58 pm, Gilbert <gilbert.kf.le...@gmail.com> wrote: > Also, ato's nailgun is just a plain nailgun server. It doesn't have > any of the vimclojure stuff attached to it. All the extra dependencies > from lein-nailgun is from vimclojure.jar. > > 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.j > > > > ar: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