Re: swank-cdt problems

2011-12-08 Thread AndyK
Thank you - I am able to use CDT now. Here's what I had to do... * updated lein plugin to 1.4.0-SNAPSHOT * symlinked to tools.jar in ~/.lein/plugins * added jvm-opts line to project.clj * ran swank using lein swank and M-x slime-connect Problems I still see.. * C-c C-x shortcuts do not work * erro

Re: swank-cdt problems

2011-12-05 Thread George Jahad
this error: java.io.IOException: Not a debuggee, or not listening for debugger to attach> is usually caused by not having this line in your project.clj: :jvm-opts ["-agentlib:jdwp=transport=dt_socket,server=y,suspend=n"] if that doesn't fix your problem, send me your project.clj and the name of

Re: swank-cdt problems

2011-12-05 Thread AndyK
After a bit more messing around - the problem is a little different... I fixed the swank plugin version to 1.4.0-SNAPSHOT and updated clojure- mode to 1.11.4 Now I get error in process filter: Search failed: "(run-hooks 'slime-load- hook) ; on port" when I try to run clojure-jack-in Thoughts? O

swank-cdt problems

2011-12-05 Thread AndyK
I'd like to be using swank-cdt, but I'm running into the tools.jar problem warning: unabled to add tools.jar to classpath. CDT 1.4.0a startup failed: # In project.clj, I've tried :extra-classpath-dirs ["/usr/lib/jvm/java-6-sun/lib/tools.jar"] and :dev-resources-path "/usr/lib/jvm/java-6-openjdk