-
-
Notifications
You must be signed in to change notification settings - Fork 181
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
uber fails with java.nio.file.DirectoryNotEmptyException #364
Comments
Boot 2.5.1 exhibits this |
Tagging #361, as it seems like a very similar issue (default merge strategy). |
Can you please try
and verify that this is fixed (i.e. warning and no exception). |
Unfortunately, I'm still seeing the error:
|
Worth noting: the folder is lowercase, but the files are upper ( |
@jgdavey just to make sure:you don't have a boot.properties in th same directory? |
@jgdavey I updated the SNAPSHOT, can you please try again? I think we really have a fix now, for real and seriously. :) |
Using the latest snapshot, I get new output (a warning is logged), but the error is still happening:
|
@jgdavey This was a tricky one. Hard to reproduce exactly here because I don't have access to a case-insensitive filesystem, but I think I have a sufficiently warped combination of jars now to trigger every possible conflict. I pushed a new and (final?) snapshot. Confidence is high for this one. I think you'll be pleasantly surprised at the result. |
💥 thanks @martinklepsch ! |
I can also confirm: both my repro and my non-contrived project are working with the latest snapshot. Thank you! |
When one jar has a folder with the same name as a file in another,
hard-link
is unable to delete the directory. The process can't continue.Adding the relative path of the file/directory in question to the
--exclude
list is a work-around.A minimal reproducible example:
Then run
boot uber target -d target
The text was updated successfully, but these errors were encountered: