This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-08-06
Channels
- # babashka (101)
- # beginners (47)
- # biff (7)
- # calva (36)
- # clj-kondo (19)
- # clojure (11)
- # clojure-europe (1)
- # clojurescript (4)
- # conjure (4)
- # core-typed (3)
- # cursive (24)
- # emacs (22)
- # events (4)
- # gratitude (1)
- # introduce-yourself (1)
- # malli (27)
- # meander (5)
- # off-topic (101)
- # portal (5)
- # shadow-cljs (26)
- # tools-build (4)
- # tools-deps (3)
- # vim (8)
- # xtdb (13)
Hello. I have switched from leiningen to tools.build recently. My app uses the h2 database. When I compile an Uber jar using tools.build several classes are missing from the H2 package which were there with leiningen. H2 uses a lot of reflection so I'm not sure how to teach the compile-clj
/`uber` functions to pick up on these classes. Code here: https://github.com/djhaskin987/zic/tree/feature/add-deps-edn missing classes error message can be produced by running make native
.
are you missing compiled clj files or classes from the h2 jar?
if the latter, uber is (mostly) just exploding all of your dep jars and merging back together, so I would not expect things to be missing
Thank you for that clarification. Maybe I did miss something, I'll check. I'm grateful to know how the Uber function works and that it's just taking jars and consolidating them together, I was wondering about that.