This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
I am using the saapas template, and just cloning it and adding
[org.onyxplatform/onyx "0.7.11-SNAPSHOT"] to the dependencies and I get and exception. Could someone confirm that they get the same result ?
clojure.lang.Compiler$CompilerException: java.lang.ExceptionInInitializerError, compiling:(cljs/repl.cljc:1:1) java.lang.ExceptionInInitializerError: java.io.FileNotFoundException: Could not locate clojure/tools/reader/impl/ExceptionInfo__init.class or clojure/tools/reader/impl/ExceptionInfo.clj on classpath. ...
Note : I renamed my profiles.clj and profile.boot just in case it did something. I don't think it is specific to boot though, but I can't pinpoint the problem.
Do you get the same exception ? (I just do git clone [email protected]:Deraen/saapas.git , add onyx dependency, boot dev to get that error)
onyx seems to depend on org.clojure/clojure and core.async, make sure that you have clojure 1.7 dependency on your own project so that bad transtive dep doesn't get used
hmm same for me using :
[org.onyxplatform/onyx "0.7.10"]. So there is something wrong with my setup...
This warning seem related : "Warning: version conflict detected: org.clojure/tools.reader version changes from 0.9.2 to 0.10.0-alpha3"
@nha: I just cloned master, added the dependency (non-snapshot) to build.boot and it just works fine. No warnings or anything.
yeah it looks like it is related to cljs, but I am not really aware of the mechanics of cljs compile to pinpoint what is causing trouble.
could it be a dependency of onyx that uses an old version of clojure ? (I am asking because searching for "tools" in onyx doesn't seem to yield any suspect).
Well yes it has been bugging me for quite some time, but I always assumed it was something with my setup. I'm happy to learn that I'm not crazy 😛
so even though no transitive dependency is added, old version is used as it's included in onyx jar
Oh so aot'ing a namespace makes the whole clojure deps compiled too, right ? (I wasn't doing a lot of java before plunging into clojure sorry if it is obvious)
So any program used as a library should not use
aot, right ? is it different in their case as it seems to be for Java interrop ?
I did quick test about using
gpg to read ceredentials for write repos: https://github.com/Deraen/boot-contrib-gpg