This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-01-26
Channels
- # beginners (145)
- # boot (19)
- # calva (61)
- # cider (33)
- # cljs-dev (15)
- # cljsrn (16)
- # clojure (35)
- # clojure-dev (39)
- # clojure-russia (2)
- # clojure-spec (10)
- # clojure-uk (7)
- # clojurescript (5)
- # cursive (14)
- # data-science (1)
- # datomic (3)
- # figwheel-main (9)
- # fulcro (46)
- # jobs (4)
- # off-topic (8)
- # quil (6)
- # re-frame (5)
- # shadow-cljs (70)
- # spacemacs (3)
- # speculative (2)
- # tools-deps (2)
cursive is telling me that core clojure functions are not defined in my deps.edn based project. i found a related github project and the suggestion to reimport the project isn't working. š
also, i can't load namespaces in the repl (command + shift + L):
Loading src/clj/myproject/core.clj...
Syntax error (FileNotFoundException) compiling at (core.clj:1:1).
Could not locate amazonica/aws/ec2__init.class, amazonica/aws/ec2.clj or amazonica/aws/ec2.cljc on classpath.
deps.edn support is still being worked out as it is itself relatively new. I can confirm it works correctly when using Leiningen so if you can use that I'd suggest doing that instead of fighting the tooling.
Ok well that's good to know. @U0GC1C09L What's so special about deps.edn that Leiningen doesn't do?
@UAFT1B7Q8 i like the ability to point to a git sha as a dependency (say on github) rather than a package tagged with a version number. deps.edn also makes it easier to work on multiple projects at the same time. i don't have to lein install
them over and over as i make updates. also, aliases are really powerful. for example, i can launch my project in different ways for testing, or automate my deployments.
it's fast, lightweight, and with aliases i get the parts i need automate stuff. lein or boot can do that, of course, but in my experience it takes a little more effort.
Interesting. What exactly do you mean about multiple projects at the same time? From what I'm seeing aliases are the same as profiles in Leiningen.