Fork me on GitHub
#babashka
<
2020-11-11
>
borkdude10:11:32

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

alekszelark10:11:30

I will do, thanks

borkdude12:11:22

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

Jakub HolĂ˝ (HolyJak)18:11:56

Hi! I am working on https://github.com/holyjak/babashka/tree/feature/oracledb 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

borkdude18:11:48

@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 ?

borkdude18:11:35

@holyjak The reflection config is generated

borkdude18:11:01

See impl/classes.clj and the compile script

borkdude18:11:33

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. 😹 https://github.com/borkdude/babashka/pull/638 Let me know if I should add any tests, docs, or anything!

borkdude21:11:26

@holyjak Looks good to me! Merged.

❤️ 3