This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-12-14
Channels
- # adventofcode (62)
- # beginners (78)
- # boot (26)
- # boot-dev (9)
- # cider (73)
- # cljs-dev (33)
- # cljsrn (36)
- # clojure (159)
- # clojure-android (1)
- # clojure-austin (1)
- # clojure-greece (79)
- # clojure-italy (10)
- # clojure-nl (3)
- # clojure-russia (11)
- # clojure-spec (33)
- # clojure-uk (26)
- # clojurescript (107)
- # core-async (22)
- # core-logic (12)
- # cursive (16)
- # datomic (13)
- # devcards (5)
- # duct (36)
- # emacs (4)
- # figwheel (3)
- # fulcro (107)
- # graphql (171)
- # hoplon (27)
- # instaparse (24)
- # jobs-discuss (34)
- # juxt (3)
- # lein-figwheel (1)
- # leiningen (8)
- # lumo (11)
- # off-topic (9)
- # onyx (79)
- # parinfer (1)
- # pedestal (75)
- # re-frame (27)
- # rum (1)
- # shadow-cljs (11)
- # spacemacs (20)
- # specter (17)
- # unrepl (96)
@martinklepsch well, that works. I think the problem is that the library uses a dependency that isn't defined in the library, but in the main project. ClojureFX accesses org.controlsfx, but it's a dependency of the main project. Apparently Boot can't handle that?
@zilti If you could provide a minimal repro that’d be very helpful in figuring out the problem
@zilti doesn’t need to be with minimal dependencies but a build.boot of any length that can be used to reproduce the problem would definitely be very helpful
@martinklepsch like this? https://bitbucket.org/snippets/zilti/zenroL Gives another class not found error though, but same principle: lein run works, boot run doesn't.
What I meant was one build.boot
file which contains all the clojure code to reproduce the problem but this is ok too I guess
unfortunately I can’t clone the snippet without installing hg
though?
Well, that's kinda a given since I work with resolve
. Ah, here, a git version: https://bitbucket.org/snippets/zilti/zenrAb
> Well, that’s kinda a given since I work with resolve
.
right but eliminating all these kinds of things really helps identifying the actual problem
I can't do it without resolve
because the main clj file depends on a .java file that has to be compiled first.
Caused by: java.lang.NoClassDefFoundError: clojure/java/api/Clojure
@zilti is that the exception you’re seeing as well?@martinklepsch yes, that's the one I'm seeing as well.
@tcrawley Hey Toby, I was wondering if I could ask you for help on this issue? It seems related to classloaders(?) and you always seem to know those really well 🙂 There’s instructions for reproduction in this comment https://github.com/boot-clj/boot/issues/665#issuecomment-351699701
@martinklepsch I took a quick look and dropped a comment on the issue with my thoughts. I'm happy to chat more about it if needed.
@tcrawley Thanks. Think the difference in errors might be caused by the lack of a boot.properties
in the repro. this is the one I used:
BOOT_CLOJURE_NAME=org.clojure/clojure
BOOT_CLOJURE_VERSION=1.9.0
BOOT_VERSION=2.7.2
@zilti if possible please update the repro to include that file
Sorry for missing that in the description @tcrawley 😏
@zilti What's the proper way to clone clojurefx? It's not clear from bitbucket how to do that
@tcrawley I think it’s using hg yes
@tcrawley @martinklepsch Added it to the repo. Mine was simply "BOOT_CLOJURE_VERSION=1.9.0".
If you’re interested in the development of Boot, I created a new channel #boot-dev — everybody welcome to hang out & contribute 🙂