This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-10-23
Channels
- # aws-lambda (2)
- # beginners (40)
- # calva (9)
- # cider (17)
- # clojure (84)
- # clojure-europe (13)
- # clojure-nl (1)
- # clojure-norway (77)
- # clojure-uk (26)
- # conjure (1)
- # cursive (7)
- # datomic (7)
- # events (1)
- # exercism (1)
- # gratitude (2)
- # hyperfiddle (4)
- # improve-getting-started (10)
- # jobs-discuss (12)
- # malli (4)
- # missionary (12)
- # off-topic (22)
- # other-languages (4)
- # pedestal (3)
- # portal (6)
- # reagent (6)
- # reitit (1)
- # releases (1)
- # ring (4)
- # shadow-cljs (2)
- # thejaloniki (2)
- # tools-build (27)
- # tools-deps (4)
- # vim (6)
I'm trying to get a project that depends on Clojure 1.5 up and running. When I launch the repl (via Leiningen), I get
As of 2.8.2, the repl task is incompatible with Clojure versions older than 1.7.0.
You can downgrade to 2.8.1 or use `lein trampoline run -m clojure.main` for a simpler fallback repl.
In Settings -> Build, Ex, Depl -> Build Tools -> Leiningen
I can select v2.9.2 but nothing older.
Is it possible to get a working repl with Leiningen v2.8.1?Seems Cursive dropped support for Lein 2.8.1 to support newer versions of nrepl:
https://github.com/cursive-ide/cursive/issues/2120
Anyway, I can still get a repl by using the clojure.main
repl type, and "Run with IntelliJ Project classpath".
Awesome 🙂 Here's hoping Cursive keeps supporting older Clojure versions:crossed_fingers:
Btw in case anyone wonders, I'm trying to use the http://piplin.org/ library, which is unmaintained, and doesn't support Clojure > 1.5 (I think it's partly due to some lisp-macro hackery)
The issue you linked was included in Cursive 1.8.1. So you need Cursive 1.8.0. By expanding the table at https://plugins.jetbrains.com/plugin/8090-cursive/versions/stable we see that the latest matching IntelliJ version is 2018.3.6 Which you can download from here: https://www.jetbrains.com/idea/download/other.html#:~:text=2018.3.6 If you download the tag.gz / zip file, you should be able to run that side by side with you current IntelliJ (and it will auto-downgrade the Cursive plugin in it to 1.8.0 while keeping the current version in your current IntelliJ).
Right, if you want to downgrade Cursive you can install the community edition of IntelliJ in an older version, assuming you’re running IntelliJ Ultimate for most things. Or Toolbox will let you download multiple versions I believe.