Oh, that's it. I think I fiddled with this last week. :\ So now, I've got these working:
eclipse, intellij -- NetBeans -- enclojure still complains contrib isn't on the classpath, whatever I do. -- Emacs -- No more works since I've pulled emacs-starter-kit's latest changes. 'M- x slime' doesn't fire up clojure anymore; slime no more exists, in fact. The last commit actually removed clojure-mode.el. Maybe they're in the middle of reorganizing some things. Since I previously had a separate installation of clojure-mode and slime, I checked what's new in clojure-mode. Looks like a new 'M-x clojure-install' is available, which would be responsible of installing clojure.jar, clojure-contrib.jar and slime. Looks really neat. Plus, they've removed paredit; maybe they've integrated it directly. -- Overall, I really like what I see. Once I'll have made up a choice, I'll probably spend some time contributing. Meanwhile, it's exploration time. Thanks again for everybody's answers. (Of course, suggestions for NetBeans and Emacs are still welcome.) On Apr 2, 9:12 am, Laurent PETIT <laurent.pe...@gmail.com> wrote: > in order to be compatible with package and java class names, your clojure > files must not have the - , so clojure automatically replaces them with > underscores _ when searching for a file / folder / package fragment. > > But inside clojure itself, when you reference the namespace by its > symbol/name, you must replace the underscores in the filename by an - , so > try : > > (ns myns > (:use clojure.contrib.duck-streams)) > > HTH, > > -- > Laurent > > 2009/4/2 Daniel Jomphe <danieljom...@gmail.com> > > > > > Thanks to everybody for their (sometimes highly detailed) answers. > > > -- ECLIPSE -- > > It's nice that contrib is indeed bundled in clojuredev. Core clojure > > works, but I get the following: > > > (ns myns > > (:use clojure.contrib.duck_streams)) > > > ==> [...].Exception: namespace 'clojure.contrib.duck_streams' > > not found after loading '/clojure/contrib/duck_streams' > > > -- INTELLIJ -- > > I also got the very same error yesterday in IntelliJ+LaClojure, after > > adding contrib's jar. > > > -- EMACS -- > > I'm actually a user of emacs-starter-kit, but haven't updated in a > > while. If I remember well, when I started using it, I had to install > > SLIME and clojure-mode myself, since they weren't yet part of it. I'll > > have another shot at it now. > > > ---- > > I'm suspecting the problem may be with my code, but I took it out of > > Stuarts' great book's code samples. --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---