This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-02-10
Channels
- # ai (2)
- # beginners (3)
- # boot (113)
- # bristol-clojurians (2)
- # cider (77)
- # clara (43)
- # cljs-dev (48)
- # cljsrn (9)
- # clojure (319)
- # clojure-austin (2)
- # clojure-czech (4)
- # clojure-denmark (4)
- # clojure-france (4)
- # clojure-italy (4)
- # clojure-russia (2)
- # clojure-serbia (10)
- # clojure-spec (79)
- # clojure-uk (64)
- # clojurescript (109)
- # clr (3)
- # conf-proposals (21)
- # core-async (19)
- # cursive (26)
- # datascript (11)
- # datomic (19)
- # devcards (1)
- # emacs (25)
- # figwheel (9)
- # hoplon (31)
- # jobs (7)
- # jobs-discuss (14)
- # leiningen (10)
- # lumo (11)
- # off-topic (37)
- # om (40)
- # onyx (4)
- # perun (8)
- # planck (3)
- # rdf (4)
- # re-frame (40)
- # ring (11)
- # ring-swagger (2)
- # rum (21)
- # spacemacs (2)
- # specter (50)
- # untangled (93)
- # yada (13)
I started a new hoplon project with "boot -d boot/new new -t hoplon-castra -n hoplon-test" but when I run "boot dev" in the newly created project directory I get an clojure.lang.ExceptionInfo exception. Where can I report this problem?
I've reported my problems here, but there's no response till now, so maybe it's not the right place https://github.com/tailrecursion/hoplon-castra-template
when I change to Clojure 1.8.0 I still get an exception but a different one this time: java.io.FileNotFoundException: Could not locate clojure/tools/nrepl/server__init.class
@kiemdoder I had same issue in this I think https://github.com/tailrecursion/hoplon-castra-template/issues/11
(set-env! :dependencies '[[adzerk/boot-cljs "1.7.228-1"] [adzerk/boot-reload "0.5.0"] [adzerk/boot-cljs-repl "0.3.3"] [org.clojure/tools.nrepl "0.2.12" :scope "test"] [compojure "1.6.0-beta3"] [hoplon/castra "3.0.0-alpha7"] [hoplon/hoplon "6.0.0-alpha17"] [org.clojure/clojure "1.9.0-alpha10"] [org.clojure/clojurescript "1.9.93"] [pandeiro/boot-http "0.7.6"] [ring "1.5.0"] [ring/ring-defaults "0.2.1"]]
@kleewho I see the the clojure source is part of the :resource-paths. Do you know what task is responsible for compiling the clojure code?
well, I don't and actually I have some weird problems with compiling clojure code... I need to start boot dev
several time before my app is working fine
I guess in that project it’s initialized by requiring the Ring handler running inside the web server started by the boot-http
task
You are right @dm3 it looks like Ring is responsible for clojure source compilation. I never knew that Ring can do that. It also recompiles the code when it changes and reload is enabled.
i shared recently how i do code reload in dev w/ ring and boot, https://github.com/boot-clj/boot-war-example
a small amount of shenanigans are involved because of the way boot manages source files https://github.com/boot-clj/boot-war-example/blob/master/src/boot_war_example/core_dev.clj
hm, i think today i'm gonna fix up the hoplon castra template. get the live reload stuff in there, move to hoplon org, pin the deps
Thank you for the example @alandipert. Also a big thank you to you and everyone else involved with boot/hoplon etc. for all your efforts. I discovered boot/hoplon only this week after catching up on some Cognicasts and I think I'm definitely here to stay 🙂
no new people from Clojure Remote 2017? @flyboarder maybe we should "advertise" hoplon a bit more, no? 🙂
agreed!