On Fri, Aug 26, 2011 at 1:15 AM, finbeu <info_pe...@t-online.de> wrote: > How can I build such a uberjar that starts a repl instead of -main? The REPL > should have also some nice editing features (I think I have to add jLine or > how is it called?)
For a raw repl you should be able to do: $ lein uberjar clojure.main # requires Leiningen 1.6.1 Getting jline is a bit more work; you'll probably have to write your own alternate -main. Just give the uberjar task an argument to have it look in a different namespace for your jline-enabled -main though. If you can get your users to use rlwrap it would be much simpler. -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