This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-08-08
Channels
- # architecture (8)
- # beginners (78)
- # boot (20)
- # cider (81)
- # clara (53)
- # cljdoc (10)
- # cljsjs (3)
- # clojure (55)
- # clojure-boston (1)
- # clojure-dev (25)
- # clojure-nl (3)
- # clojure-uk (65)
- # clojurescript (65)
- # core-async (1)
- # cursive (41)
- # data-science (4)
- # datomic (16)
- # editors (74)
- # emacs (17)
- # events (1)
- # figwheel (3)
- # hyperfiddle (39)
- # immutant (16)
- # jobs-discuss (62)
- # juxt (2)
- # keechma (2)
- # leiningen (6)
- # mount (7)
- # nrepl (1)
- # off-topic (30)
- # onyx (14)
- # protorepl (2)
- # re-frame (4)
- # reagent (15)
- # reitit (19)
- # shadow-cljs (102)
- # sim-testing (1)
- # spacemacs (44)
- # specter (15)
- # tools-deps (50)
- # vim (2)
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
I have -XX:-OmitStackTraceInFastThrow
as well, but you might want to check if it doesn’t get overridden in your project
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.
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
Hmm, that's probably true then, @miikka what is boot -v
ran from your home directory? You might need to boot -u
Wouldn't the Boot "core" file need to be updated for that change in 2.8.1 to take effect?
@dominicm I thought that only updated boot.properties
which then caused the JAR files to be updated (but not the runner itself).
Looks like the boot.sh
file hasn't changed so I'm clearly wrong about that 😐
@seancorfield you might be right, I've run boot -u
, and can't get boot to pick up the jvm_options I'm setting.
https://github.com/boot-clj/boot-bin/pull/13 here's the fix
OK, good. So I'm not crazy after all 🤯