Hi I'm not certain how to approach this problem the best,
since libraries are compiled class files they are statically linked to the 
clojure and c.c version they were compiled with. Please correct me if I'm 
wrong. Now also between 1.1 and 1.2 some namespaces changed entirely so some 
code had to be version dependent for sure.

So I wonder how to handle this, for applications it isn't that much of an issue 
since the app can depend on one specific clojure version but for libraries this 
is a real challenge. The obvious approach would be to maintain one copy of the 
library for every clojure release out in the wild. So for the moment it'd be 
1.0 1.1 and 1.2, meaning a lib developer had to maintain 3 branches or whatever 
of the library, compile 3 jars and push them to clojars. While this is possible 
it is a sad solution is there any way to compile a jar that works with all 
versions of clojure? Even if it is like (:use my.lib.1-2) or something like 
that I think it'd be better then keeping dozens (I know it are only 3 at the 
moment) of copies.

So have any of the smarter people thought about this already or is this a open 
issue?

Regards,
Heinz

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