This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-25
Channels
- # aws (2)
- # beginners (57)
- # boot (31)
- # carry (15)
- # cider (9)
- # cljs-dev (9)
- # cljs-experience (32)
- # cljsrn (94)
- # clojure (129)
- # clojure-dusseldorf (3)
- # clojure-greece (4)
- # clojure-italy (8)
- # clojure-norway (3)
- # clojure-russia (344)
- # clojure-sg (39)
- # clojure-spec (2)
- # clojure-uk (39)
- # clojurescript (84)
- # core-async (99)
- # cursive (10)
- # data-science (1)
- # datascript (4)
- # datomic (66)
- # emacs (10)
- # graphql (4)
- # hoplon (28)
- # jobs (15)
- # luminus (3)
- # lumo (5)
- # off-topic (23)
- # om (4)
- # onyx (32)
- # pedestal (24)
- # re-frame (2)
- # reagent (7)
- # ring-swagger (32)
- # spacemacs (4)
- # untangled (57)
- # utah-clojurians (1)
@qqq you specify it in the jar
task, here's an example https://github.com/adzerk-oss/boot-uberjar-example
Hello all. I´m new with boot and I use the lein-localrepo plugin for my lein projects. How do I use the same in boot?
@fabrao what does localrepo
do?
like Oracle JDBC jars, I include it in local repository of maven, .m2 and the lein-localrepo tell lein to look at .m2 too
@fabrao can't you just add the jar as a source path in build.boot to add it to the classpath?
I don't understand
@fabrao as long as you have stuff in .m2
and the dependency vector is the right one, you should be fine
yes, if I'm not mistaken
@fabrao no ok so, did you just copy the files or used https://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
if the latter, you specify you dep normally in :dependencies
if the former, you have to use some lower level boot functions for adding the jar to the classpath (that I don't remember now by heart)
@fabrao that's what I thought, but testing it it doesn't seem to work
like leiningen
or I am missing something 😉
at this point I am a bit confused on what is the goal here, but I hope what I said above makes sense 😄
if your dep is in .m2
with normal maven manifest and all that, you should see it
the point is using local maven jar installed manualy like in https://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
ok so boot should already be ok, just by using :dependencies
if the dependency is not producing normal .jar
artifacts and you need to retrieve other files, you should play with the class maven additional tags