Fork me on GitHub
#leiningen
<
2019-05-13
>
domparry13:05:59

Does anyone have a neat way of debugging what’s happening when running lein repl?

domparry13:05:13

We have a developer that has set up his clojure environment from scratch on two different machines. One on Linux, and one on MacOS. In both of these, one particular project times out on lein repl

domparry13:05:36

if he starts the repl with cider, then it takes 15 minutes, but starts up in the end.

domparry14:05:19

We’ve tried a clean re-install of all the things, re-pulled the repo, removed the .m2 folder, and even changed JRE…. But it’s still happening.

domparry14:05:45

No-one else has this issue. He also doesn’t have a .lein folder in his home folder… So no funnies in there.

Alex Miller (Clojure team)14:05:05

is there a user.clj file?

Alex Miller (Clojure team)14:05:39

we have a known perf degradation on newer versions of Java related to user.clj loading (Java 8u201+, 11.0.2, 12)

domparry14:05:38

in the project? yes. There is a user.clj. Thanks, I’ll look into that.

Alex Miller (Clojure team)14:05:14

you can try using Clojure 1.10.1-beta2 too if that's easy to check. If that fixes it, then then that's likely the issue (we have a workaround to avoid this in there)

Alex Miller (Clojure team)14:05:41

hopefully we'll get 1.10.1 out in the next couple of weeks

domparry15:05:49

Thanks @alexmiller. I’ll give that a shot.

dangercoder20:05:56

Hi! I'm trying to deploy to clojars using leiningen lein deploy clojars . How do I disable GPG? Got something like this right now in my project.clj:

:deploy-repositories [["releases"  {:sign-releases false :url ""}]
                        ["snapshots" {:sign-releases false :url ""}]]