Hi,
I am using JDom jar and i want to add to my blackberry project . I am using eclipse plugins for blacberry. while building blackberry app from eclipse the error is displayed on the console as "JDOMAbout$info:error!missing stack map @label.... "
rapc falied for the project along with this several warnings are also displayed ...
so any body have came across this issue plz help .
views:
1220answers:
6The stack map is part of what's generated when a jar file is preverified. Sounds like your jar is not J2ME ready. Assuming it's compatible with J2ME, the standard way is to create a .cod file from the .jar, and reference that in your project. Unfortunately you can't do that with the Eclipse plugin, but once you have the .cod, you can reference it in your Eclipse project.
Hi, i have tried to compile a jar file into a black berry library with the JDE also still not luck so is there any other way to proceed
You have to create a Blackberry archive or library project (or whatever it's called) and add your library to that, then reference it from your application project. You may or may not have to use the Blackberry JDE to do some hackery with the jdp file as well, but I can assure it works in Eclipse. We had the kSOAP library included in ours and Eclipse would 'build' it with rapc and generate the proper files (you sort of have to do it manually, by telling the project to build).
I unfortunately don't have an environment to check things right now, but the basic idea was have a second project, include the jar, and then reference that.
All that, and the jar has to be J2ME compatible.
Maybe You can find something useful and more J2ME friendly in kDom package of kXML project