This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-06-24
Channels
- # announcements (39)
- # aws (4)
- # babashka (18)
- # beginners (32)
- # biff (10)
- # calva (22)
- # clj-kondo (11)
- # clj-on-windows (2)
- # cljs-dev (20)
- # clojure (31)
- # clojure-europe (130)
- # clojure-norway (21)
- # clojure-spec (24)
- # clojure-uk (17)
- # clojured (2)
- # clojurescript (6)
- # conjure (1)
- # core-async (5)
- # cursive (11)
- # datalevin (1)
- # datomic (9)
- # emacs (24)
- # figwheel-main (42)
- # fulcro (6)
- # gratitude (6)
- # honeysql (8)
- # juxt (16)
- # kaocha (6)
- # lsp (235)
- # malli (2)
- # nbb (7)
- # off-topic (23)
- # other-languages (24)
- # pedestal (7)
- # reitit (6)
- # sci (1)
- # shadow-cljs (21)
- # tools-build (22)
- # tools-deps (57)
- # vim (24)
[XPOST]
Hi there JUXT folks :D
We had this in our deps.edn
for pack
:
:main-opts ["-m" "mach.pack.alpha.one-jar" "-e" "resources"]
It seems the usage has changed but I can't decipher how to get the same behavior, especially around -e
(which I have inherited and I guess just adds the files?Well I actually get another error even without -e
Cannot open <target/myjar.jar> as an OutputStream.
Hey Dominic! This is the call I am trying clojure -T:pack one-jar :jar-file target/myjar.jar
👋 1
I also skimmed the code but nothing stands out, I did create target
oooooooh nooo
ok I'll try that out 😄
I don't support aliases via the CLI right now, but https://clojure.github.io/tools.deps.alpha/clojure.tools.cli.api-api.html is what it should be modelled after. Feel free to open an issue and/or send a PR, but I'm not likely to get to it for a little while.
Ok no worries and thank you that's fine, this indeed works:
clojure -Srepro -T:pack one-jar :jar-file \"target/appserver.jar\"