• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

preverify error: wrong class name

 
Ranch Hand
Posts: 479
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
reply
    Bookmark Topic Watch Topic
  • New Topic