Hello everyone, I think i've not figured out yet how compile and/or namespace works.
I'm trying to execute the example posted in http://clojure.org/compilation I've created a file named "hello.clj" and put the clojure.jar in the same directory (c:\clojure_tests). Then, i started the REPL using the command: java -cp clojure.jar clojure.main And executed (compile 'clojure.examples.hello), but i'm getting the following error: java.io.FileNotFoundException: Could not locate clojure/examples/hello__init.class or clojure/examples/hello.clj on classpath: (NO_SOURCE_FILE:0) If i execute compile with a different namespace like (compile 'hello) then i get the following error: java.io.IOException: The system cannot find the path specified (hello.clj:1) Is there any relationship between the namespace name and the file name? How compile determines which file is going to be compiled? Thanks in advance, Paulo Sergio. -- 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