3 ms·
Fast startup time can be achieved through Drip[1], which is rather easy to setup for Leiningen use. [1]: https://github.com/flatland/drip/wiki/Clojure https://
by JeanPierre 14y ago
Fast startup time can be achieved through Drip[1], which is rather easy to setup for Leiningen use.
[1]: https://github.com/flatland/drip/wiki/Clojure https://github.com/flatland/drip/wiki/Clojure
- josteink 14y agoShameless plug: Just because I wanted to learn how to create Leiningen plugins, I wrote a plugin to download and bootstrap drip and install it as the default Leiningen JVM. Might want to give that a try too: https://github.com/josteink/lein-drip https://github.com/josteink/lein-drip
- pbiggar 14y agoThanks! However, I'm not seeing any speedup. On lein 2.0.0, there doesn't seem to be any difference between using and not using drip. (Everything I tried got me startup times around the 28s-31s).
- scottjad 14y agoSomeone just fixed it, try again. https://github.com/flatland/drip/wiki/Clojure/_compare/8733641e714006f8da8ab1cb081f7a0bf6d6e23d...f953a9221f8b6f3f772b3a05903aa70746a58bad https://github.com/flatland/drip/wiki/Clojure/_compare/87336...
- pbiggar 14y agoWas the fix just to the leinrc command, or should I update drip too (I'm using 0.1.8, installed via homebrew). I tried it with the new leinrc command, and got the same result (in both cases I verified that drip servers were being started using `ps aux | gerp drip`, and they were).
- metajack 14y agoI had this problem as well. Turns out that drip fails silently if you have Java 6. If you get drip from the checkout (very easy and instructions are at https://github.com/flatland/drip https://github.com/flatland/drip), it will work fine. Alternatively you can upgrade to Java 7. I've filed an issue here: https://github.com/flatland/drip/issues/50 https://github.com/flatland/drip/issues/50