-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[BUG] SymbolicLinkPreservingUntarTransform fails on Windows #1430
Comments
Is there a command-line workaround to grant this special permission? |
It seems like we shouldn't need to build all distributions by default all the time, but it's NBD: for the bundle, we only build the target distribution that we're trying to produce here, so while this is a cross-platform bug of building a Linux distribution on Windows, this can be left as an exercise. |
The user has to be an administrator.
This is good point. I think right now we use Linux based CI to build Linux / MacOS / Windows distributions and releases. It works well, so we probably should keep it. Otherwise, we would need to have Linux / MacOS / Windows agents to build the OS-specific distributions (I saw you already brought it up). I see basically two options:
What do you think? |
I think it would be nice if |
Agree, I would make a PR on Monday, I believe I figured out where distribution tasks are created. |
Describe the bug
When building distribution on Windows, the
./gradle assemble
task fails withIt turned out that this task fail while unpacking JDK distribution(s) which may contain the symbolic link.
On Windows, it requires special permission which may not be granted to the user. The related JDK issue is https://bugs.openjdk.java.net/browse/JDK-8218418 but sadly it works JDK13+ and Windows 10 with developer mode enabled.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The build should not fail.
Plugins
N/A
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Related issue #1412
The text was updated successfully, but these errors were encountered: