How it works

The Eclipse Build process can be highly customized. The things obfuscate4e does are

  • Register an Ant task for the obfuscator (currently ProGuard) in the Eclipse platform.
  • Create an Ant script (custombuildcallbacks.xml) containing a set of pre-defined targets. These targets are hooks for additional build code. Per default they are left empty.
  • Implement the hooks as desired. obfuscate4e puts the code to run the obfuscation process into the Ant task post.@dot.
  • Create the proguard.properties file containing the obfuscation rules of the plugin.
  • Register the Ant script in the build.properties of the plugin.
  •