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

LICENSE file clash with license directory on Windows #277

Open
vardlokkur opened this issue Nov 4, 2024 · 2 comments
Open

LICENSE file clash with license directory on Windows #277

vardlokkur opened this issue Nov 4, 2024 · 2 comments

Comments

@vardlokkur
Copy link

          @siordache I have similar problem on windows, getting error:
* What went wrong:
Execution failed for task ':prepareMergedJarsDir'.
> Failed to copy C:\.........\build\jlinkbase\tmpjars\license\LICENSE to C:\................\build\jlinkbase\mergedjars\license\LICENSE due to C:\...............\build\jlinkbase\mergedjars\license\LICENSE

I tried:
jarExclude("**/license/**", "**/LICENSE*")
option for jlink task but it doesn't help at all :(
There is a file named LICENSE in target directory (mergedjars), and when your plugin tries to copy directory with license name it clashes with the existing file.

Originally posted by @vardlokkur in #186 (comment)

@vardlokkur
Copy link
Author

The same problem can be observed on OSX with case-insensitive file system (default one)

@xzel23
Copy link
Collaborator

xzel23 commented Nov 6, 2024

@vardlokkur can you provde a minimal example project (maybe a hello world on your GH) that reproduces the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants