-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[GEOT-7442] Make ErrorProne run on Windows #4479
[GEOT-7442] Make ErrorProne run on Windows #4479
Conversation
Have restarted the failed CI check - looked unrelated. |
@bradh Thanks! |
@aaime Here's the ErrorProne/Windows PR, ready. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using build-helper-maven-plugin is almost always a hack either to work around some setup error breaking maven conventions or buggy behaviour in a jdk or plugin. Doing this for all build environments seems wrong, if at all it should only change the value on broken windows shells
I agree that preferably, the problem should be solved in ErrorProne. Developers over there have been aware of the issue since June 2021: google/error-prone#2394 In the meantime, in The given solution changes the value only if it contains backslashes. Unix style paths or other paths which do not contain hazardous backslashes remain unchanged. |
610fc99
to
bbf360b
Compare
I have simplified the changes of file
is changed to
This solution was used in |
Merged, thanks! |
The backport to
stderr
stdout
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-29.x 29.x
# Navigate to the new working tree
cd .worktrees/backport-29.x
# Create a new branch
git switch --create backport-4479-to-29.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick bbf360bbf65de1a29597101835bd504b4428d132
# Push it to GitHub
git push --set-upstream origin backport-4479-to-29.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-29.x Then, create a pull request where the |
The backport to
stderr
stdout
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-28.x 28.x
# Navigate to the new working tree
cd .worktrees/backport-28.x
# Create a new branch
git switch --create backport-4479-to-28.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick bbf360bbf65de1a29597101835bd504b4428d132
# Push it to GitHub
git push --set-upstream origin backport-4479-to-28.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-28.x Then, create a pull request where the |
Changes to file
pom.xml
to makeErrorProne
run on Windows, where file names, including${project.build.directory}
, contain backslashes.Checklist
main
branch (backports managed later; ignore for branch specific issues).For core and extension modules:
[GEOT-XYZW] Title of the Jira ticket
.