Fork me on GitHub
#boot
<
2018-11-11
>
ianskerins22:11:27

https://github.com/boot-clj/boot-figreload#usage can anyone explain why i also need boot-http for this to work?

geoffs23:11:25

Because tasks in boot are so easily composed, they tend to follow the unix philosophy of “do one thing well.” boot-figreload does live code reloading of clojurescript code, and boot-http serves static files and/or a ring application. They have nearly totally orthogonal purposes and can be used independently of each other.

geoffs23:11:47

The real dependency of figreload is actually having an http server to get the first set of compiled js into the web browser, because figreload has some client side code that communicates via websocket with the boot task. boot-http is a convenient boot filesystem aware http server.

geoffs23:11:01

Hope that helps :)

ianskerins02:11:30

got it. thanks. i am using figreload for development on a chrome extension so i think this first-delivery problem is already solved for me by way of chrome's extension packaging.

ianskerins02:11:55

i will see what happens if i just remove it.

ianskerins03:11:23

seems fine 👍 thanks

didibus22:11:30

Where does boot look for Java ?

didibus22:11:56

I'm on Windows. I have Java on my path, but boot thinks I don't, and sends me to the download link.

didibus22:11:22

Okay, I figured it out. Boot.exe uses launch4j which finds Java based on registery keys, and not the environment variables. :face_with_open_mouth_vomiting:

didibus23:11:31

Now I'm getting : unable to find valid certification path

didibus23:11:45

Caused by: sun.security.provider.certpath.SunCertPathBuilderException

didibus23:11:14

Maybe I should just abandon trying to get Clojure working on Windows 😿

didibus23:11:21

Caused by: org.sonatype.aether.transfer.ArtifactTransferException: Could not transfer artifact boot:pod:pom:2.7.2 from/t o clojars (https://repo.clojars.org/): sun.security.validator.ValidatorException: PKIX path building failed: sun.securit