Use Java package naming conventions in Main-Class value of JAR manifest.

This commit is contained in:
Bobby Calderwood 2010-03-01 22:21:28 -05:00 committed by Phil Hagelberg
parent f5e05a33cd
commit 731f3c5a5a

View file

@ -20,7 +20,7 @@
(str "Built-By: " (System/getProperty "user.name"))
(str "Build-Jdk: " (System/getProperty "java.version"))
(when-let [main (:main project)]
(str "Main-Class: " main))])
(str "Main-Class: " (re-sub #"-" "_" (str main))))])
"\n")))))
(defn unix-path [path]