Fork me on GitHub

hello! I'm struggling how to add local maven repo to boot, like here: I've tried this:

   :repositories {"central"      ""
                           "local-base"   "file:///${basedir}/lib/"}
   :dependencies #(into % (deps category)))
but still getting "not found" error:
clojure.lang.ExceptionInfo: The following artifacts could not be resolved: cider:cider-nrepl:jar:0.14.0, weasel:weasel:jar:0.7.0, tolitius:boot-check:jar:0.1.3, adzerk:boot-cljs:jar:1.7.228-1, adzerk:boot-cljs-repl:jar:0.3.0, crisptrutski:boot-cljs-test:jar:0.2.2-SNAPSHOT, adzerk:boot-reload:jar:0.4.8, mount:mount:jar:0.1.10, cheshire:cheshire:jar:5.6.1, camel-snake-kebab:camel-snake-kebab:jar:0.4.0, prismatic:schema:jar:0.4.4: Could not find artifact cider:cider-nrepl:jar:0.14.0 in central ()

Could you please point me where I could check out how to setup local repo properly? thanks!


@ska find me at EuroClojure and we can work this out 🙂


does anybody know how to get a cljs repl up and running in boot ?


@avabinary hi! see adzerk.boot-cljs-repl. Here are our dev task:

(boot/deftask dev
  "Build and run app with reloading and repl"
  (deps/request-dependencies :app)
   (built-in/repl :server true)
   (built-in/notify :audible false)
   (boot-cljs-reload/reload ;; should be before cljs
    :cljs-asset-path "/target"
    :on-jsload 'filemporium.client.core/on-reload)
   (boot-cljs/cljs :source-map true)
Then I go to CIDER and eval (adzerk.boot-cljs-repl/start-repl)


@zarkone thanks a lot ! will try this


when using boot with clojure projects, does boot 'live in the same jvm' as the clojure project, or are there two different jvms running?


Anyone got boot (+CIDER) and refactoring in spacemacs running properly? It seems refactored files are cached .boot/cache/... and not 'commited' to the actual project. How to make this work? (See )

Chris Bidler15:07:05

here’s a newbie question that maybe belongs here, maybe in #emacs: On a lark I decided to try OS X instead of running in a terminal. I have a GPG-encrypted credentials file for a private repo that I have configured as per and it has worked fine in emacs-in-the-terminal for a long time. When I try to cider-jack-in in, however, I get a stack trace that ends like so:

java.lang.AssertionError: Assert failed: Cannot run program "gpg": error=2, No such file or directory
                            (zero? exit)
clojure.lang.ExceptionInfo: Assert failed: Cannot run program "gpg": error=2, No such file or directory
                            (zero? exit)
    file: "/var/folders/5l/fxcc65zx2dj19s96wrvsndyr0000gn/T/boot.user3461866081192884329.clj"
    line: 7

Chris Bidler15:07:40

I can’t seem to find the right set of gestures and sounds to send to Google to find me the right SO page or blog post where the obvious answer to this is documented already. 🙂

Chris Bidler15:07:39

oh I missed the key line of the stacktrace which says this is happening in Boot’s gpg.clj


@chris_johnson - I think that’s because launching the OSX app doesn’t get the $path from your .bashrc.


In my .emacs.d I’ve got

;; adjust so that lein is in the path
(add-to-list 'exec-path "/usr/local/bin")


Given that boot jvm = clojure jvm; is there a way to tell boot "you are the most important program on this computer, use as many CPUS / Memory as you possibly can?" (I faintly recall reading somewhere that JVM has default max heapsize or something.)

alandipert20:07:09 there’s the BOOT_JVM_OPTS environment variable, which passes arguments like -Xmx 4g (use 4g of heap) to the underlying java command it wraps


@alandipert : okay, so -Xmx = maximum allowed heap size; do I need anything else to tell it it's allowed to use all cores on the server ?


i don’t think so, by default the jvm can access all cores, same as any other process on the server


depending on what your server OS is you can also assign java higher scheduling priority via nice


are you suggesting "sudo nice -20 boot ..." to start boot? 🙂