Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



Shameless 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


Thanks! 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).



Was 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).


I 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), it will work fine. Alternatively you can upgrade to Java 7.

I've filed an issue here: https://github.com/flatland/drip/issues/50




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: