Skip to content

Commit 220635f

Browse files
committed
1.0.4 -- Fix #23 (FileNotFoundException in Windows)
1 parent 5247470 commit 220635f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: project.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(defproject tailrecursion/boot "1.0.3"
1+
(defproject tailrecursion/boot "1.0.4"
22
:description "A dependency setup/build tool for Clojure."
33
:url "https://github.com/tailrecursion/boot"
44
:license {:name "Eclipse Public License"

Diff for: src/tailrecursion/boot/loader.clj

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
[tailrecursion.boot.strap :as strap]
1616
[tailrecursion.boot.classlojure.core :as cl])
1717
(:import
18-
[java.net URLClassLoader URL]
18+
[java.net URLClassLoader URL URI]
1919
java.lang.management.ManagementFactory)
2020
(:gen-class))
2121

@@ -115,7 +115,7 @@
115115
(mapv (partial exclude (vec loaded)))
116116
(#(resolve-dependencies! % (or repos dfl-repos))))]
117117
(swap! dependencies into (mapv :dep specs))
118-
(add-urls! (map #(URL. (str "file://" (:jar %))) specs))))
118+
(add-urls! (map #(->> % :jar (str "file:///") URI. .toURL) specs))))
119119

120120
(defrecord CoreVersion [depspec])
121121

0 commit comments

Comments
 (0)