This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-09-11
Channels
- # aleph (4)
- # beginners (68)
- # boot (21)
- # chestnut (1)
- # cljs-dev (72)
- # clojure (64)
- # clojure-austin (9)
- # clojure-dusseldorf (16)
- # clojure-gamedev (2)
- # clojure-italy (32)
- # clojure-russia (80)
- # clojure-spec (9)
- # clojure-uk (20)
- # clojurescript (105)
- # cursive (5)
- # data-science (5)
- # datomic (23)
- # defnpodcast (3)
- # emacs (22)
- # fulcro (2)
- # graphql (63)
- # hoplon (7)
- # lein-figwheel (17)
- # lumo (63)
- # mount (2)
- # nrepl (4)
- # off-topic (66)
- # om (6)
- # onyx (3)
- # portkey (54)
- # re-frame (12)
- # reagent (12)
- # specter (42)
- # uncomplicate (1)
- # unrepl (38)
- # vim (9)
- # yada (3)
sekao could very well be, thanks for reporting
Does anyone know why my browser would be trying to connect to the wrong port for the browser repl? It keeps trying to connect to a closed port that is different than the ones printed by boot dev
and boot repl -c
. Code: https://github.com/bmaddy/boot-cljs-example
i gave leiningen/figwheel a try. definitely sticking with boot and all the great boot-cljs tools
So I have a boo.build file that consists of this:
(set-env!
:dependencies '[[halgari/fn-fx "0.3.0"]
[oss-world "0.1.0-SNAPSHOT"]
[org.fxmisc.richtext/richtextfx "0.6.10"]]
:resource-paths #{"src" "resources"})
Which should allow me to use fn-fx classes. But when I call (require '[fn-fx.controls :as ui])
in a repl, I get java.lang.NoClassDefFoundError: Could not initialize class fn_fx.controls__init
. Another project with the same dependency line has no errors. Does anyone else have this issue with [halgari/fn-fx "0.3.0"]
as a dependency entry?right, I use aot on the oss-world package, so I think some of those classes may be included in that. Maybe there are two versions of fn-fx on the classpath because of that
Why does the aot task compile required namespaces as well, and not just the specific namespaces? I'm trying to make a java interop class, but compiling the most of the project and its dependencies isn't helpful (and seems to be causing dependency conflicts)
if I want to use a jar as an external dependency, how can I exclude the code from the uberjar?
The sift
task might be a way
@dimovich You can also change the scope of a dependency, e.g. test dependencies are not included in uberjar: [org.bouncycastle/bcprov-jdk15on "1.58" :scope "test"]
... or if you don't need bouncycastles at all (not sure if buddy-core works without), you can remove the transitive dependency with an exclusion: [buddy/buddy-core "1.4.0" :exclusions [org.bouncycastle/bcprov-jdk15on org.bouncycastle/bcpkix-jdk15on]]
@dimovich also take a look at the uberjars --help
text, not sure if it answers your question but theres lots of stuff in there 🙂