boot

:boot-clj: https://boot-clj.github.io/ — build tooling for Clojure. Dev chat in #boot-dev
2018-04-09T01:45:15.000102Z

anyone know what is causing this?

➜  try-boot git:(master) ✗ boot -h
Exception in thread "main" java.io.IOException: Not a directory
	at java.io.UnixFileSystem.createFileExclusively(Native Method)
	at java.io.File.createTempFile(File.java:2024)
	at Boot.download(Boot.java:171)
	at Boot.install(Boot.java:227)
	at Boot.main(Boot.java:248)

2018-04-09T02:09:25.000069Z

something todo with my ~/.boot files. I erased them and boot reset and now things are fine.

2018-04-09T02:36:55.000216Z

fyi something must have changed with the path exceptions for boot home because the new install created: ~/.boot/profile.boot/boot.properties as where before it was ~/.boot. It makes docs like these: https://github.com/boot-clj/boot/wiki/Cider-REPL which talk about adding code to a file called profile.boot which is now setup as a dir, somewhat confusing

seancorfield 2018-04-09T02:54:13.000033Z

@drewverlee check your environment variables

2018-04-09T02:59:32.000150Z

BOOT_HOME=/Users/drewverlee/.boot/profile.boot

2018-04-09T03:00:49.000203Z

is the boot_home causing the issue? I can’t recall setting it to that

2018-04-09T03:19:51.000136Z

@seancorfield Given this build.boot

(set-env!
 :dependencies '[[seancorfield/boot-tools-deps "0.4.4"]
                 [adzerk/boot-test "1.2.0" :scope "test"]]
 :source-paths #{"test"})


(require
 '[adzerk.boot-test :as boot-test]
 '[boot-tools-deps.core :refer [deps]])


(deftask test
  "Runs tests"
  []
  (comp (deps :aliases [:test])
        (boot-test/test)))
I get this unexpected error when running boot test => Could not find artifact org.clojure:tools.deps.alpha:jar:0.5417 in clojars (https://repo.clojars.org/) The ST is much longer but i’m curious if you have any hints. I’m not sure i understand what the test example task is doing. The problem seems to be with (deps :aliases [:test]) which should be creating a list of aliases (or so i thought)… what that does wen comped with boot/test i dont understand

seancorfield 2018-04-09T03:19:55.000108Z

Yup, that's your problem. BOOT_HOME is meant to be an directory, not a file.

seancorfield 2018-04-09T03:20:25.000196Z

Oh rats, did I fat-finger the t.d.a. version? Thanks for spotting that.

2018-04-09T03:24:25.000199Z

no idea. Do you want the full stack trace?

2018-04-09T03:26:18.000146Z

Ill probably be offline tell morning. Let me know if i can help you… help me 🙂

seancorfield 2018-04-09T03:27:10.000010Z

Try the new 0.4.5 release of boot-tools-deps

seancorfield 2018-04-09T03:27:15.000099Z

I just fixed the typo

2018-04-09T03:33:57.000046Z

That fixed it for me. Thanks!