technomancy/swank-clojure

lein-swank cdt does not work with lein2 previews

Opened this issue · 1 comments

xeqi commented

cdt requires some extra jars in the classpath. There were added for lein1 by adding :extra-classpath-dirs to the project. lein2 does not support this.

For others following this trail, I have worked around this by providing my tools.jar via :source-paths instead.

IE:

:source-paths ["src" "/Library/Java/JavaVirtualMachines/jdk1.7.0_17.jdk/Contents/Home/lib/tools.jar"]