This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-05-08
Channels
- # announcements (5)
- # babashka (46)
- # beginners (206)
- # boot (1)
- # bristol-clojurians (1)
- # calva (9)
- # chlorine-clover (27)
- # cider (1)
- # clara (10)
- # clj-kondo (105)
- # cljsrn (2)
- # clojars (1)
- # clojure (104)
- # clojure-europe (6)
- # clojure-nl (2)
- # clojure-uk (18)
- # clojurescript (44)
- # conjure (10)
- # core-async (34)
- # cursive (28)
- # data-science (6)
- # datomic (14)
- # emacs (44)
- # events (1)
- # figwheel-main (1)
- # fulcro (13)
- # graphql (9)
- # helix (12)
- # kaocha (2)
- # meander (4)
- # off-topic (2)
- # pathom (1)
- # quil (1)
- # re-frame (21)
- # shadow-cljs (49)
- # spacemacs (6)
- # xtdb (8)
Greetings to all you Booters,
I'm trying to build a static site with stasis and serve my assets with https://github.com/magnars/optimus. For loading static assets Optimus relies on the value of (System/getProperty "java.class.path" ".")
, which, as long as I build with Boot, is "/home/phylax/bin/boot"
, i.e. my boot binary. Using Leiningen, however, it gives me a plethora of directories in my actual project. Optimus clearly expects the latter and thus fails to work with Boot, yet it says nothing about being incomaptible with Boot… so I guess something is wrong with my setup.
Do you have any ideas on this? Is (System/getProperty "java.class.path" ".")
actually supposed to return the value of the Boot binary?
(I have put this question on https://stackoverflow.com/questions/61677200/optimus-load-assets-not-working-with-regex with more details.)