Re:Fast JVM launching without the hassle of persistent JVMs
by pbiggar on Saturday November 17, 2012 @11:37AM
(#4798411)
Does anyone know how to use with with lein?
[ Parent
| on HN ]
Re:Fast JVM launching without the hassle of persistent JVMs
by aaroniba on Saturday November 17, 2012 @09:31PM
(#4799645)
It looks like drip does not automatically work with lein:
https://github.com/flatland/drip/issues/36
Here's my workaround to use drip to start up lein repls instantly:
https://gist.github.com/4103370
Should work with lein1 & lein2.
Re:Fast JVM launching without the hassle of persistent JVMs
by welp on Saturday November 17, 2012 @11:55AM
(#4798456)
Using lein2, you can run the following:
$ JAVA_CMD=drip lein ...
Re:Fast JVM launching without the hassle of persistent JVMs
by airlocksoftware on Saturday November 17, 2012 @01:46PM
(#4798725)
What does this do exactly? Will it permanently change lein to use drip? Or only temporarily for whichever command replaced the "...". Also, do you know if the advice here: https://github.com/flatland/drip/wiki/Clojure
works with lein2?
Re:Fast JVM launching without the hassle of persistent JVMs
by mcav on Saturday November 17, 2012 @02:03PM
(#4798766)
That command runs drip only for that particular invocation of the command. You can put the following:
export JAVA_CMD=drip
into your ~/.profile (etc) file to have it affect all future Java launches from leiningen.