Function: cider-fallback-eval:classpath

cider-fallback-eval:classpath is a byte-compiled function defined in cider-client.el.

Signature

(cider-fallback-eval:classpath)

Documentation

Return a list of classpath entries using eval.

Sometimes the classpath contains entries like src/main and we need to resolve those to absolute paths.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-client.el
(defun cider-fallback-eval:classpath ()
  "Return a list of classpath entries using eval.

Sometimes the classpath contains entries like src/main and we need to
resolve those to absolute paths."
  (when (cider-runtime-clojure-p)
    (let ((classpath (thread-first
                       "(seq (.split (System/getProperty \"java.class.path\") \":\"))"
                       (cider-sync-tooling-eval)
                       (nrepl-dict-get "value")
                       read))
          (project (clojure-project-dir)))
      (mapcar (lambda (path) (cider--get-abs-path path project)) classpath))))