This is the add-classpath function from Pomegranate 1.0.0, extracted so we don't need to pull in Aether.
This is the add-classpath function from Pomegranate 1.0.0, extracted so we don't need to pull in Aether.
(add-classpath jar-or-dir)
(add-classpath jar-or-dir classloader)
A corollary to the (deprecated) add-classpath
in clojure.core. This implementation
requires a java.io.File or String path to a jar file or directory, and will attempt
to add that path to the right classloader (with the search rooted at the current
thread's context classloader).
A corollary to the (deprecated) `add-classpath` in clojure.core. This implementation requires a java.io.File or String path to a jar file or directory, and will attempt to add that path to the right classloader (with the search rooted at the current thread's context classloader).
(ensure-compiler-loader)
Ensures the clojure.lang.Compiler/LOADER var is bound to a DynamicClassLoader, so that we can add to Clojure's classpath dynamically.
Ensures the clojure.lang.Compiler/LOADER var is bound to a DynamicClassLoader, so that we can add to Clojure's classpath dynamically.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close