This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-11-11
Channels
- # announcements (3)
- # babashka (62)
- # beginners (58)
- # calva (40)
- # cider (3)
- # clj-kondo (75)
- # cljdoc (14)
- # clojars (8)
- # clojure (110)
- # clojure-australia (6)
- # clojure-europe (38)
- # clojure-hungary (1)
- # clojure-india (4)
- # clojure-italy (1)
- # clojure-nl (3)
- # clojure-spec (4)
- # clojure-uk (3)
- # clojurescript (45)
- # conjure (4)
- # cursive (35)
- # data-science (1)
- # datomic (11)
- # events (2)
- # exercism (4)
- # figwheel-main (4)
- # fulcro (103)
- # graphql (16)
- # helix (1)
- # holy-lambda (16)
- # honeysql (1)
- # introduce-yourself (3)
- # jobs (1)
- # keyboards (2)
- # lsp (4)
- # malli (11)
- # membrane-term (3)
- # mount (2)
- # nextjournal (2)
- # off-topic (53)
- # pathom (30)
- # pedestal (2)
- # portal (22)
- # rdf (1)
- # re-frame (7)
- # reagent (3)
- # reitit (5)
- # remote-jobs (6)
- # shadow-cljs (20)
- # sql (8)
- # tools-build (10)
- # vim (4)
- # xtdb (12)
Is it possible to run clojure -T:build
combined with --report stderr
?
I'm getting a
CreateProcess error=206, The filename or extension is too long
Full report at:
C:\Users\appveyor\AppData\Local\Temp\1\clojure-7706113854269791966.edn
in a Windows build where I'm making an uberjar with aws-api and it has loads of deps. So I'm relatively sure that it's a problem with jar / uber in tools build, but I can't see the logs.The output: https://gist.github.com/borkdude/5071a7e45dcab3569df434952e97348e I'm sure there's already an issue for this. I think I might be able to work around it by writing the classpath to a file and then invoking Java manually.
Perhaps that (writing classpath to file and then use file as java argument) can become an option in compile-clj
. Using @file
style arguments are only supported on Java 9+.
I added this as an option in java-command
which is used by compile-clj
and by default it is set to automatically detect and use a cp file if it's both needed (Windows + command length > 8k) and can be used (Java 9+). So should automatically take care of this with no changes in your build. Have not released, but please test 5e07caa26d9bffa037b7e0498645a0ddae95a450
@U064X3EF3 will do!
cool, making some additional updates to let it flow through compile-clj too, will release after