This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-07-25
Channels
- # announcements (9)
- # babashka (38)
- # beginners (41)
- # biff (1)
- # clojure (19)
- # clojure-europe (7)
- # clojure-uk (2)
- # clojurescript (3)
- # code-reviews (30)
- # conjure (4)
- # cursive (8)
- # datomic (32)
- # docker (2)
- # emacs (7)
- # etaoin (2)
- # fulcro (37)
- # graphql (2)
- # jobs (1)
- # jobs-discuss (8)
- # leiningen (10)
- # lsp (36)
- # meander (4)
- # missionary (4)
- # nbb (12)
- # off-topic (1)
- # other-languages (10)
- # pathom (11)
- # re-frame (5)
- # reitit (4)
- # remote-jobs (3)
- # shadow-cljs (13)
- # sql (1)
- # tools-build (4)
- # tools-deps (31)
- # xtdb (2)
Why is only the first source directory passed to https://clojure.github.io/tools.build/clojure.tools.build.api.html#var-write-pom's src-dirs "considered" and why are the rest "skipped". Eg if you pass ["src/clj" "src/cljc"] you get "skipping paths: sr/cljc" as a result of the code https://github.com/clojure/tools.deps.alpha/blob/f7a3493a7ffa32386eefd94f118be6ddb61c138b/src/main/clojure/clojure/tools/deps/alpha/gen/pom.clj#L87:
(when path
(when (seq paths) (apply printerrln "Skipping paths:" paths)) <--- skipping
[::pom/build (gen-source-dir path)])
So i don't need to do anything here right? Is the src-dir just used to build a name to give to the pom? I thought it was collecting information from those directories.
That message is just when it's building the pom that can go in the jar, so probably not important to you