In the clojure getting started guide, it says that if user.clj is found on the classpath, then that file will be evaluated and the repl will start with any modifications made from that file.
My directory structure looks like this /src/user.clj /src/rlm/quick.clj /lib/*all-my-jars* I have a function (dirty) in quick.clj that essentially does: (defn dirty [] (use :reload-all '[clojure.java [javadoc :only [javadoc]]) (clojure.java.javadoc/add-local-javadoc "/path/to/local/javadocs")) (dirty) works fine at the repl if I type (do (require 'rlm.quick) (rlm.quick/dirty)) If I define user.clj like so: (ns user) (require 'rlm.quick) (rlm.quick/dirty) Then I get the error : java.lang.ClassNotFoundException: clojure.java.javadoc If I move the (clojure.java.javadoc/add-local-javadoc "/path/to/local/javadocs") from (dirty) straight into user.clj it works fine. what's up with this? --Robert McIntyre and user.clj reads like this -- 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