Open delanym opened 1 year ago
Did you ensure that the META-INF/MANIFEST.MF
resource is included in the executable?
The annotation processor includes the resource bundle specified in the @Command
annotation; See https://github.com/remkop/picocli/tree/main/picocli-codegen#generate-graalvm-configurations-with-the-annotation-processor,
But the manifest file is not included by default.
See https://github.com/remkop/picocli/tree/main/picocli-codegen#resourceconfiggenerator for manually generating the necessary GraalVM configuration file.
The --pattern
option can be used to specify Java regular expressions that match additional resource(s) to be included in the image.
Also, I would recommend adding some debug tracing to your version provider implementation (using picocli's Tracing API), to help you zoom in to the cause of the issue.
@delanym Did you have a chance to investigate my suggestions?
Hi @remko. I haven't yet - still intend to. Feel free to close. Thank you for answering
On Sun, 27 Aug 2023, 10:30 Remko Popma, @.***> wrote:
@delanym https://github.com/delanym Did you have a chance to investigate my suggestions?
— Reply to this email directly, view it on GitHub https://github.com/remkop/picocli/issues/2018#issuecomment-1694606058, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIQOHS6EZRUAPFSPH4PPN3XXMAS7ANCNFSM6AAAAAAXWYZ4N4 . You are receiving this because you were mentioned.Message ID: @.***>
hi. How can I use the Maven version when compiling on GraalVM?
Noted: https://github.com/remkop/picocli/issues/850#issuecomment-548993798
My current approach doesn't work with GraalVM. When I run the executable with -V there is no output and no error.