This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi, I'm using antenna package for my J2ME project.The antenna-bin-0.9.13.jar is put under lib directory of my simple project,and '<property name="antenna.home" value="lib\antenna-bin-0.9.13.jar"/>' is defined in build.xml. The compiling works well.I failed on preverfication.The error message is: 'Preverification failed (result=1)'.Then I use WTK's command line tool--preverify.exe,the preverification is success. Your response would be appreciated very much.
It works for me. I think you might have some settings wrong. Environment vars or ant script.
Joined: Nov 16, 2001
True,there's a mistake in my build.xml. In the <wtkpackage> task,if obfuscate is set with 'false',then the preverify should be 'false' as well.Because there's no .jar file existing in the project,it'll prompt "Preverification failed (result=1)" if preverify is set as true. Solution:Set preverify in <wtkbuild> task as 'true'.If I obfuscate the built .jar file in <wtkpackage>,I got to set preverify as true in <wtkpackage>.