Fork me on GitHub
#boot
<
2020-05-08
>
oliver15:05:06

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.)