This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-19
Channels
- # bangalore-clj (2)
- # beginners (217)
- # boot (3)
- # cider (130)
- # cljs-dev (117)
- # cljsrn (11)
- # clojure (99)
- # clojure-china (1)
- # clojure-denver (1)
- # clojure-dev (22)
- # clojure-italy (30)
- # clojure-norway (5)
- # clojure-russia (13)
- # clojure-sanfrancisco (3)
- # clojure-spec (74)
- # clojure-uk (107)
- # clojurescript (40)
- # clr (6)
- # core-async (25)
- # core-logic (4)
- # cursive (1)
- # data-science (1)
- # datomic (62)
- # duct (11)
- # editors (14)
- # figwheel (3)
- # fulcro (12)
- # funcool (1)
- # garden (12)
- # graphql (19)
- # jobs (4)
- # jobs-rus (1)
- # lein-figwheel (1)
- # leiningen (12)
- # luminus (5)
- # off-topic (45)
- # onyx (12)
- # other-languages (1)
- # parinfer (5)
- # programming-beginners (3)
- # re-frame (113)
- # reagent (63)
- # remote-jobs (10)
- # ring-swagger (1)
- # shadow-cljs (31)
- # slack-help (3)
- # spacemacs (27)
- # specter (1)
- # unrepl (44)
- # yada (16)
The classpaths are all messed up, it seems like the new windows 10 changes completely changes how the environment gets resolved
@danielcompton The classpath with amazonica is 2.5 times larger than without it, and seems to bring my JVM down with salaam convulsions because it's simply beyond some hard-coded limit. Trying 'java -cp lein classpath
clojure.main' in a git bash gives me this:
$ java -cp lein classpath
clojure.main
bash: /c/Program Files/Java/jdk1.8.0_152/bin/java: Argument list too long
I can't even get that far in a DOS command line, it truncates the classpath and won't even let me finish typing 'clojure.main'...
I pasted the classpath into a google doc with and without amazonica. Without it, my google doc is 4.25 pages roughly. With amazonica, it's a full 9 pages. Sheesh.
so for any leiningen experts out there, would it be possible to write a custom leiningen task that created a “pathing jar” (essentially an empty jar with a manifest which specifies all the required jars as its classpath) and modified the downstream classpath to only use that jar somehow? (this is to solve @bob592’s problem above)
@mbjarland I suppose if I uber-jarred my project and then ran it it would be fine. Uber-jarring just the dependencies seems like a good idea for dev repl'ing.
yeah, uber jaring is just quite a heavy task, creating a pathing jar could be done in milliseconds and would solve this in a nice lightweight way