I am currently trying to confuse an Eclipse RCP application using ProGuard. The problem is that it confuses the package names (the My.Package.Class class turns into something like abc), but it saves the package names in the Export-Package section in the MANIFEST.MF file.
This leads to the fact that my application (which is a set of OSGi packages, in fact) cannot be launched, because the package names specified in the Export-Package section in the MANIFEST.MF file cannot be resolved.
Has anyone had success with ProGuard confusing OSGi-based RCP application? Basically, I see two options: either completely disable package obfuscation, or trim the MANIFEST.MF Export-Package section, but I canβt find a way to implement any of them. Proguard seems to confuse only the Bundle-Activator class name in MANIFEST.MF, skipping all other sections. Thanks in advance!
source share