GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
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
I've just upgraded from 0.8 to 1.1.1, and noticed that resource (non-class) files are no longer relocated. Is there a way to relocate them?
Correction: it seems like the reference to the resource files (in the classes) are re-mapped to their supposed new location, it's just that the resource files themselves aren't moved.
How are you doing the relocation? Relocation only applies to Java Class files because it has to do with changing package names and rewriting those in the corresponding .class files.
relocate 'org.', 'mydom.org.'
Just tried 1.2.0 and unfortunately this doesn't seem to work (i.e. the problem persists exactly as reported before).
OK, I think the problem is that you've applied the fix to visitFile but not to visitArchiveFile, so the relocation is not applied on dependencies.
ah, my bad. I'll have a patch later today.