#137 unchanged package names in resource files

Some sunny day
open
Obfuscation (8)
5
2014-05-06
2012-10-26
Lukas Hajek
No

If you want to use OSGI (eg. in Eclipse RCP) then it is impossible to obfuscate (change or flattern) package names.
OSGI configuration in META-INF/MANIFEST.MF contains Export-Package entry with exported package names usable in depend bundles.
example:
Export-Package: com.app.data, com.app.service
ProGuard is unfortunately not able to modify package names in these resource files.

It would be nice to scan and replace package names in the specified resources (configuration files).
Thanks

Discussion

  • Eric Lafortune
    Eric Lafortune
    2013-01-29

     
  • Eric Lafortune
    Eric Lafortune
    2013-01-29

    Thanks for your suggestion. This can be a bit tricky if different classes or subpackages in a package are moved to different packages. I'm afraid it doesn't have a high priority right now.