If you do not want much to be compiled ahead-of-time and represented in the 
jar as class files, you may use the :impl-ns option on :gen-class.

e.g., 

1) project.clj says 
:aot [bla.bla-aot]

2) bla.bla_aot.clj says 
(ns bla.bla-aot (:gen-class :impl-ns bla.bla))

Ahead-of-time compilation does not follow the impl-ns reference.

3) bla.bla.clj has functions that Java may call as though they were in the 
bla.bla_aot class: for example, a -main function, which Java may call as 
bla.bla_aot.main. 

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to