Verify the built AOT jar in a fresh JVM containing only its declared dependency classpath. Provided/overlay dependencies are deliberately absent.
Verify the built AOT jar in a fresh JVM containing only its declared dependency classpath. Provided/overlay dependencies are deliberately absent.
(command {:keys [basis jar-file namespaces java-opts]})One java ... clojure.main -e argv requiring namespaces in one JVM.
One `java ... clojure.main -e` argv requiring `namespaces` in one JVM.
(commands {:keys [namespaces isolated?] :or {isolated? true} :as request})The argvs that verify request. Isolated (the default) is one JVM per
namespace: in a shared JVM the first namespace to load a dependency makes
it present for every namespace after it, which hides exactly the AOT
packaging fault this gate exists to catch. :isolated? false trades that
guarantee for one JVM.
The argvs that verify `request`. Isolated (the default) is one JVM per namespace: in a shared JVM the first namespace to load a dependency makes it present for every namespace after it, which hides exactly the AOT packaging fault this gate exists to catch. `:isolated? false` trades that guarantee for one JVM.
(verify! {:keys [namespaces isolated? run-fn]
:or {isolated? true run-fn run-process}
:as request})Require every packaged namespace in a fresh JVM, by default one JVM per
namespace (see commands). The classpath is the jar plus its committed/POM
dependency basis, never local.deps.edn :provided. Throws before publication
naming every namespace that cannot be required cold. :run-fn is the
process port: it takes {:command-args argv} and answers {:exit :out :err}.
Require every packaged namespace in a fresh JVM, by default one JVM per
namespace (see `commands`). The classpath is the jar plus its committed/POM
dependency basis, never local.deps.edn :provided. Throws before publication
naming every namespace that cannot be required cold. `:run-fn` is the
process port: it takes {:command-args argv} and answers {:exit :out :err}.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 |