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.
Requirements
At runtime, obfuscate4e requires Java1.4.2 or better and Eclipse 3.2 or above.
You need the following to develop on the obfuscate4e code base:
- Eclise SDK 3.2 or above
- Java SE 1.4.2 SDK or above
- Eclipse Modeling Framework (EMF) code generator feature (org.eclipse.emf.codegen)