This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # arachne (21)
- # beginners (22)
- # boot (58)
- # cider (27)
- # cljs-dev (67)
- # cljsjs (10)
- # cljsrn (13)
- # clojure (91)
- # clojure-greece (6)
- # clojure-russia (1)
- # clojure-uk (6)
- # clojurescript (6)
- # core-async (3)
- # cursive (6)
- # datomic (3)
- # events (2)
- # hoplon (152)
- # off-topic (44)
- # om (8)
- # om-next (7)
- # onyx (16)
- # protorepl (10)
- # re-frame (10)
- # reagent (22)
- # untangled (5)
I'm switching over from lein. For cljs, is the standard toolkit to use figwheel or boot-cljs + boot=reload ?
is https://github.com/magomimmo/modern-cljs/tree/master/doc/second-edition worth working through?
It seems (to naive eyes) like a good discussion of cljs + boot, but I don't know as I'm new to boot.
@richiardiandrea : I'm launching boot via "cider-jack-in" what is this "heads up display" boot-figreload refers to and am I missing it?
@qqq heads up display is in the browser usually. Basically boot-figreload is just boot-reload + figwheel browser side of things
@richiardiandrea : oh, it's that thing at the bottom of the screen that shows compile errors / warnings ?
Oh thanks :) there are a couple of things to add (click on the heads up is not handled...)
I remember hearing that figwheel includes code to open a repl through the same websocket cx
Yeah I exactly want to remove the differences between the two build tools + figwheel so I want to know that as well
FYI, for anybody interested in boot-gae, I wrote up a couple of blog posts at http://blog.mobileink.com/. One about building a microservices app, the other describing how quasi-REPL interactive development is supported. Feedback from boot wizards warmly welcomed, I’m never quite sure if I’m doing it right.
I don't have much Java experience, so I'm probably missing some key piece of info here. I'm trying to use a Java library in a Boot project, but the lib seems to be composed of many separate modules in maven. When I try to install it the way I know how, it downloads the pom (here: https://search.maven.org/remotecontent?filepath=com/vladsch/flexmark/flexmark-java/0.11.7/flexmark-java-0.11.7.pom), but then throws a bunch of errors because it can't find a jar. It can't find it because there isn't one big jar, there's one jar for each module.
I've tried a bunch of permutations, trying to specify the modules I need, but I can't seem to get the right incantation. Can anyone point me in the right direction?
see https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html, esp. the stuff on scopes.
the only thing I've tried that "works" is
[com.vladsch.flexmark/flexmark "0.11.7"], which is one of the modules
not sure what the default is, but i've run in to similar problems. i always make the repos explicit.
the original problem is that the pom with all the modules defined doesn't have an accompanying jar
I assume this is normal for a project that's structured this way, I just don't know how I'm supposed to consume it from clojure
hmm. afaik the dependency resolution mech in boot is std sonatype aether so it should work if all the poms are copacetic. but i'm far from an expert on this stuff. 😉
maybe related: other day i was looking at aws, and they do a modular thing, they call it Bill Of Materials. I ended up adding each dependency to :dependencies. tedious, but it worked.
haven't gotten around to asking if <dependencyManagement> is supported in boot. see http://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/setup-project-maven.html, section "Specifying individual SDK modules"
in principle, in the clojure world, "there's a lib that does that" 😉 but maybe not in this case.
one of my all-time favorite geek quotes, from the great Terrence Oarr, author of Antlr: "Why Program by Hand in Five Days what You Can Spend Five Years of Your Life Automating?"