Hi

I seem to have a problem running it with leiningen:

After setting LEIN_JAVA_CMD I run 'lein test' 3 times and 'lein repl' 2
times. Here's the output of 'drip ps':

37826 org.flatland.drip.Main clojure.main
/Users/haim/.drip/0.1.4/7f5d7985a3c16a2f30c1614767d09d71c419b13e/37801-1
-XX:+TieredCompilation -Dfile.encoding=UTF-8
-Dmaven.wagon.http.ssl.easy=false
-Dleiningen.original.pwd=/Users/haim/Documents/Projects/moritz34
-Dleiningen.trampoline-file=/tmp/lein-trampoline-37796
-Djava.awt.headless=true
-Xbootclasspath/a:/opt/homebrew/Cellar/drip/0.1.4/libexec/bin/../drip.jar:/Users/haim/.lein/self-installs/leiningen-2.0.0-preview10-standalone.jar
37910 org.flatland.drip.Main clojure.main
/Users/haim/.drip/0.1.4/6a85d0253eb4ac050459980830b8e59bad6f892d/37885-1
-XX:+TieredCompilation -Dfile.encoding=UTF-8
-Dmaven.wagon.http.ssl.easy=false
-Dleiningen.original.pwd=/Users/haim/Documents/Projects/moritz34
-Dleiningen.trampoline-file=/tmp/lein-trampoline-37880
-Djava.awt.headless=true
-Xbootclasspath/a:/opt/homebrew/Cellar/drip/0.1.4/libexec/bin/../drip.jar:/Users/haim/.lein/self-installs/leiningen-2.0.0-preview10-standalone.jar
37863 org.flatland.drip.Main clojure.main
/Users/haim/.drip/0.1.4/ef3e475a67c8f52aa61a9cc20262da3ef3d2a540/37838-1
-XX:+TieredCompilation -Dfile.encoding=UTF-8
-Dmaven.wagon.http.ssl.easy=false
-Dleiningen.original.pwd=/Users/haim/Documents/Projects/moritz34
-Dleiningen.trampoline-file=/tmp/lein-trampoline-37833
-Djava.awt.headless=true
-Xbootclasspath/a:/opt/homebrew/Cellar/drip/0.1.4/libexec/bin/../drip.jar:/Users/haim/.lein/self-installs/leiningen-2.0.0-preview10-standalone.jar
37789 org.flatland.drip.Main clojure.main
/Users/haim/.drip/0.1.4/ee72afecd652d5acad7c57005396c9f94b52b523/37764-1
-XX:+TieredCompilation -Dfile.encoding=UTF-8
-Dmaven.wagon.http.ssl.easy=false
-Dleiningen.original.pwd=/Users/haim/Documents/Projects/moritz34
-Dleiningen.trampoline-file=/tmp/lein-trampoline-37759
-Djava.awt.headless=true
-Xbootclasspath/a:/opt/homebrew/Cellar/drip/0.1.4/libexec/bin/../drip.jar:/Users/haim/.lein/self-installs/leiningen-2.0.0-preview10-standalone.jar
37751 org.flatland.drip.Main clojure.main
/Users/haim/.drip/0.1.4/8ea454b26e49ac850aae5d3092d3245895004797/37726-1
-XX:+TieredCompilation -Dfile.encoding=UTF-8
-Dmaven.wagon.http.ssl.easy=false
-Dleiningen.original.pwd=/Users/haim/Documents/Projects/moritz34
-Dleiningen.trampoline-file=/tmp/lein-trampoline-37721
-Djava.awt.headless=true
-Xbootclasspath/a:/opt/homebrew/Cellar/drip/0.1.4/libexec/bin/../drip.jar:/Users/haim/.lein/self-installs/leiningen-2.0.0-preview10-standalone.jar

It seems that every run spawns new drip server. I read that drip matches
the arguments so maybe the different lein-trampoline file causes this.

I'm using Leiningen 2.0.0-preview10

Thanks

On Mon, Sep 10, 2012 at 7:31 PM, Justin Balthrop
<jus...@justinbalthrop.com>wrote:

> Drip is a drop in replacement for the 'java' command that provides faster
> startup times. It does this by keeping a fresh JVM spun up in reserve with
> the correct classpath and other JVM options so you can quickly connect and
> use it when needed, then throw it away.
>
> Drip works with Clojure and Leiningen. Drip also works with other JVM
> languages like Scala and JRuby.
>
> It's easy to install. Just follow the instructions here:
>
> https://github.com/flatland/drip
>
> There are also some speed comparisons on the wiki:
>
> https://github.com/flatland/drip/wiki
>
> Once you've installed drip, setting up Leiningen to use it just requires
> adding the following to ~/.lein/leinrc:
>
> LEIN_JAVA_CMD=${LEIN_JAVA_CMD-drip}
>
> As some of you know, I implemented the persistent JVM in Cake. Compared to
> that, Drip is not quite as fast, but way less of a headache to use. It
> strikes a way better balance between fast and correct. You don't have to
> worry about running 'cake kill' when the state of your persistent JVM gets
> corrupt.
>
> Let us know in #flatland or #leiningen on IRC how it works for you once
> you try it!
>
> - Justin
>
>  --
> 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




-- 
Haim

-- 
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

Reply via email to