parent
9718597bd4
commit
23b3477298
1 changed files with 6 additions and 3 deletions
|
@ -329,9 +329,12 @@
|
||||||
project options))))
|
project options))))
|
||||||
|
|
||||||
(defn- normalize-path [root path]
|
(defn- normalize-path [root path]
|
||||||
(let [f (io/file path)] ; http://tinyurl.com/ab5vtqf
|
(let [f (io/file path) ; http://tinyurl.com/ab5vtqf
|
||||||
(.getAbsolutePath (if (or (.isAbsolute f) (.startsWith (.getPath f) "\\"))
|
abs (.getAbsolutePath (if (or (.isAbsolute f)
|
||||||
f (io/file root path)))))
|
(.startsWith (.getPath f) "\\"))
|
||||||
|
f (io/file root path)))
|
||||||
|
sep (System/getProperty "path.separator")]
|
||||||
|
(str/replace abs sep (str "\\" sep))))
|
||||||
|
|
||||||
(defn ext-dependency?
|
(defn ext-dependency?
|
||||||
"Should the given dependency be loaded in the extensions classloader?"
|
"Should the given dependency be loaded in the extensions classloader?"
|
||||||
|
|
Loading…
Reference in a new issue