Thanks for replying, Sean. This was related to a similar post I made earlier. The problem was that I had switched to Leiningen 2 and my project.clj was still using :source-path "" instead of the new :source-paths []. An oversight on my part.
Dave On Saturday, June 16, 2012 11:21:57 PM UTC-5, Sean Corfield wrote: > > What's in your project.clj file? > > On Sat, Jun 16, 2012 at 1:19 PM, Dave Kincaid <kincaid.d...@gmail.com> > wrote: > > I'm still having a hard time understanding how namespaces work > apparently. I > > have a project that has two Clojure source files called core.clj and > > generator.clj. Both files are in the same directory, src/main/clj. > > > > In core.clj I have this: > > > > (ns core > > (:use [cascalog.playground] > > [generator]) > > (:import [org.joda.time.format DateTimeFormat DateTimeFormatter])) > > > > and trying to execute it or compile (using C-x C-e or C-c C-k) I get the > > error > > > > Could not locate generator__init.class or generator.clj on classpath: > > [Thrown class java.io.FileNotFoundException] > > > > Could someone help me understand what I'm doing wrong? > -- 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