Justin Balthrop <[email protected]> writes:
Hi Justin,
> 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}
I did just that, but I don't get any speedup with leiningen. All I can
see is that after every leiningen command, "drip ps" shows one process
more. For example:
--8<---------------cut here---------------start------------->8---
$ cd ~/Repos/clj/kibit
$ drip kill
$ drip ps
$ lein test
...
$ lein test
...
$ lein test
...
$ drip ps
17220 org.flatland.drip.Main clojure.main
/home/horn/.drip/0.1.6/e462f721d1cfab227ee0c50b3ef67a1b9989f0de/17199-1
-XX:+TieredCompilation -Dfile.encoding=UTF-8 -Dmaven.wagon.http.ssl.easy=false
-Dleiningen.original.pwd=/home/horn/Repos/clj/kibit
-Dleiningen.trampoline-file=/tmp/lein-trampoline-17194 -Djava.awt.headless=true
-Xbootclasspath/a:/home/horn/.m2/repository/org/flatland/drip/0.1.6/drip-0.1.6.jar:/home/horn/.lein/self-installs/leiningen-2.0.0-preview10-standalone.jar
17391 org.flatland.drip.Main clojure.main
/home/horn/.drip/0.1.6/c08541c251bf3c78f4649a0027fd7b01fb64ddeb/17370-1
-XX:+TieredCompilation -Dfile.encoding=UTF-8 -Dmaven.wagon.http.ssl.easy=false
-Dleiningen.original.pwd=/home/horn/Repos/clj/kibit
-Dleiningen.trampoline-file=/tmp/lein-trampoline-17365 -Djava.awt.headless=true
-Xbootclasspath/a:/home/horn/.m2/repository/org/flatland/drip/0.1.6/drip-0.1.6.jar:/home/horn/.lein/self-installs/leiningen-2.0.0-preview10-standalone.jar
17555 org.flatland.drip.Main clojure.main
/home/horn/.drip/0.1.6/4a62e39544ca1ff2a240db959b73d921d6e47efe/17534-1
-XX:+TieredCompilation -Dfile.encoding=UTF-8 -Dmaven.wagon.http.ssl.easy=false
-Dleiningen.original.pwd=/home/horn/Repos/clj/kibit
-Dleiningen.trampoline-file=/tmp/lein-trampoline-17529 -Djava.awt.headless=true
-Xbootclasspath/a:/home/horn/.m2/repository/org/flatland/drip/0.1.6/drip-0.1.6.jar:/home/horn/.lein/self-installs/leiningen-2.0.0-preview10-standalone.jar
--8<---------------cut here---------------end--------------->8---
However, the test from the drip homepage works:
$ drip -cp clojure.jar clojure.main -e '(* 6 6)'
It gets faster the second time, and if I repeat the command a few times,
"drip ps" still shows only one process, not one for every invocation.
I guess the problem is the option
-Dleiningen.trampoline-file=/tmp/lein-trampoline-XXX
with leiningen which doesn't make the command lines equal.
I use leiningen-2.0.0-preview10. Is drip supposed to work with that?
Bye,
Tassilo
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en