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

Copy over the json files required by native-image tool during native-image generation on Windows #11649

Merged
merged 1 commit into from
Aug 27, 2020

Conversation

jaikiran
Copy link
Member

@jaikiran jaikiran commented Aug 26, 2020

Fixes #11131
Fixes #11184

On Windows, there's currently a hack[1] where we build a uberjar when generating a native-image. This hack is to temporarily get around an unresolved issue in Graal VM. One thing that workaround misses is copying over the json configuration files that are sometimes present in an application to configure native image generation.

The commit here introduces that code to copy over these json files (like we do when generating a thin jar). I don't have a way to reproduce this or test this fix, but I think the change I made in the test should catch this in future.

[1] #8850

Copy link
Contributor

@geoand geoand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@gsmet gsmet merged commit 8a3c3d7 into quarkusio:master Aug 27, 2020
@gsmet gsmet added this to the 1.8.0 - master milestone Aug 27, 2020
@jaikiran jaikiran deleted the qk-11131 branch August 27, 2020 09:35
@gsmet gsmet modified the milestones: 1.8.0 - master, 1.7.2.Final Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants