Preverifing a jar file in j2me

D

D123

I'm currently tring to preverify a jar file in j2me. (I already know
how to preverify classes, but not preverifying a jar file). Does
anyone have any idea? I need to preverify a jar file because I want
to use ProGuard obfuscator for j2me, but it requires me to preverify
the compiled project jar file before I can run the Proguard obfuscator
on it. I don't want to use the built in Wireless ToolKit feature
because I need the obfuscator to ignore my Native methods.
I've tried:
preverify file.jar

But I get the following errors:
Error preverifying class ...
java/lang/NoClassDefFoundError: ...

Thanks for your help.
 
D

Darryl L. Pierce,,,

D123 said:
I'm currently tring to preverify a jar file in j2me. (I already know
how to preverify classes, but not preverifying a jar file). Does
anyone have any idea?

Make your life easy. Download Antenna <http://antenna.sourceforge.net> and
integrate that into your build environment. It'll make your life easier
since it has a <wtkpreverify> task in it that will handle this for you, as
well as a <wtkobfuscate> task.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top