[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Clojure versioning



On Sun, Aug 22, 2010 at 3:04 AM, Peter Collingbourne <peter@pcc.me.uk> wrote:
> Hi,
>
> I am in the process of packaging Clojure 1.2 for Debian.  While
> doing so, I noticed that Clojure 1.1 AOT compiled packages, such as
> clojure-contrib, won't work with 1.2.  This led me to discover that
> AOT compiled packages are in general not guaranteed to work between
> Clojure versions.  The way I see it we have two possible solutions:
>
> 1) Do nothing.  This would essentially mean all clojure libraries would
>   need to move in lockstep with the clojure package.

As I understand it, this is a problem only for gen-class'ed
namespaces. clojure-contrib has a few. But many libraries never AOT
compile for precisely the same reason.

Clojure Maven plugin has a switch which can be used only to compile
declared namespaces. But until the upstream resolves the issue, I
suggest we move in step. Fortunately, we don't have many clojure
packages in debian yet.

Ramakrishnan


Reply to: