This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-12-25
Channels
- # adventofcode (5)
- # announcements (2)
- # babashka (10)
- # beginners (25)
- # calva (2)
- # clojure (23)
- # clojure-europe (1)
- # clojure-nl (3)
- # clojure-uk (5)
- # clojurescript (6)
- # community-development (5)
- # core-async (16)
- # core-logic (17)
- # datomic (9)
- # defnpodcast (1)
- # duct (6)
- # emacs (4)
- # leiningen (3)
- # off-topic (99)
- # planck (1)
- # shadow-cljs (3)
- # sql (1)
- # tools-deps (6)
- # vrac (2)
Apolgies if this is posted in the wrong group! I created a uberjar using clj -A:new app
and clj -A:uberjar myproject.jar
alias from @seancorfield’s dot-clojure aliases. I'm getting the following error message though: Error: Invalid or corrupt jarfile myproject.jar
I copied the aliases from the deps.edn from dot-clojure over to the deps.edn in the project to run the :uberjar alias. How do I make a working uberjar?
@watchtheblur The README on depstar
explains all that...
At work we run all our uberjars like this: java -cp /path/to/the.jar clojure.main -m entry.point
-- which will run entry.point/-main
as the "main" function. But the readme explains several other approaches.