Fork me on GitHub
#cider
<
2021-11-03
>
zackteo07:11:06

Hello! if I need to set JVM args : "-http://Djavax.net.ssl.trustStore=..." in IntelliJ where would I do that for cider in a lein project? I tried cider-clojure-cli-global-options but that doesn't seem to work

zackteo07:11:08

Okay! I added a system var of JVM_OPTS which lein takes in and that worked out!

vemv07:11:15

I'd recommend :jvm-opts over env vars :jvm-opts are more composable, via Lein profiles

zackteo08:11:31

hmmmm, I tried :`jvm-opts` initially but it didn't quite seem to work

zackteo08:11:37

How do lein profiles work actually?

vemv08:11:50

:jvm-opts ["-.ssl.trustStore=..."] should work the way you can debug it is by inspecting the resulting java process via ps aux

plexus17:11:56

Blog post about nREPL/CIDER stuff. I actually wanted to blog about the work I've been doing on CIDER and related projects, but this turned into a separate exposition explaining where we are and what the problem is I'd like to see solved. (apologies for cross-posting with #news-and-articles) https://lambdaisland.com/blog/2021-11-03-making-nrepl-cider-more-dynamic-1

❤️ 7
richiardiandrea20:11:47

I was actually thinking of dropping our deps.edn stating tooling deps - thank you!