I'm using (:gen-class) to create javax.servlet.Filter, then creating a
Jetty instance around the filter.

Alas, for this to work, I have to go through my compile build to
create the filter class so that I can let Jetty instantiate the
filter.

It would be nice if (gen-class), when not in compile mode, would still
create a class in memory that could be referenced by class name
elsewhere in Clojure.

My goal here is to use the exact same Filter class whether running
embedded (i.e., starting up Jetty from Clojure) or deployed (a
traditional WAR with the same filter configured in web.xml).

-- 
Howard M. Lewis Ship

Creator of Apache Tapestry
Director of Open Source Technology at Formos

--~--~---------~--~----~------------~-------~--~----~
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