On Tue, Feb 10, 2009 at 11:32 AM, Tzach <tzach.livya...@gmail.com> wrote:
> > Thanks for the response > Yes, I'm using Emacs SLIM. > > what should be the relation between the file (hello.clj) path to the > classpath? > Is the compile work on the file name, or on the function? in other > word, should I evaluate the function on the REPL before compile? > > Thanks > Tzach > The error you reported typically happens with out-of-sync slime and swank-clojure. I would recommend using the latest source code from each project (and latest clojure from source). In the specific case of compiling clojure.examples.hello, the compiler will look for a file clojure/examples/hello.clj on the classpath, meaning your java -cp or (in emacs) swank-clojure-extra-classpath should include the directory above clojure/. Hope this helps, Shawn --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---