1. Loading .clj files Is it possible to load up .clj files from the classpath of an arbitrary java app? For example, could you proxy HttpServlet and run your servlet as a .clj from within a servlet container? If not, and you have to gen-class the clojure servlet class, could the servlet bootstrap the clojure environment and proceed to load additional .clj files off the classpath?
Essentially, I'm trying to figure out the easiest path to incorporate clojure code into an existing java+tomcat environment (although I think this is interesting in many other cases, too.) 2. Spring integration Along this note, someone asked a question awhile back about integrating spring with clojure. Is it possible to autowire either proxy or gen-class clojure classes? If so, does anyone have any experience with this scenario? It would be very cool to be able to progressively re-write a java app by progressively replacing java implementations with clojure implementations as a way to evangelize the language at work. 3. Multi-Module Project Dependencies Lastly on this topic, I've been attempting to create a multi-module project in Intellij that uses both java and clojure. Typically, you set module foo to depend on module bar, and the classpath gets configured properly. What I'm seeing is that laclojure (or whatever) is not compiling the .clj files to .class files, so my output dir is empty. As a result, there is nothing for foo to depend on. How is this supposed to work? Should I be copying the .clj files to the output dir? Or do I need to gen-class everything and only use .class files? Basically this is an extension of #1 above. 4. Ant tasks for building not working on head I sent a note to the task maintainer, Ivan Chernetsky, on this, but I thought I'd see if anyone else out there is using this. The last thread I read on this indicated that the tasks only worked w/ Clojure 1.0, and that he was thinking of getting it to work with HEAD. My vote: +1. -Todd p.s. If this is a double post, my apologies. I sent this from my email client yesterday, and did not see it come up in the list, so I'm resending via the google groups web page. -- 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