leiningen 2022-08-22

Hi all 🙂 I started using lein checkouts via the checkout directory, it seems to work well but the problem I have is that I no longer have any logs output to the console. I was doing this via resources/logback.xml and setting the level to info. If I move the checkouts directory out of the way then logging functions as expected. (`Leiningen 2.9.8 on Java 17.0.3 OpenJDK 64-Bit Server VM`). Is there something I have missed or could there be some conflict with the source of the dependency in checkouts?

Ah yes it seems the logging configuration of the dependency is steamrollering that of the parent project, is there any way to avoid that?

the simplest thing you could do is delete their file, it's on your machine anyway

another way would be to ditch checkouts, and use :source-paths ["/Path/to/their-project/src"] that way you have their src but not their resources

Ah that sounds good, that’s all I need really I think

🍻 1

Is it common that one would want dependencies’ resources? It seems that source-paths would alway suffice

Not sure if common, but it's a reasonable default :) e.g. it could declare necessary reader tags (https://clojuredocs.org/clojure.core/*data-readers*)

Ah that’s interesting, thanks for the info 🙂 I am very new to Clojure

🙌 1