On Oct 15, 7:56 am, Laurent PETIT <laurent.pe...@gmail.com> wrote: > if the clojure classes depend on the java classes in the implementation and > not in their interfaces ( extends, implements, methods signatures ), then > you can write your gen-class with a separate namespace for the > implementation of the class ( using :impl-ns ). Then you compile clojure > code in 2 pass : 1/ compile the namespaces that use call gen-class and > gen-interface for generating the class stubs 2/ compile java 3/ compile all > the remaining clojure code.
I used this approach in the past, now I try to avoid circular dependencies like this. -SS --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---