practicalli / clojure

Practicalli Clojure REPL Driven Development
https://practical.li/clojure/
Creative Commons Attribution Share Alike 4.0 International
91 stars 36 forks source link

Looking at the classpath in the REPL #438

Open practicalli-johnny opened 1 year ago

practicalli-johnny commented 1 year ago

A very simplistic way of looking at the class path from the REPL

(some #{"src" "resources"}
  (clojure.string/split  
  (System/getProperty "java.class.path") 
  (re-pattern (System/getProperty "path.separator"))))

This should not be fully relied upon, only used as a quick look at what is probably the class path being used