-
Notifications
You must be signed in to change notification settings - Fork 408
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
Lingering package name & folders for relocations in source project. #57
Comments
@Minecrell - do you have an example project that exhibits the problem? Also, I'm curious about relocating packages inside the source project? Why would you do this? Why not just define the classes in the correct package? |
It is still the same test project as for the previous issues: https://github.com/Minecrell/GradleTest |
Yeah, the difference here is that in |
Thank you for your clarification. Do you have any idea why the plugin is generating the |
In order to fix the empty directories, I changed how/when the directory entries are created...there's probably an off-by-1 issue in there. I'll get that fixed...it's annoying. |
Hmm, using your project, I don't see the |
Looks like it is another Windows bug, just tested on my server running Linux and after unpacking the JAR there is no folder with that name... Well, doesn't matter then because I'm only using Windows for development, the production binaries are created by the continous integration server on my Linux server. If you have some additional time you can look for a reason but don't take this as highest priority for now, it should also work with the empty folder in the JAR. :) |
Great. I have a Windows VM now, so I'll add a test and see if I can fail it on that machine and get a fix in. |
The empty folder doesn't exist anymore using the latest version. The folder of the relocation within the source folder still exists, but I don't think there is a reason to fix it because I can't think of a reason why someone should relocate packages within the own source files (just refactor the package). |
Yeah, I wasn't able to recreate that problem either. |
From @Minecrell - #53
Just tested the new version 1.0.0 and it doesn't generate the old folders of the dependencies anymore. However, for some reason in the JAR file is an empty folder with the name of the file. (In my case GradleTest-1.0-all). This is kinda strange but I don't really mind, but maybe it is just a small mistake that is easily fixable?
Relocations of packages within the source files still generate their old folders in the JAR but as of I don't use that, it's not important to fix (for me).
The text was updated successfully, but these errors were encountered: