boot

:boot-clj: https://boot-clj.github.io/ — build tooling for Clojure. Dev chat in #boot-dev
2018-07-01T16:12:30.000054Z

Is it possible to include/depend on an existing jar with boot? I can make it work with lein by doing :resource-paths ["…/whatever.jar"] in my project.

2018-07-01T16:22:20.000037Z

(I tried doing the same with (set-env! :resource-paths ["…/whatever.jar"] …) but I get this weird exception trying to run my application (that I don’t get otherwise):

java.nio.file.DirectoryNotEmptyException: /Users/jonathan/.boot/cache/tmp/Users/jonathan/<snip>/8hf/-of1h48

seancorfield 2018-07-01T22:47:24.000010Z

@jonathanj I would use boot-local-repo (or lein-local-repo) to install the JAR locally into your Maven cache, instead of trying to use it as a free-floating JAR. Even better if you have an S3 Wagon / Nexus / Maven / whatever repo you can upload it to -- and then just depend on it normally.

danielcompton 2018-07-01T23:23:13.000041Z

@jonathanj I've got some docs on how to do that here: https://docs.deps.co/repository-management/how-to-deploy-a-provided-jar. Also, if you're looking for a hosted Maven repository then you can find one there too 🙂

3