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)
something todo with my ~/.boot files. I erased them and boot reset and now things are fine.
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
@drewverlee check your environment variables
BOOT_HOME=/Users/drewverlee/.boot/profile.boot
is the boot_home causing the issue? I can’t recall setting it to that
@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 understandYup, that's your problem. BOOT_HOME
is meant to be an directory, not a file.
Oh rats, did I fat-finger the t.d.a. version? Thanks for spotting that.
no idea. Do you want the full stack trace?
Ill probably be offline tell morning. Let me know if i can help you… help me 🙂
Try the new 0.4.5 release of boot-tools-deps
I just fixed the typo
That fixed it for me. Thanks!