This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-01-21
Channels
- # 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 ?
boot-reload is what people use today
boot-figwheel will come soon
for a good config, try https://github.com/martinklepsch/tenzing
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?
modern-cljs is absolutely worth working through
@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 ?
@richiardiandrea I tried the example project and it already works well
good job š
Oh thanks :) there are a couple of things to add (click on the heads up is not handled...)
But I have been using it actively and it works š
does boot-figwheel integrate with a repl?
I remember hearing that figwheel includes code to open a repl through the same websocket cx
not from the browser but from a terminal window/editor
@pesterhazy at the moment the repl is still boot-cljs-repl
Haven't explored that part yet š
cool, I'm curious if figwheel's builtin repl offers any advantages
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
you can see here: https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.vladsch.flexmark%22
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.