Created
September 15, 2016 20:46
-
-
Save scotthaleen/1eaadcd0d7c545bbb637c456f0daf688 to your computer and use it in GitHub Desktop.
Get a list of what is on the classpath
This file contains hidden or 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
(->> (ClassLoader/getSystemClassLoader) | |
.getURLs | |
(map #(.getFile %))) | |
;; Add a filter | |
(->> (ClassLoader/getSystemClassLoader) | |
.getURLs | |
(map #(.getFile %)) | |
(filter #(clojure.string/includes? % "resources"))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment