Classpath access and modification utilities.
Provides an alternative to the java.classpath contrib library. The library is Boot-aware, meaning it takes into account the classpath manipulation magic, performed by the Boot build tool.
Classpath access and modification utilities. Provides an alternative to the java.classpath contrib library. The library is Boot-aware, meaning it takes into account the classpath manipulation magic, performed by the Boot build tool.
(add-classpath! _)
Adds the URL to the classpath and returns it if successful, or nil otherwise, ensuring that a modifiable classloader is available.
Adds the URL to the classpath and returns it if successful, or nil otherwise, ensuring that a modifiable classloader is available.
(boot-classloader)
Creates a class-loader that knows original source files paths in Boot project.
Creates a class-loader that knows original source files paths in Boot project.
(classloaders)
(classloaders loader)
Returns the classloader hierarchy.
Returns the classloader hierarchy.
(classpath)
(classpath loader)
Returns the URLs on the classpath.
Returns the URLs on the classpath.
(classpath-file-relative-path s)
Boot stores files in a temporary directory & ClojureScript stores the :file metadata location absolutely instead of relatively to the classpath. This means when doing jump to source in Boot & ClojureScript, you end up at the temp file. This code attempts to find the classpath-relative location of the file, so that it can be opened correctly.
Boot stores files in a temporary directory & ClojureScript stores the :file metadata location absolutely instead of relatively to the classpath. This means when doing jump to source in Boot & ClojureScript, you end up at the temp file. This code attempts to find the classpath-relative location of the file, so that it can be opened correctly.
(classpath-seq url)
(classpath-seq url file-seq-fn)
Returns a sequence of all descendant non-directory files or archive entries as relative paths.
Returns a sequence of all descendant non-directory files or archive entries as relative paths.
(context-classloader)
Returns the current classloader for the current thread.
Returns the current classloader for the current thread.
(set-classloader! loader)
Sets the current classloader for the current thread.
Sets the current classloader for the current thread.
(system-classpath)
Returns the URLs defined by the 'java.class.path' system property.
Returns the URLs defined by the 'java.class.path' system property.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close