You are currently browsing the tag archive for the ‘ProGuard’ tag.

Newsflash 757208

Obfuscation is a really helpful mechanism to reduce the size of your Java ME Embedded application code to a minimum.

When developing Java embedded applications using the Java ME SDK  3.3 with NetBeans you would normally be able to easily install the ProGuard obfuscator via the NetBeans ProGuard plugin and then set it to automatically obfuscate every project build.

However, for NetBeans 7.3 a licensing incompatibly prevents the ProGuard plugin to be available directly on the NetBeans 7.3 update center. This issue has been fixed for the upcoming NetBeans 7.4.

If you want to use ProGuard with NetBeans 7.3 there is an easy workaround described on the NetBeans bug tracker: https://netbeans.org/bugzilla/show_bug.cgi?id=227701. Scroll down to the end of the thread to see:

——————————————–

For now it is possible to use following workaround for proguard:

1. Download proguard.jar from http://sourceforge.net/projects/proguard/files/proguard/
2. Insert following line in {YOUR_PROJECT_DIR}/nbproject/private/private.properties OR {NB_USERDIR}/build.properties (no need to insert in both):

obfuscator.classpath={PATH_TO_proguard.jar}

(e.g. obfuscator.classpath=C:\\JavaME\\Proguard\\proguard.jar)

——————————————-

Hope this helps. Cheers,

— Terrence

Enter your email address to subscribe to this blog

Join 176 other followers

Twitter Updates

February 2020
S M T W T F S
« May    
 1
2345678
9101112131415
16171819202122
23242526272829

Blog Stats

  • 279,733 hits