Excellent answers and I usually find a use for extra wrenches.
I'm still confused about when anybody actually calls the (compile)
function, any more tips here? Or is it being done for me by leiningen?
On Wed, Jan 8, 2014 at 1:54 AM, Softaddicts lprefonta...@softaddicts.cawrote:
To complement
Look at the compile fn at the bottom:
https://github.com/technomancy/leiningen/blob/master/src/leiningen/compile.clj
you will find your answer :)
Luc P.
Excellent answers and I usually find a use for extra wrenches.
I'm still confused about when anybody actually calls the (compile)
AOT in my experience is a little dicey and complicated.
On Tue, Jan 7, 2014 at 7:26 PM, Dave Tenny dave.te...@gmail.com wrote:
So if I sample some clojure jars in my local maven .m2 directory, most of
the jar files have only clojure code, and a project.clj.
If I look at the org.clojure
On Tue, Jan 7, 2014 at 4:26 PM, Dave Tenny dave.te...@gmail.com wrote:
1) When and under what circumstances projects are compiled in source versus
.class form?
Most Clojure projects ship in source form (and are therefore compiled
to bytecode on demand as they are loaded).
2) Why there is no
Just to throw a wrench in this thread :)))
a) We AOT our stuff to avoid shipping our sourde code to customer sites
(:aot [regex...]), this requirement is the basis for what follows.
b) We filter classes using lein to remove from our artifacts classes
from other libs so only our AOT code
To complement my previous post and in relation to this one,
we use (if-not *compile-file* ...) to wrap expressions that cannot be
AOT compiied (like loading configuration or connecting to external
resources which you do not want to do at compile time but at run time only:)
This confused a lot of