Worker-side project execution context.
The worker has a private runtime used to boot nREPL/Nippy/analyzers. Project code is loaded and analyzed only while this context is active, so require, macroexpansion, source reading, analyzer class lookup, predicate calls, and declaration collection all see the same project class loader bindings.
Worker-side project execution context. The worker has a private runtime used to boot nREPL/Nippy/analyzers. Project code is loaded and analyzed only while this context is active, so require, macroexpansion, source reading, analyzer class lookup, predicate calls, and declaration collection all see the same project class loader bindings.
(make project-cp parent-loader)Build a ProjectContext from the effective project classpath string supplied by the entrypoint.
Build a ProjectContext from the effective project classpath string supplied by the entrypoint.
(with-project-context & body)Run body inside the installed project execution context.
This binds all loader knobs Clojure consults during project require/load and macroexpansion: the thread context ClassLoader, use-context-classloader, and clojure.lang.Compiler/LOADER.
Run body inside the installed project execution context. This binds all loader knobs Clojure consults during project require/load and macroexpansion: the thread context ClassLoader, *use-context-classloader*, and clojure.lang.Compiler/LOADER.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |