Fork me on GitHub
#leiningen
<
2017-12-19
>
stardiviner03:12:53

Why I specify lein repl Clojure version like this:

stardiviner03:12:15

:repl {:dependencies
        [
         ^:displace [org.clojure/clojure "1.9.0"]
         ;; [cider/cider-nrepl "0.16.0-SNAPSHOT"]
         ]

stardiviner03:12:42

But I launch lein repl still get Clojure 1.8.0

bostonaholic04:12:32

@stardiviner I just tested and found that it broke in 2.8.0

bostonaholic05:12:29

it works when I downgrade to 2.7.1 and breaks when upgraded to 2.8.0

bostonaholic05:12:17

np. I was really intrigued because I’ve used ^:displace successfully many times before. It was surprising to me that it didn’t work when I tried it.

bostonaholic05:12:33

so I had to get to the bottom of it

stardiviner05:12:32

Me too. Luck that CIDER works fine.

gfredericks12:12:17

I just used a deps.edn for the first time the other day and now I'm wondering about if/how it might integrate with leiningen

gfredericks12:12:26

I assume this must have been talked about a lot already

gfredericks12:12:40

oh there it is

gfredericks12:12:48

I only had to scroll up two screens' worth to find it

gfredericks12:12:57

I should have done that first

mikerod14:12:40

@gfredericks I wanted to hear about this too and haven’t seen it on here - I’ll start scrolling

rickmoynihan17:12:50

@gfredericks: FYI this is pretty experimental just now, and not been used in any real project other than the example…

rickmoynihan17:12:41

you can check the issues on github for things left to do / consider… If anymore occur feel free to open issues too… or maybe I’m just doing it wrong ™️

mikerod14:12:01

hah thanks

dealy16:12:45

I upgraded to Java9 and am getting a classnotfoundexception for java/sql/Timestamp, it happens really early when I start leiningen, then I tried upgrading to 2.8.1 and got a not found excp for sun.misc.Launcher. Do I have to go back to Java 8 to use leiningen?

gfredericks16:12:41

does this happen outside of a project with LEIN_NO_USER_PROFILES=1?

dealy16:12:23

no, it seems to be working now, I guess that error when I did lein upgrade 2.8.1 didn't stop the upgrade from happening

dealy16:12:43

It looks like things are working now, weird