On Mon, Mar 23, 2009 at 4:59 AM, Rich <rwml...@gmail.com> wrote: > > Hi, > > I'd been using the 20081217 release. The following code worked, as > long as Structure was in the working directory: > > Clojure > user=> (use 'Structure) > nil > > However, after I updated to 20090320, I get the following errors: > > Clojure > user=> (use 'Structure) > java.io.FileNotFoundException: Could not locate Structure__init.class > or Structure.clj on classpath: (NO_SOURCE_FILE:0) > > In both cases, I'm launching Clojure from the directory that contains > Structure.clj as follows: > > java clojure.lang.Repl > > What am I doing wrong?
Does Structure.clj contain a call to the ns macro? If so, I think you need to move Structure.clj to a subdirectory that matches its namespace. For example, if the namespace is a.b.c then you need a directory in the classpath that contains an "a" directory that contains a "b" directory that conains "c.clj", not "Structure.clj". -- R. Mark Volkmann Object Computing, Inc. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---