This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-11-20
Channels
- # beginners (17)
- # boot (19)
- # chestnut (1)
- # cider (25)
- # clara (1)
- # cljs-dev (15)
- # cljsrn (10)
- # clojars (9)
- # clojure (182)
- # clojure-brasil (27)
- # clojure-dusseldorf (2)
- # clojure-gamedev (5)
- # clojure-germany (1)
- # clojure-greece (2)
- # clojure-italy (18)
- # clojure-poland (5)
- # clojure-romania (3)
- # clojure-russia (29)
- # clojure-serbia (6)
- # clojure-spec (9)
- # clojure-uk (77)
- # clojure-ukraine (1)
- # clojurescript (61)
- # cursive (5)
- # datomic (20)
- # defnpodcast (1)
- # emacs (10)
- # fulcro (2)
- # graphql (2)
- # hoplon (11)
- # lumo (4)
- # off-topic (50)
- # om (3)
- # onyx (26)
- # other-languages (39)
- # parinfer (2)
- # pedestal (5)
- # re-frame (32)
- # reagent (48)
- # rum (7)
- # shadow-cljs (10)
- # spacemacs (29)
- # sql (10)
- # unrepl (58)
- # vim (3)
@flyboarder I see there is a :managed
key in the source but 1.6.0
does not recognize it...is everything been release? Is there a SNAPSHOT
I need to use?
It’s used in the node-modules call
oh thanks yeah I see that it can be useful, it's just that I cannot use it in 1.6.0
try just using the node-modules task, that is a new feature
npm: unknown option(s): :managed
oh weird!
using: (npm/npm :install {:less "latest"} :managed true :cache-key :ar-website/cache)
got everything almost working, only the icons are not showing up for no reason 😠
I see the path on the classpath/fileset is correct
Good morning, boot friends. I was asleep during the years in which Java introduced this funk l’il service loader convention for lightweight dependency injection: https://docs.oracle.com/javase/6/docs/api/java/util/ServiceLoader.html I’m considering using it to configure logback. Does boot provide us with any helper fns to facilitate its use?
@donaldball Not sure if this belongs to the area of build tooling? For dependency injection people usually use something like Component
I certainly prefer that for application level dependency stuff but for system properties like e.g. logging or metrics, it seems like maybe it has some utility. Particularly over e.g. static logback.xml
files and the like.
@donaldball what's the use case for using service loader for configuring logging? I typically just build my uberjar with a different logback file to my dev ones (and use logback-test for dev) which has always been enough for me
Not saying there couldn't be more exotic requirements, just that I haven't encountered them
Mostly that the logback.xml file is annoying but also I just hadn’t encountered this technique before and was curious if anyone ever used it
I’ve since discovered though that unilog
configures logback nicely and I’mma use that