Interesting about impl-ns, I'll have to look into that. If so, it would greatly 
simplify it all.

In my experience, if you only keep the gen-class .class, and delete everything 
else, it all works without issues. If you are actually doing AOT, not for the 
purpose of gen-class, I wouldn't recommend deleting parts of it. From what I 
understand, the gen-class creates a class which will load the Clojure code in 
the static initialize, and look for the Clojure code as a resource on the 
classpath. This seems to work fine if it is only there as a .clj, it will 
perform just in time compilation and everything will work as normal.

Does anyone know of edge cases here? Or has experienced issues with this 
strategy?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/5b75c5de-bdb3-49bb-99ce-65182e53a062%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to