it would be nice to have auto toc - fwiw, i thought i heard that asciidoc has some kind of toc support
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
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
@holyjak what is in your GRAALVM_HOME
variable?
OMG, I was sure it was correct but it is not, I see it now.
I see, when I copied the env export command I failed to select the whole line 🤦
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
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 🙂
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!
@holyjak Looks good to me! Merged.