This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-12-17
Channels
- # admin-announcements (104)
- # adventofcode (3)
- # aws (1)
- # boot (651)
- # cljs-dev (21)
- # cljsrn (12)
- # clojure (81)
- # clojure-china (1)
- # clojure-germany (1)
- # clojure-miami (2)
- # clojure-nl (8)
- # clojure-russia (19)
- # clojurescript (208)
- # core-typed (1)
- # cursive (19)
- # datavis (55)
- # datomic (57)
- # events (1)
- # hoplon (102)
- # ldnclj (12)
- # leiningen (8)
- # off-topic (11)
- # om (127)
- # onyx (21)
- # parinfer (2)
- # portland-or (3)
- # proton (2)
- # re-frame (2)
- # reagent (6)
@micha: you mentioned quite some time ago about a castra screencast... is it made/available?
also are there any online examples for castra with a db you also mentioned you were using it with a SQL server
we're using ms sql at work, so it'll be for that cause that's what i'm set up for at the moment
i see the abstractions being useful, but i need to see it in action to actually appreciate it
@micha: then only change the serve from jetty to pandeiro. The update/refresh function didn't work with Jetty.
Windows problem. Just started trying the hoplon getting started after playing with boot a bit. After modifying the file, the page is not updated unless I restart boot. Getting an exception... java.io.IOException: Couldn't delete C:\Users\Bill\.boot\cache\tmp\Users\Bill\Documents\GitHub\address-book\5z0\mm3x96\index.html.out\goog\fs\url.js
is there some tool in windows to see what's preventing the os from allowing boot to delete the file?
well, since the referenced folder does not exist, there really is nothing to look at.
Couldn't delete C:\Users\Bill\.boot\cache\tmp\Users\Bill\Documents\GitHub\address-book\96k\mm3x96\index.html.out\clojure\browser\event.js
I tried manually deleting the file and bingo! I could not delete it because the file was open.
http://sysinternals.com process monitor
I found process explorer. It shows that java.exe has the files open. This is a subproess under boot.exe.
laforge49: this looks relevant: https://wiki.eclipse.org/Jetty/Howto/Deal_with_Locked_Windows_Files
(set-env! :dependencies '[[adzerk/boot-cljs "1.7.170-3"] [adzerk/boot-reload "0.4.2"] [hoplon/boot-hoplon "0.1.10"] [hoplon/hoplon "6.0.0-alpha11"] [org.clojure/clojure "1.7.0"] [org.clojure/clojurescript "1.7.189"] [tailrecursion/boot-jetty "0.1.1"]] :source-paths #{"src"} :asset-paths #{"assets"}) (require '[adzerk.boot-cljs :refer [cljs]] '[adzerk.boot-reload :refer [reload]] '[hoplon.boot-hoplon :refer [hoplon prerender]] '[tailrecursion.boot-jetty :refer [serve]]) (deftask dev "Build address-book for local development." [] (comp (watch) (speak) (hoplon) (reload) (cljs) (serve :port 8000))) (deftask prod "Build address-book for production deployment." [] (comp (hoplon) (cljs :optimizations :advanced) (prerender)))
it'll be in ~/.m2/repository/tailrecursion/jetty/0.1.1/boot-jetty-0.1.1.jar or something like that
the boot jetty jar is only 4k. so it must refer to something. The pom file only references clojure and bootlaces.
I'm trying to learn reactive web and clojure script and this looked like a good place to start.
@micha: I was poking around the boot-hoplon task but everything seems fine there
ah thnks!
@laforge49 if needed, as a work around, replacing jetty dep with [pandeiro/boot-http "0.7.0"] and require '[pandeiro.boot-http :refer [serve]] will auto recompile hoplon changes if you change the BOOT_VERSION from 2.5.0 to 2.4.2 in boot.properties.