I was trying to set some JVM properties pre-startup (proxy & keystore) and noticed that nothing got applied. So my natural second attempt was to put everything in a script, and call that as a drop-in replacement for the bb-cmd -- which in turn also didn't get called. I have no idea where the "fallback" bb cmd was configured, but it always called the one I configured initially, regardless of my entries in the run configuration.
So I configured a 'before launch' manual bb-nrepl-server script which was another bust since non-terminating prelaunch scripts will block the repl connection from being established. I looked up workarounds for that and ended up going with the suggestion to install a plugin called multirun.
To make it work I had to configure the two individual steps (nrepl-server + nrepl-connection) as separate run configurations and glue them together with multirun, which kind of worked with some minor drawbacks.
The drawbacks with the workaround are:
I have to manually set the nREPL port, which means I can only have one active configuration running
I have three configurations for one use case (bb with arguments)
I have to install a plugin
I consider this a very low prio feature enhancement but if it's a low hanging fruit I'd be happy to get it fixed. :-)
My IJ version: Build #IC-233.13135.103, built on December 20, 2023
My Cursive version: 1.13.3-2023.3
Platform (probably not relevant, but for completeness):
BuildNumber Caption Version
22621 Microsoft Windows 11 Enterprise 10.0.22621
I was trying to set some JVM properties pre-startup (proxy & keystore) and noticed that nothing got applied. So my natural second attempt was to put everything in a script, and call that as a drop-in replacement for the bb-cmd -- which in turn also didn't get called. I have no idea where the "fallback" bb cmd was configured, but it always called the one I configured initially, regardless of my entries in the run configuration.
So I configured a 'before launch' manual bb-nrepl-server script which was another bust since non-terminating prelaunch scripts will block the repl connection from being established. I looked up workarounds for that and ended up going with the suggestion to install a plugin called
multirun
.To make it work I had to configure the two individual steps (nrepl-server + nrepl-connection) as separate run configurations and glue them together with
multirun
, which kind of worked with some minor drawbacks.The drawbacks with the workaround are:
I consider this a very low prio feature enhancement but if it's a low hanging fruit I'd be happy to get it fixed. :-)
My IJ version: Build #IC-233.13135.103, built on December 20, 2023 My Cursive version: 1.13.3-2023.3 Platform (probably not relevant, but for completeness): BuildNumber Caption Version 22621 Microsoft Windows 11 Enterprise 10.0.22621