Would be nice if the "sample.project.clj" was more specific about :main. For example, it could say that it expects in it the class, and not the function to run; also, it could say that the "main" function has to be like:
(defn -main [& args]
Thanks for leinigen!
;; The -main function in this namespace will be run at launch if you
;; create an uberjar. Set :skip-aot metadata on this symbol to use
;; it for other things like the run task or shell wrappers without
;; bringing in AOT if you don't need an executable uberjar.
I will update it to use a more realistic example but we probably don't want sample.project.clj to be a Clojure tutorial.
Minor improvements to sample.project.clj, closes #710
Mention :gen-class, references #710