Skip to content

Instantly share code, notes, and snippets.

@micha
Created December 16, 2014 22:04
Show Gist options
  • Select an option

  • Save micha/f74a6715102b0633f8db to your computer and use it in GitHub Desktop.

Select an option

Save micha/f74a6715102b0633f8db to your computer and use it in GitHub Desktop.
(require '[boot.pod :as pod]
'[clojure.java.io :as io])
(import java.net.URL)
(System/setProperty
"java.class.path"
(->> (pod/get-classpath)
(map #(.getPath (URL. %)))
(filter #(.isDirectory (io/file %)))
(interpose (System/getProperty "path.separator"))
(apply str)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment