Hey all, I'm almost finished integration Kryo serialization into Cascalog using Alex Miller's Carbonite library, and I'm running into a bit of a hitch with AOT-compilation. I'm exposing the Clojure serializers to Kryo using a namespace compiled with :gen-class:
https://github.com/sritchie/carbonite/blob/master/src/carbonite/JavaBridge.clj and calling JavaBridge.enhanceRegistry(kryo); from my java code. The problem is that this locks me into Clojure 1.3.0, or whatever version was used to compile JavaBridge. What's the recommended way to work around this and support multiple Clojure versions? Should I build JavaBridge for 1.2 and 1.3 under different names and query *clojure-version* from java at runtime to decide which version to use? Thanks all, -- Sam Ritchie, Twitter Inc 703.662.1337 @sritchie09 (Too brief? Here's why! http://emailcharter.org) -- 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