On Sat, Mar 27, 2010 at 9:55 PM, Mike Meyer
<[email protected]> wrote:
> 5) Can I distribute a jar file for my Clojure project under the GPL?
>
> No. When you compile your code, code from clojure (and clojure-contrib
> if you use it) will be included in the resulting jar file. In
> particular, any macros you use will expand in place in your
> code. Either of these make it a derived work, so you have to comply
> with both licenses, which you can't do.

I think this only matters if you're shipping .class files by way of
AOT. If you ship a jar full of .clj files then you're distributing
before anything is compiled, so the derivation is done by whoever runs
the code. In that case you shouldn't be responsible.

-Phil

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

To unsubscribe from this group, send email to 
clojure+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to