Fork me on GitHub
#cider
<
2020-02-03
>
finn.volkel12:02:28

Hey working on some on cider-nrepl and lein test gives me

Exception in thread "main" java.lang.RuntimeException: Unable to resolve var: *print-namespace-maps* in this context, compiling:(leiningen/core/main.clj:342:5)
other projects and for example lein repl run fine. Any ideas ?

finn.volkel13:02:10

Ok seems to be some issue related to clojure 1.8. But I still can't run the tests. With lein with-profile 1.9 test I get

Exception in thread "main" .FileNotFoundException: Could not locate leiningen/core/main__init.class or leiningen/core/main.clj on classpath., compiling:(cider_nrepl/plugin.clj:1:1)
also tried with mranderson but that didn't help.

finn.volkel13:02:49

Ok. I had to include the dev profile. That makes 1.9, 1.10 tests work, but still stuck on 1.8.

bozhidar19:02:30

Used make test.

bozhidar19:02:44

The profile incantations are rather complex. 🙂

finn.volkel19:02:10

Ah thanks. Didn't know that needed to run before.

finn.volkel19:02:14

@ that also fails with

lein with-profile +1.10,+test,+plugin.mranderson/config test
Syntax error (FileNotFoundException) compiling at (cider/nrepl/middleware/apropos.clj:1:1).
Could not locate orchard/apropos__init.class, orchard/apropos.clj or orchard/apropos.cljc on classpath.

bozhidar20:02:26

Hmm, perhaps a make clean would help?

bozhidar20:02:42

Orchard is definitely a dep, so I can’t imagine why this class would not get loaded.

finn.volkel20:02:26

I also don't know if the plugin part of cider-nrepl still works with clojure 1.8. As leiningen itself now depends on some stuff of 1.9

finn.volkel20:02:42

the make clean did the trick

finn.volkel20:02:01

at least for now 😉

bozhidar08:02:29

Btw, if you have a moment - please update those outdated comments you’ve spotted in the debugger’s implementation. Thanks in advance!

finn.volkel12:02:59

Will do at some point.