Created
December 20, 2011 19:22
-
-
Save ekoontz/1502838 to your computer and use it in GitHub Desktop.
Show your classpath within Clojure REPL.
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
(use 'clojure.pprint) | |
(import 'java.lang.Thread) | |
(-> (Thread/currentThread) (.getContextClassLoader) (.getURLs) (seq) (pprint)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
...unfortunately stopped working -
.getContextClassLoader
seem to return empty vector