-
Notifications
You must be signed in to change notification settings - Fork 2
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
Native #10
Comments
I've installed GraalVM and went through the tutorial at https://graalvm.github.io/native-build-tools/latest/gradle-plugin-quickstart.html - everything worked well. Tried the same steps (agent+metadataCopy+nativeCompile) on https://github.com/mvysny/vaadin-boot-example-gradle, but unfortunately I'm getting
which means that I've tried to add the I'm compiling Vaadin dev mode to native atm which is kind of dumb. I'll try the same thing but with prod mode. I wonder whether GraalVM is actually compatible with Jetty's classpath scanning. Will study more. Perhaps an up-to-date jetty+graalvm article could help tremendously. |
Unfortunately the production build fails with the same exception. Further things to check out: |
Debugged VaadinServlet in native a bit (by introducing my own MyServlet which extends VaadinServlet, and adding a bunch of stdout statements), found interesting info. |
Interesting related ticket which suggests that there might be some limitation in Jetty's classpath scanning: mvysny/vaadin-boot-example-maven#1 |
Could the Quick start be the solution? #11 |
Yup, QuickStart should help. Blocked by #11 |
When running the native binary, QuickStart fails with
|
The reason for that is that I'll polish the native mode, document, file a feature request at Jetty. |
Blocked by jetty/jetty.project#9514 |
Native is cool these days. Add support for building with Graalvm; there's a Gradle plugin to build for native. Jetty and class auto discovery needs to be figured out.
The text was updated successfully, but these errors were encountered: