There is a bug in the AOT compiler. When it calls the method functions it uses the java package name instead of the clojure namespace name. This creates problems if I have a namespace with a dash in the name.
(ns net.cddr.foo-bar1) (defn -main [] (println "Hello: foo-bar1")) Compiling this and running it results in "Exception in thread "main" java.lang.UnsupportedOperationException: net.cddr.foo_bar1/-main not defined". While this works: (ns net.cddr.foo_bar2) (defn -main [] (println "Hello: foo_bar2")) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---