This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 83444 - Support OTA execution for Blackberry
Summary: Support OTA execution for Blackberry
Status: NEW
Alias: None
Product: javame
Classification: Unclassified
Component: Build System (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Suchomel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-25 04:19 UTC by gz4p9c
Modified: 2009-10-01 13:25 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gz4p9c 2006-08-25 04:19:24 UTC
I am generating an application for the blackberry and it builds and runs fine on
the emulator, and when I install from the desktop manager to a real device. When
I try to load the proper files on a web site for OTA, the OTA install always
fails with "907 invalid jar". The JAD file and the jar manifest do not have the
proper RIM specific tags filled in? I think there may be something missing with
the method of invoking the RAPC utility in the post-jar tags in the example
build.xml.
Comment 1 Adam Sotona 2006-08-25 08:40:55 UTC
Actually the product of RAPC utility is a COD file and some others that are
built directly to the "simulator" folder under BB JDE installation.
I don't know about any specific attributes required by BB devices for OTA
execution. If you know something more, please write it here and I'll update the
guide to include these. You can freely add your custom attributes into Jad,
Manifest, or both from your project properties customizer.
I'll try to update the script to build all the files first to the project dist
folder and then copy them to simulator.
Comment 2 gz4p9c 2006-08-25 15:27:44 UTC
Unfortunatly some of the attributes are dynamic so I cant specify them in the 
properties customizer. 

Here are some from the helloworld example in the BB JDE (I think generated 
from rapc):
 
RIM-MIDlet-Icon-1-1: img/helloworld_jde_bw.gif
RIM-COD-Module-Dependencies: net_rim_cldc
RIM-MIDlet-Flags-1: 0
RIM-COD-Module-Name: com_rim_helloworld
RIM-COD-Size: 4104
RIM-COD-Creation-Time: 1156396607
RIM-COD-URL: com_rim_helloworld.cod
RIM-MIDlet-NameResourceId-1: 1
RIM-COD-SHA1: 18 92 b4 1e 0d a7 53 3c e2 3c 87 d6 f0 14 7b 71 ad f4 ec 57
Comment 3 Adam Sotona 2006-09-08 14:46:39 UTC
I would like to introduce new and better support for BlackBerry.
The support should be well integrated and transparent for users.
I think I cannot help you with the manual modifications of the script to support
OTA but it can be a new feature of the upcomming support.