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

[KEYCLOAK-16126] - Windows support #7588

Merged
merged 1 commit into from
Nov 10, 2020

Conversation

pedroigor
Copy link
Contributor

@pedroigor pedroigor commented Nov 7, 2020

Changes:

  • Adding a kc.bat script
  • Fixing errors when dealing with files due to wrong file separator

Main fix:

  • kc.bat config does not work due to how Windows handles file lock.

To workaround the file lock issue on Windows, I had to hack the runtime classloader so that JAR files that are (re)generated when running the config command are closed prior to running Quarkus re-augmentation. Classes from these JARs are only used when actually running the application and should be safe to be ignored.

The workaround should be fixed on Quarkus by quarkusio/quarkus#13202. Meanwhile, we can live with this workaround.

@pedroigor pedroigor added component/quarkus kind/bug Categorizes a PR related to a bug labels Nov 7, 2020
@pedroigor pedroigor marked this pull request as ready for review November 9, 2020 20:32
@pedroigor pedroigor requested a review from mposolda November 9, 2020 20:35
@pedroigor pedroigor force-pushed the KEYCLOAK-16126 branch 2 times, most recently from e63d8b5 to 91f8d02 Compare November 9, 2020 23:26
Copy link
Contributor

@mposolda mposolda left a comment

Choose a reason for hiding this comment

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

@pedroigor Thanks for the fix

@mposolda mposolda merged commit f6fe88b into keycloak:master Nov 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes a PR related to a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants