This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-12-05
Channels
- # adventofcode (419)
- # aleph (8)
- # aws (6)
- # beginners (148)
- # boot (9)
- # cider (24)
- # cljs-dev (37)
- # cljsjs (8)
- # clojure (134)
- # clojure-android (6)
- # clojure-brasil (15)
- # clojure-dev (8)
- # clojure-dusseldorf (2)
- # clojure-greece (67)
- # clojure-italy (8)
- # clojure-japan (3)
- # clojure-russia (3)
- # clojure-spec (8)
- # clojure-uk (13)
- # clojurescript (54)
- # clojurex (6)
- # cursive (5)
- # data-science (12)
- # datomic (15)
- # defnpodcast (11)
- # emacs (25)
- # fulcro (95)
- # graphql (3)
- # lein-figwheel (1)
- # leiningen (27)
- # luminus (1)
- # lumo (6)
- # mount (2)
- # off-topic (112)
- # om (3)
- # onyx (24)
- # perun (3)
- # re-frame (20)
- # reagent (1)
- # reitit (2)
- # ring-swagger (13)
- # rum (10)
- # shadow-cljs (45)
- # spacemacs (24)
- # sql (2)
- # unrepl (78)
- # yada (1)
@noisesmith thanks for info. I was hoping to avoid hosting them somewhere external, but I can make that work. much appreciated! 🙂
hey all, I'm on windows 7 on a network with self-signed certificates.
could not install leiningen for my life through the installer or with the shell.
I was able to download the jar though.
Now I can do java -jar lein.jar to start a REPL, but I'm not sure how to use the other commands.
For example, java -jar lein.jar new derp
just returns this:
Exception in thread "main" java.io.FileNotFoundException: new (The system cannot
find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at clojure.lang.Compiler.loadFile(Compiler.java:7314)
at clojure.main$load_script.invokeStatic(main.clj:275)
at clojure.main$script_opt.invokeStatic(main.clj:335)
at clojure.main$script_opt.invoke(main.clj:330)
at clojure.main$main.invokeStatic(main.clj:421)
at clojure.main$main.doInvoke(main.clj:384)
at clojure.lang.RestFn.invoke(RestFn.java:421)
at clojure.lang.Var.invoke(Var.java:383)
at clojure.lang.AFn.applyToHelper(AFn.java:156)
at clojure.lang.Var.applyTo(Var.java:700)
at clojure.main.main(main.java:37)
hmm, try java -jar lein.jar -- new derp
?
I remember seeing that somewhere, but no idea if it will work here.
thanks, but still getting the error 😕
that's for passing arguments into the lein template
the arg after the jar needs to be the class to execute right?
oh, never mind, that stack trace shows something else is going on
when you -jar, you don’t get to pick the class
oh, lein.jar just sets clojure.main
justin@justin: ~/sprinklr$ java -jar ~/.lein/self-installs/leiningen-2.8.1-standalone.jar
Clojure 1.8.0
user=>
what that looks like is that it’s running clojure.main
that explains that error
so give clojure.main the -m lein.core/-main
or whatever
you don’t need the -main
ahh, right!
you just give it the namespace
can you tell I’ve spent too much quality time with clojure.main lately?
the clj tool is awesome btw
it’s definitely going to replace the goofy lein project bundling pomegranate with no source code that I was making uberjars from 😄
new reference page: https://clojure.org/reference/deps_and_cli (guide being overhauled too)
cool, thanks