This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-25
Channels
- # anglican (2)
- # babashka (53)
- # beginners (99)
- # brompton (1)
- # calva (28)
- # circleci (43)
- # clj-commons (4)
- # clj-kondo (176)
- # cljsrn (22)
- # clojars (7)
- # clojure (175)
- # clojure-australia (2)
- # clojure-europe (20)
- # clojure-germany (1)
- # clojure-uk (5)
- # clojurescript (195)
- # cursive (18)
- # datomic (13)
- # emacs (2)
- # farolero (9)
- # find-my-lib (6)
- # fulcro (8)
- # graalvm (12)
- # gratitude (5)
- # helix (11)
- # improve-getting-started (36)
- # introduce-yourself (3)
- # jackdaw (21)
- # jobs (2)
- # joker (2)
- # malli (65)
- # meander (24)
- # nbb (2)
- # off-topic (4)
- # pathom (2)
- # polylith (17)
- # portal (5)
- # react (3)
- # reagent (22)
- # releases (1)
- # ring (4)
- # shadow-cljs (79)
- # show-and-tell (2)
- # testing (5)
- # tools-deps (9)
- # xtdb (12)
Prefixing this with: I don't believe this to be any issue with tools.deps. Has anyone seen "Premature end of Content-Length delimited message body" before? Maven issue with this particular artifact? At the moment, I can consistently reproduce this.
clj -Srepro -Sdeps '{:deps {com.ibm.icu/icu4j {:mvn/version "68.2"}}}'
Downloading: com/ibm/icu/icu4j/68.2/icu4j-68.2.jar from central
Error building classpath. Could not transfer artifact com.ibm.icu:icu4j:jar:68.2 from/to central ( ): Premature end of Content-Length delimited message body (expected: 11,963,048; received: 569,344)
If you delete that artifact from your ~/.m2 and re-get the dep, is it repeatable?
That sounds like a server side maven central thing but not sure
Does the :fn key need to be present in the :deps/prep-lib map if the alias that will be run already has an :exec-fn specified?
Ah, I see, so prep-lib doesn't support an alias which has a function and args specified. That's unfortunate.
I guess that means I'll be publishing an update to americano to have a function entrypoint for prep lib that will read the deps edn from the current directory and use that to trigger the normal compilation.
it's (effectively) run with -T which requires a fn
Thanks. 🙂