On Wed, Oct 8, 2008 at 5:32 PM, Meikel Brandmeyer <[EMAIL PROTECTED]> wrote:
>
> gen-class loads eg. foo/bar/Baz.clj for class foo.bar.Baz. However,
> maybe one also has support functions in the foo.bar namespace. Hence one
> needs also foo/bar/bar.clj.

I seem to be able to solve the problem by putting this at the top of Baz.clj:

(ns foo.bar (:use foo.bar))

That causes foo/bar/bar.clj to be loaded the first time its needed and
not again.  Is that what you want? I'm probably misunderstanding the
problem, so feel free to correct me.

--Chouser

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to