I'm guessing that removing the non-project classes and then just declaring a dependency should work well enough.
Couldn't find :disable-implicit-clean in the sample project file technomancy maintains on his github repo, but did use :clean-non-project-classes, which removed the compiled logging classes from the jar file but kept my own. However, I inspected a few of the jars in my ~/.m2 directory for other projects and realized people ship libraries as pure clj source files. Neat! The only way I could get this to work was to remove the :main setting from project.clj. After doing that, "lein install" and "lein jar" just include the source, which is good enough for me (and results in a much smaller jar file). To run my small long/running "main" test/dev code, I can use :run-alias. Then, lein trampoline run :main does the trick. (I use trampoline so that shutdown hooks get properly invoked). Thanks! K -- 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