-
Notifications
You must be signed in to change notification settings - Fork 167
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
Provide an example for compiling to native-image #152
Comments
There is a lot of reflection happening under the covers so it probably is possible but not easy. Are you looking to do this for server, client, or both? |
My primary target would be the client. I have seen that micronaut and quarkus are doing this for the java server side, but my target is a openjfx client. |
Cool. One more question... Is it ok to use the |
Heya :) I do not have even a basic idea how this setup would look like :) Maybe you could point me to an example setup with the lite-client? ATM I have a shared module that contains the generated stubs and service skeletons, that I use on both sides. |
Cool. I think |
Ok I get it. Not using netty seems to be a good idea :) |
At least I could compile and connect it now with the lite-stubs. Now I see other troubles with openjfx :( |
@eiswind Are you targeting JVM platform using lite? Would you be willing to share a sample project here since you say you got it working? |
@asarkar Unfortunately I cannot share this code. But it was a no brainer. As soon as I did remove netty and replaced it with the lite libs it did compile without any further effort. |
@asarkar You can find an example |
@jamesward I saw that one already, but I got the impression that @eiswind got lite working for JVM platform, not Android; I also asked specifically and wasn't refuted.
|
Cool. My example does target the JVM. But I'm working on another one that targets Android (AAR). Is that what you are looking for? |
I used lite in the |
I fail with and seemingly endless chain of problems when I try to build a native-image with graalvm.
Has anyone setup a working example?
The text was updated successfully, but these errors were encountered: