Obfuscate4e - Obfuscate your java code

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.

 

官方网站是: http://obfuscate4e.org/
 

1. Installation of the obfuscate4e feature

To install this feature you simply have to use the update site facilities built into the Eclipse IDE.

  1. Inside Eclipse go to Help > Software Updates > Find and Install ... and define a remote site pointing tohttp://obfuscate4e.org/updates/

Add obfuscate4e update site 

 

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.

Generate custombuildcallbacks.xml

In the project folder appear two new files: customBuildCallbacks.xml andproguard.cfg. These files are managed inside your project (and also version controlled).

New build script

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.

 

3. Obfuscate your code

It's time to use your obfuscator. As it is embedded into the built process Eclipse runs the obfuscator when exporting a plugin, a project or a complete product.

Export a plugin with File > Export ...

Export your plugin

The plugin will be obfuscated and exported.

 
 

注:本文转载自:http://obfuscate4e.org/configure-the-obfuscation

 

 

 

 

 

 

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值