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

Allow to override the Oracle JDBC metadata for native images also on Windows #26357

Merged
merged 1 commit into from
Jun 27, 2022

Conversation

Sanne
Copy link
Member

@Sanne Sanne commented Jun 24, 2022

Fixes #25954

Turns out the issue is that we include a "?" symbol in the regex to match both resources that we need excluded in the Oracle JDBC driver; this breaks the build on Windows as it causes something odd in parameter parsing.

We also can't quote it as GraalVM wouldn't accept a quoted regex - and we can't escape it.

We can workaround this problem by emitting two different sets of --exclude-config options, one for each resource, rather than attempting to conflate both resources in a single regex.

Copy link
Contributor

@zakkak zakkak left a comment

Choose a reason for hiding this comment

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

LGTM, Thanks @Sanne

(didn't test it though)

@Sanne Sanne merged commit 5f27683 into quarkusio:main Jun 27, 2022
@quarkus-bot quarkus-bot bot added this to the 2.11 - main milestone Jun 27, 2022
@Sanne Sanne deleted the oracleMetaWindows branch June 27, 2022 09:42
@gsmet gsmet modified the milestones: 2.11 - main, 2.10.1.Final Jun 28, 2022
@gsmet gsmet modified the milestones: 2.10.1.Final, 2.7.7.Final Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/native-image area/persistence OBSOLETE, DO NOT USE env/windows Impacts Windows machines kind/bugfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Image generation failed. Exit code: 255 in windows 10
4 participants