Obfuscate4e – Obfuscate your java code

來源:互聯網
上載者:User

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/

 

 

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.

 

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 ...

The plugin will be obfuscated and exported.

  

註:本文轉載自:http://obfuscate4e.org/configure-the-obfuscation

 

 

 

 

 

 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.