boot

:boot-clj: https://boot-clj.github.io/ — build tooling for Clojure. Dev chat in #boot-dev
miikka 2018-08-08T08:08:01.000079Z

Should BOOT_JVM_OPTIONS work? I have this in my boot.properties and I still get erased stack traces.

BOOT_CLOJURE_NAME=org.clojure/clojure
BOOT_CLOJURE_VERSION=1.9.0
BOOT_VERSION=2.8.1
BOOT_JVM_OPTIONS=-XX:-OmitStackTraceInFastThrow

borkdude 2018-08-08T09:27:59.000124Z

I have -XX:-OmitStackTraceInFastThrow as well, but you might want to check if it doesn’t get overridden in your project

miikka 2018-08-08T11:46:51.000264Z

That's my project's boot.properties

seancorfield 2018-08-08T16:40:31.000451Z

Pretty sure you can't override JVM options in boot.properties -- after all, the JVM is already running by the time that file is read in to start Boot.

seancorfield 2018-08-08T16:40:57.000174Z

^ @miikka @borkdude

miikka 2018-08-08T17:09:35.000432Z

https://github.com/boot-clj/boot/wiki/Configuring-Boot#note-about-boot_jvm_options--boot_java_command this says it’s supposed to work but shrug

dominicm 2018-08-08T17:11:30.000055Z

Hmm, that's probably true then, @miikka what is boot -v ran from your home directory? You might need to boot -u

dominicm 2018-08-08T17:12:00.000474Z

that's not right, I meant to dump out the version

dominicm 2018-08-08T17:12:08.000318Z

boot --version

borkdude 2018-08-08T17:34:30.000375Z

oh yeah, I have a script that sets BOOT_JVM_OPTIONS, it’s not in my boot.properties

dominicm 2018-08-08T17:42:24.000095Z

@miikka boot -u should make that work

seancorfield 2018-08-08T18:00:14.000452Z

Wouldn't the Boot "core" file need to be updated for that change in 2.8.1 to take effect?

dominicm 2018-08-08T18:03:52.000145Z

is that not what boot -u does?

seancorfield 2018-08-08T18:05:33.000235Z

@dominicm I thought that only updated boot.properties which then caused the JAR files to be updated (but not the runner itself).

seancorfield 2018-08-08T18:10:08.000323Z

Looks like the boot.sh file hasn't changed so I'm clearly wrong about that 😐

dominicm 2018-08-08T18:10:32.000166Z

@seancorfield you might be right, I've run boot -u, and can't get boot to pick up the jvm_options I'm setting.

dominicm 2018-08-08T18:11:04.000028Z

https://github.com/boot-clj/boot-bin/pull/13 here's the fix

dominicm 2018-08-08T18:11:47.000129Z

yeah, boot-bin needs a release

seancorfield 2018-08-08T18:36:28.000050Z

OK, good. So I'm not crazy after all 🤯