Fork me on GitHub
#leiningen
<
2018-07-21
>
curtosis13:07:34

I’m seeing a strange issue with checkout deps… I have a locally-edited library linked in my checkouts/ directory, version numbers match everywhere they’re supposed to, but when I try and run my main project I get FileNotFound errors looking for the test fixtures on the library.

curtosis13:07:47

This makes no sense to me … any pointers to why this would happen? Halp?

curtosis13:07:44

to be clear: the test fixtures do exist in the library project. just no idea why my main project is looking for them at all on a simple lein repl

curtosis13:07:50

when I remove it from checkouts/ (i.e. just have it in my local ~/.m2 repo) I get errors looking for the library’s core-test.clj. Baffling.

Timo Freiberg13:07:43

lein version, clojure version?

curtosis13:07:43

Leiningen 2.8.1 on Java 9.0.4 Java HotSpot(TM) 64-Bit Server VM, Clojure 1.9.0

curtosis13:07:27

argh… I’ve been banging my head against it for 3 hours and as soon as I ask the question I think I figured it out…

curtosis13:07:06

I have a composite :dev profile that pulls from profiles.clj (for env). I used :dev instead of :profiles/dev, so it was overwriting the :dev profile.

curtosis13:07:36

Not sure why that suddenly wanted to bring in all the test code, but I guess I’ve never really looked at what the default :dev profile is actually doing.

Timo Freiberg14:07:46

so you fixed it?

curtosis14:07:23

I did

👍 4