This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-10-15
Channels
- # announcements (8)
- # beginners (65)
- # calva (25)
- # cider (11)
- # clj-kondo (9)
- # cljsrn (14)
- # clojure (103)
- # clojure-europe (15)
- # clojure-greece (1)
- # clojure-italy (28)
- # clojure-nl (39)
- # clojure-spec (9)
- # clojure-uk (28)
- # clojuredesign-podcast (37)
- # clojurescript (56)
- # cursive (41)
- # data-science (10)
- # datomic (25)
- # duct (1)
- # emacs (1)
- # events (3)
- # figwheel-main (7)
- # fulcro (9)
- # graalvm (7)
- # graphql (10)
- # jobs (2)
- # nrepl (17)
- # off-topic (40)
- # quil (12)
- # reitit (11)
- # remote-jobs (5)
- # rum (2)
- # shadow-cljs (387)
- # sql (22)
- # tools-deps (8)
- # vim (26)
- # xtdb (47)
- # yada (9)
@erkinun you can specify JVM Args in the REPL Run command with e.g. -Dlogback.configurationFile=/path/to/your/logback.xml
@stijn thanks a lot! do you know where do you specify those arguments in cursive repl though?
In the run configuration, see here: https://cursive-ide.com/userguide/repl.html#local-repls
Hey @erkinun dropping into an old thread here so forgive if you found this already. Just drop a logback-test.xml file in your dev-resources.
Logback favours logback-text.xml
over logback.xml
specifically for this reason - expects you to have one on a test path when you're testing.
See: https://stackoverflow.com/questions/50560184/which-takes-priority-logback-xml-or-logback-test-xml
hey @U051GK36U there’s a logback-test file available which works fine with lein test
in resources folder
but that does not come into effect when I run the tests from the cursive repl which I started via project.clj file
Hey Erkin, just checking back in here. Do you have dev-resources set for in your lein profile. For example I have:
15:24 Errors during project resolution
The following errors were found during project resolve:
/home/stijn/Documents/code/tryouts/http-connect/deps.edn:
Could not find artifact aero:aero:jar: in central ( )
anyone seen this before? after invalidate caches and restart still having the same isue
looks like there is no version in that error message
do you have {:mvn/version "something"} in your deps.edn?
When project use local deps with deps.edn
github-kwladyka/form-validator {:local/root "../master"}
then it open 2 projects at once, here doc
and master
.
But the bug is:
When click on deps.edn
in master
it open deps.edn
in doc
instead. But not always. Sometimes it works, sometimes not. No idea. I was fighting with it about 15 minutes and now it works after open right deps.edn in Visual Studio Code it started to work. Coincident? I don’t know.
Just sharing the issue. Don’t know solution and I can’t provide deeper info about bug. Probably it is even not Cursive bug, but Intellij.@alexmiller this is my deps.edn {:deps {}}
.
where is aero coming from then?
thanks :)
well, I'd figure that out and that will answer the question :)
if you can supply deps options, you might want to -Sdeps '{:aliases {:v {:verbose true}}}' -A:v
or -Sdescribe
to see what files are in use
yeah, I couldn't remember what was available through cursive
@stijn No-one else has reported that, and I can’t imagine anything about what Cursive is doing that would cause that.
How do you have deps configured? Can you send a screenshot of your Preferences | Build, Execution, Deployment | Build Tools | Clojure Deps page?