Hi, I randomly get ClassNotFoundExceptions when I try to compile a file. This is a paste from the repl:
Clojure 1.0.0- user=> (compile 'app.hello) java.lang.RuntimeException: java.lang.ClassNotFoundException: app.hello$exec__4 (NO_SOURCE_FILE:0) user=> (compile 'app.hello) app.hello I'm really fresh to Clojure, but that strikes me as very odd. I just execute the same command twice. But no regularity, before that it would fail for 20 or so time in a row. I'm running the MacPorts packaged version 1.0.0 of Clojure on OS X 10.5.7. (With JLine support.) FWIW, this is the Hello World I try to run, probably still buggy as well. ;; file app/hello.clj: (ns app.hello (:gen-class) (:import java.io.BufferedReader) (:import java.io.InputStreamReader)) (refer 'clojure.core) ;; not sure if this is necessary (defn capture [command] (let [process (.exec (Runtime/getRuntime) command) input (BufferedReader. (InputStreamReader. (.getInputStream process)))] (loop [line (.readLine input) output (list)] (if (zero? line) (reverse output) (recur (.readline input) (cons line output)))))) Florian -- Florian Ebeling Twitter: febeling florian.ebel...@gmail.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---