• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

preverify error: wrong class name

 
Ralph Cook
Ranch Hand
Posts: 479
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using ant with antenna, proguard obfuscator, and Sun's wireless toolkit. I am building something for my company that has worked in the past; I've made changes and now am trying to run ant for the first time. wtkpackage (part of antenna) tells me I have a "wrong class name". It gives me the (unobfuscated) name of a class that might be first alphabetically among fully-qualified class names in the project, and one that I have not yet modified.

I've tried -dontpackage, -dontusemixedclassnames, and remove -overloadaggressively -- I still get the same error.

Does anyone have any suggestions? Can someone point me to possibly reasons why this would happen? I am obfuscating, so I didn't even make up the class names we're using. I disabled mixed-case problems, so we don't have both a.java and A.java.

rc
--
It's hell getting old, but it beats the alternative...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic