This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-08-22
Channels
- # aws (12)
- # babashka (24)
- # beginners (51)
- # biff (2)
- # cherry (4)
- # cider (2)
- # clj-kondo (4)
- # cljs-dev (19)
- # clojure (70)
- # clojure-australia (4)
- # clojure-europe (39)
- # clojure-nl (4)
- # clojure-norway (6)
- # clojure-spec (9)
- # clojurescript (21)
- # component (6)
- # cursive (18)
- # data-science (9)
- # datomic (18)
- # events (2)
- # expound (4)
- # fulcro (15)
- # graalvm (2)
- # graphql (5)
- # jobs (1)
- # juxt (2)
- # leiningen (8)
- # malli (4)
- # meander (21)
- # nrepl (3)
- # observability (14)
- # off-topic (49)
- # other-languages (1)
- # pathom (13)
- # pedestal (7)
- # rdf (5)
- # re-frame (10)
- # reitit (1)
- # sql (4)
- # squint (30)
- # tools-deps (1)
- # vim (11)
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?
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
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