Obfuscate4e integrates obfuscation into the Eclipse PDE build process. It enables obfuscation of your plugins, features and RCP applications during the regular build.
Obfuscate4e comes with the ProGuard obfuscator, but can easily be adapted for other obfuscators.
You’re welcome to join the development team, if you want to improve obfuscate4e or want to integrate additional obfuscators.
2. Configure the obfuscation
Now it's time to configure how obfuscate4e and its embedded obfuscator should work. We use the ProGuard obfuscator in this sectin. The configuration of other obfuscators will differ.
Execute the action Create Proguard obfuscation configuration from the context menu of the pluginMANIFEST.MF.
In the project folder appear two new files: customBuildCallbacks.xml andproguard.cfg. These files are managed inside your project (and also version controlled).
ProGuard allows to highly customize the obfuscation process. You can add cunfiguration statements to theproguard.cfg file. See http://proguard.sourceforge.net/manual/usage.html for valid configuration parameters.
注:本文转载自:http://obfuscate4e.org/configure-the-obfuscation