sbt-native-packager
sbt-native-packager copied to clipboard
graal resources not copied
trafficstars
Using 1.7.0:
- I created
src/graal/reflect.json - I specify
"-H:ReflectionConfigurationFiles=stage/resources/reflect.json"in mygraalVMNativeImageOptions - I do not have
graalVMNativeImageGraalVersionset - I run
graalvm-native-image:packageBinbut the resources do not get copied totarget/graalvm-native-imageresulting innative-imagebeing unable to find the file
Thanks @jamesward for the bug report.
It seems that the graalvm plugin only uses the resources directories for builds with the docker image.
should this file only available for the build or is this part of the image in the end?
Thanks for the quick response! Ah! That is why I did see this working on another project (where I was running in docker). It just needs to be there for the build.