hey, i'm having trouble with including resources in a native-image. my directory structure looks like this:
resources
--- config
--- aws.user
--- aws.developer
src
target
project.clj
i've added the IncludeResources flag: -H:IncludeResources="/resources/config/aws.*$"
and in the code: (slurp (io/resource "config/aws.developer"))
but unfortunately i'm seeing: Exception in thread "main" java.lang.IllegalArgumentException: Cannot open <nil> as a Reader.
am i on the right track?try:
-H:IncludeResources="config/aws.*$"
brilliant, that worked. thanks very much borkdude :thumbsup:
My understanding is that graal cannot compile native images for other architectures (ARM, espressif, etc.). Is that correct?
they do have a distribution called aarch64
. but you cannot cross-compile if that's what you mean