Chouser, Do you have an example of gen-interface + proxy working together? Take a look at the following. Proxy works fine for a Java-provided interface, but not for the generated one (ICompileTest.class is being generated and is in the filesystem/classpath where expected.)
(ns compiletest) (gen-interface :name ICompileTest) (proxy [java.io.InputStream] []) ; Just to make sure proxy works by itself (line 3) (proxy [ICompileTest] []) ; Line 4 --- user=> (binding [*compile-path* *fusion-compile-path*] (compile 'compiletest)) java.lang.NullPointerException (compiletest.clj:4) thanks, Greg On Jan 4, 11:39 am, Chouser <chou...@gmail.com> wrote: > It may be, but let me again mention the option of gen-interface plus > proxy. Sometimes you need to produce a physical .class files of > concrete types (for servlet containers, for use with android, etc.). > But if that's not the case, you may prefer the simplicity of > gen-interface. Then you can implement your interface in as many ways > as needed using 'proxy'. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---