I'm using lein2 to aot compile a namespace than generates a Java
"Bootstrap" class. Bootstrap implements an interface and delegates
calls to other namespaces.

For some reason, the resulting jar file includes compiled classes for
the delegate namespaces, and many of their transitive dependencies.

I tried to use jar-exclusions to remove the extra class files from the
jar, but the graph of generated Java class appears to link to them as
it fails at runtime with NoClassDefFoundExceptions.

I'd like to compile the bare minimum, even if this means some sort of
thunk in Bootstrap. How can I do this? 

Thanks for any pointers.

- Phil

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

Reply via email to