Fork me on GitHub
#boot
<
2017-06-03
>
skammer21:06:57

Guys, can someone please point me somewhere to read about building *.cljc only clojar with boot? I can’t seem to build it somehow. Rather, it builds without errors and pushes it to clojars or installs it locally, but when I try to require it I get java.io.FileNotFoundException: Could not locate blahblah__init.class or blahblah.clj on classpath.

seancorfield21:06:57

@skammer You pushed it to clojars already? What’s the group/artifact ID?

seancorfield21:06:10

And how are you trying to access it when it fails?

skammer21:06:42

I can see it in my ~/.m2 directory, jar and everything, but when I try to (:require [vectorql :as vql]) I get an error.

mobileink21:06:43

what does your build.boot deps clause look like?

seancorfield21:06:08

It works for me:

(! 906)-> boot -d vectorql:0.1.0-SNAPSHOT repl
Retrieving maven-metadata.xml from  (1k)
Retrieving vectorql-0.1.0-20170531.232445-1.pom from  (1k)
Retrieving vectorql-0.1.0-20170531.232445-1.jar from  (3k)
...
boot.user=> (require '[vectorql.core :as v])
nil
boot.user=> (v/join-commas [1 2 3 4])
"1, 2, 3, 4"
boot.user=> 

mobileink21:06:12

why was my msg printed twice?

mobileink21:06:50

must be my blasted android, sorry.

skammer21:06:09

must be something wrong with my setup then

mobileink21:06:42

check your version nbr in build.boot?

skammer21:06:05

seems fine

skammer21:06:26

I’m such an idiot

skammer21:06:47

(:require [vectorql.core :as vql]), not just (:require [vectorql :as vql])

skammer21:06:16

thanks for your help though 😄