Fork me on GitHub

Feel free to add this to the examples directory in the bb repo :)


I will do, thanks


Format namespace requires in a git pre-commit hook using pod-babashka-parcera

Jakub Holý (HolyJak)18:11:56

Hi! I am working on but running into two issues: 1. script/compile logs Warning: profile :feature/jdbc not found. Is it anything to worry about? 2. It fails with the following. Notice the weird, incorrect path Hom/bin;

Created /Users/holyjak/Projects/external/babashka/target/babashka-0.2.4-SNAPSHOT-standalone.jar
script/compile: line 22: /Library/Java/JavaVirtualMachines/graalvm-ce-java11-20.1.0/Contents/Hom/bin/gu: No such file or directory


@holyjak what is in your GRAALVM_HOME variable?

Jakub Holý (HolyJak)18:11:06

OMG, I was sure it was correct but it is not, I see it now.

Jakub Holý (HolyJak)18:11:01

I see, when I copied the env export command I failed to select the whole line facepalm

👍 3
Jakub Holý (HolyJak)18:11:06

Babashka compile does not use reflect-config.json ?


@holyjak The reflection config is generated


See impl/classes.clj and the compile script


lein with-profiles +reflection,+native-image "do" run

Jakub Holý (HolyJak)19:11:28

OK, thanks. It turns out I don't need it when using the helidon driver. So it does compile now, will try tomorrow whether it works 🙂

🎉 3
Jakub Holý (HolyJak)20:11:26

Good news: It works, opening a PR. I love the Oracle jokers! From the startup log (bold mine): > Nov 11, 2020 9:27:28 PM oracle.jdbc.driver.OracleDriver registerMBeans > WARNING: Unable to find an MBeanServer so no MBears are registered. 😹 Let me know if I should add any tests, docs, or anything!


@holyjak Looks good to me! Merged.

❤️ 3