Last active
March 25, 2016 14:45
-
-
Save peterschwarz/737f51741fbedfa4ffb9 to your computer and use it in GitHub Desktop.
List current classpath in clojure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn current-classpath [] | |
(->> (ClassLoader/getSystemClassLoader) (.getURLs) seq (map #(.getFile %)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment