Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defproject cptest "0.1.0-SNAPSHOT"
- :description "classpath test"
- :url "http://example.com/FIXME"
- :license {:name "Eclipse Public License"
- :url "http://www.eclipse.org/legal/epl-v10.html"}
- :dependencies [[org.clojure/clojure "1.7.0"]
- [org.clojure/java.classpath "0.2.2"]]
- :profiles {:uberjar {:aot :all}}
- :main cptest.core)
- (ns cptest.core
- (:require [clojure.java.classpath :as cp])
- (:gen-class))
- (defn -main [& args]
- (println "Classpath directories" (cp/classpath-directories)))
- `Classpath directories (#object[java.io.File 0x14555e0a /home/phil/cptest/src] #object[java.io.File 0x4bb33f74 /home/phil/cptest/target/classes])`
- `java -jar /home/phil/cptest/target/cptest-0.1.0-SNAPSHOT-standalone.jar`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement