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 * error in process filter: Wrong number of arguments: nil, 2 => i think this is because I need to update slime, doesn't seem to affect things * cannot use M-x clojure-jack-in any more => error in process filter: Search failed: "(run-hooks 'slime-load-hook) ; on port" Having M-x clojure-jack-in work would be great as it's much easier than M-x shell, lein swank, M-x slime-connect On Dec 5, 2:02 pm, George Jahad <cloj...@blackbirdsystems.net> wrote: > 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 your OS. > > Also, I never use clojure-jack-in, so that may also be a part of the > problem. I'll look into it, but in the meantime, can you also try > using "lein swank" and then "M-x slime-connect". > > On Dec 5, 10:32 am,AndyK<andy.kri...@gmail.com> wrote: > > > > > > > > > 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: #<RuntimeException > > java.lang.RuntimeException: java.io.IOException: Not a debuggee, or > > not listening for debugger to attach> > > > 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/lib/tools.jar" > > > Neither worked > > > I've also tried symlinking tools.jar as mentioned > > herehttp://groups.google.com/group/clojure/msg/70236500461be9c6?dmode=source > > > I have swank 1.4.0-SNAPSHOT installed as a leiningen plugin and I run > > it in Emacs23 using M-x clojure-jack-in > > > Any suggestions? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en