Fork me on GitHub
#boot
<
2016-07-12
>
avabinary10:07:24

hi guys, have a little issue, i can't seem to load prone library from clojars, boot doesn't recognize the namespace [prone "1.1.1"] for some reason

avabinary10:07:23

it says "Unable to resolve symbol: prone in this context"

avabinary10:07:25

I'm using clojure "1.8.0"

martinklepsch10:07:59

@avabinary: build.boot is a program so when it encounters a symbol it cannot resolve it will throw an exception

martinklepsch10:07:31

To prevent Clojure from resolving symbols in the list of dependencies you need to quote either the symbol or the entire list of dependencies

martinklepsch10:07:10

eg. (set-env! :dependencies '[[prone "1.1.1"]]) or (set-env! :dependencies [['prone "1.1.1"]])

martinklepsch10:07:23

note the different positions of the ' quote

martinklepsch10:07:19

In comparison Leiningens project.clj is implicitly quoted, i.e. it is data and not a program like build.boot

avabinary10:07:51

thanks @martinklepsch now it works

maxp13:07:02

how to make .java files compiled before repl ?

maxp13:07:31

there is an (:import ) in .clj file it mentioned in boot.build and requires compiled .class file

micha13:07:00

@maxp: you can use the javac task to compile the java class

skammer13:07:54

Is there any reason why “Vicki” is the voice of choice here? https://github.com/boot-clj/boot/blob/master/boot/worker/src/boot/notify.clj#L39

adamfrey17:07:59

has anyone who is managing boot-cljs-repl gotten a chance to look over this PR? https://github.com/adzerk-oss/boot-cljs-repl/pull/43 I had another co-worker who got bit by swallowed up console printing. @juhoteperi

juhoteperi17:07:33

@adamfrey: Seems like a good default

juhoteperi19:07:53

^ tried to properly set Cljs repl output-dir but had didn't manage to get that working

martinklepsch19:07:12

@juhoteperi: did you look into if this is caused by weasel or other tooling down the line maybe?

juhoteperi20:07:35

@martinklepsch: Weasel passes the options directly to cljs.repl

juhoteperi20:07:19

I did look there are I don't see why it doesn't work