I would add that you can look at the resulting jar file and you will see
both the source code and the .class files in it.

By default the source is present but you can ask leiningen to remove it
from the target. If you need to keep your code private, that's an option.
You can then deliver only byte code to untrusted platforms.

Luc


> Is there any reason to compile a Clojure library with :aot?
> 
> (defproject bene-csv "1.0.0-SNAPSHOT"
>   :description "A csv parsing library"
>   :dependencies [[org.clojure/clojure "1.3.0"]
>                  [clojure-csv/clojure-csv "1.3.2"]]
>   :aot [bene-csv.core])
> 
> How does compiling or not compiling such a project with :aot affect the 
> Clojure "main" project that "requires" the library?
> 
> Thanks.
> 
> -- 
> 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
--
Softaddicts<[email protected]> sent by ibisMail!

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

Reply via email to