Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

binary distribution: graalvm support (native-image) #158

Open
1 of 3 tasks
avelino opened this issue Oct 20, 2023 · 1 comment
Open
1 of 3 tasks

binary distribution: graalvm support (native-image) #158

avelino opened this issue Oct 20, 2023 · 1 comment

Comments

@avelino
Copy link
Member

avelino commented Oct 20, 2023

Search first

  • I searched and no similar issues were found

What Happened?

We have a problem generating binaries with graalvm/native-image with the implementation of issue #152 in PR #153 - it's a simple implementation and graalvm has stopped working and we can't identify the real reason why it's not generating the binary (working correctly).

the "feature" (binary distribution) has been removed, but it is an important feature for the long-term "success" of the product, so we need to implement it in the future.

Reproduce the Bug

... it's not an execution bug, so I'm not describing it step by step

Expected Behavior

No response

Version and environment information

#153
for implementing excel support (xlsx)

Are you willing to submit a PR? If you know how to fix the bug.

@rafaeldelboni
Copy link
Collaborator

Hey I was reading this issue and I think the problem is with the newly added lib dk.ative/docjure it heavily relies on org.apache.poi/poi in which uses a lot of reflections and this can be hard to graalvm tree shake detect and add the dynamically executed classes in the build as you can see in this issue.

There are two ways of fixing this, one is find a lib that does what docjure does and is more graalvm friendly or use graalvm's tracing agent to detect all the classes being used as reflections and generate the config files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Future
Development

No branches or pull requests

2 participants