views:

100

answers:

0

I am upgrading my development environment from Netbeans 5.5 to 6.9. Along with that comes a change from Proguard 3.5 to 4.4 for obfuscation of my J2ME apps. Where before my projects built fine, I now get warnings about not being able to find referenced classes.

Warning: class1: can't find referenced class class2    
Warning: class1: can't find referenced class class2    
Warning: class1: can't find referenced class class2    
Note: You're ignoring all warnings!    
Warning: there were 3 unresolved references to classes or interfaces.
     You may need to specify additional library jars (using '-libraryjars'),
     or perhaps the '-dontskipnonpubliclibraryclasses' option.

Obfuscator arguments:

-ignorewarnings
-dontusemixedcaseclassnames
-defaultpackage ''
-overloadaggressively
-keep public class ** extends javax.microedition.midlet.MIDlet {
    public *;
}

This is the standard highest level obfuscation in Netbeans. I have added the -ignorewarnings to get it to finish compiling. I have read through the Proguard manual but cannot find a reason that my project would compile fine with an older version of the program but not the newer one.

SO, do you have any suggestions for why my obfuscation no longer works?

-Thanks