I just realize i wasn't putting those functions in an ns . So
(defmacro new-handler-class [n event & body]
 `(do
      (ns ~n
        (:gen-class :extends
~'org.eclipse.ui.commands.AbstractHandler :init ~'init))
      (binding [*ns* (find-ns '~n)]
         (defn ~'-init [] [[][]])
         (defn ~'-execute [~'this ~event]
         ~...@body))))

Still doesnt work though. Same error. I'm attempting to use the
KeyTest class in java, btw, and it throws this error.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to