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

Unknown's avatar

Enter your email address to subscribe to this blog

Join 181 other subscribers
April 2026
S M T W T F S
 1234
567891011
12131415161718
19202122232425
2627282930  

Blog Stats

  • 285,624 hits
Design a site like this with WordPress.com
Get started