I'm trying to access a file in resources from a compiled native image (without much luck). Is this possible?
ie, (io/resource "foo.clj")
works in cider, but fails in Graal; I have added a catch all regex to my includes flag: ( "-H:IncludeResources='.*'"
)
@tees yes, this is possible, but your pattern may be incorrect. for clj-kondo I have this:
"-H:IncludeResources=clj_kondo/impl/cache/built_in/.*" \
"-H:Log=registerResource:" \
The latter will print which resources it included.The single quotes in your pattern may not be needed
Oh. Thanks @borkdude. I think that worked. Also, wanted to shout out thanks for the clj-rust-graal example. It's been helpful.