Interesting! How do you get back the nrepl port that has been open by the nrepl server in an independent way ? (Currently for ccw I manage to have the process print an nrepl://server:port to stdout and waits for that)
Le samedi 8 août 2015, Bozhidar Batsov <bozhi...@batsov.com> a écrit : > On 8 August 2015 at 11:42, Sean Corfield <s...@corfield.org > <javascript:_e(%7B%7D,'cvml','s...@corfield.org');>> wrote: > >> - test-all: isn't there an existing support for launching tests in >> clojure-maven-plugin-maven-plugins ? Naive question: in your current >> workflow, you relaunch the Lein executable each time via an emacs command? >> Or is it via an nrepl client session connected to the same repl that emacs >> uses for your own user interactions? >> >> >> Test-all is just an alias in Leiningen. It can be any series of tasks. It >> was an example of a command line that I want to be able to run that isn’t >> mvn test. >> >> - test-all: is there, and do you use, a mode which automatically >> relaunches the tests when source code changes are detected on the >> filesystem? >> >> >> No, generally I don’t. >> >> - jack in: is that the term in emacs for an action which will connect to >> "a repl" ("the repl?" - sorry for my lack of knowledge), and potentially >> start a new jvm process for the project under development (bu starting >> leiningen via its shell script or maybe crating the command line for >> calling java clojure.main -i leiningen.main/-main ?) >> >> >> Yes, jack-in is an nrepl/cider term for starting a REPL (with Leiningen) >> using the current project.clj. >> > > Just a small clarification - it's a term involving starting a local nREPL > server for the current project and connecting to it. You don't really have > to use lein for this - boot is also supported out-of-the-box and in theory > every command creating an nREPL server would work. > > >> >> Basically I want contrib projects to be as easy to work with as >> non-contrib projects (which all have project.clj files and use Leiningen) >> and that’s why I have project.clj for clojure.java.jdbc. I have a variety >> of dependencies in project.clj that might be different to the pom.xml >> because I run a different set of tests etc. For example I have the MS SQL >> JDBC library installed locally and I test against a VM running XP and SQL >> Server. That’s not relevant for the pom.xml. >> >> I’m not interested in using Maven for this: Maven is a necessary evil as >> far as I’m concerned for the build server. I also don’t want to use Eclipse >> or IntelliJ or any of those "Java IDEs". >> >> I wish Clojure/core would support Leiningen fully and use it for the >> build system and for Sonatype / Maven Central deployments so we didn’t need >> pom.xml at all. >> >> Sean >> >> -- >> 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 >> <javascript:_e(%7B%7D,'cvml','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 >> <javascript:_e(%7B%7D,'cvml','clojure%2bunsubscr...@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 >> <javascript:_e(%7B%7D,'cvml','clojure%2bunsubscr...@googlegroups.com');>. >> 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 > <javascript:_e(%7B%7D,'cvml','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 > <javascript:_e(%7B%7D,'cvml','clojure%2bunsubscr...@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 > <javascript:_e(%7B%7D,'cvml','clojure%2bunsubscr...@googlegroups.com');>. > For more options, visit https://groups.google.com/d/optout. > -- Laurent Petit -- 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.