On Jun 20, 3:42 am, "Stephen C. Gilardi" <[email protected]> wrote: > One important need filled by gen-class is exactly this case: you need > a class with a name you can specify completely and use elsewhere. > > > I need to enter the Main class in a jar's Manifest, and was wondering > > how you guys have done it. > > There's an example at clojure.contrib.repl_ln.clj. It uses just "(:gen- > class)" (no options) in its "ns" declaration:
There's also an example in the peepcode talk (costs $9) http://peepcode.com/products/functional-programming-with-clojure gen-class accepts :name aname --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. 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 -~----------~----~----~----~------~----~------~--~---
