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.
From the testing that I've done on a MIDP 1.0 device and all of the research that I've done, the AMS that installs the midlets accepts the following attribute in the JAD file for BOTH MIDP 1.0 and MIDP 2.0: MIDlet-Install-Notify However, it is not available in the attributes section (Properties) for MIDP 1.0 builds even though it should be. If I try to add it anyway, it gives me an error: "invalid attribute" and it won't let me save it. Thus, I'll have to write a perl script just to modify the jads but I'd prefer to set this in Netbeans. BTW, here are some links to info about the MIDlet-Install-Notify attribute: http://developers.sun.com/techtopics/mobility/midp/articles/ota/ http://www.developer.com/java/j2me/print.php/10934_3572036_2 I noticed that all versions including the 5.5 Beta have this defect. Thanks, Jade
The original MIDP 1.0 (JSR-37) doesn't list MIDlet-Install-Notify and MIDlet-Delete-Notify attributes in list of defined attributes and it also says all other attributes starting with MIDlet- are not allowed. However, OTA User Initiated Provisioning Recommended Practice for MIDP 1.0 (http://java.sun.com/products/midp/OTAProvisioning-1.0.pdf) defines these two new attributes with the following placement: "The MIDlet-Install-Notify attribute needs to be in the application descriptor so that installation status reporting can occur even in the case where the MIDlet suite cannot be retrieved (e.g, if the JAR-file URL is incorrect). The MIDlet-Install-Notify attribute may also appear in the manifest using the same pattern used for other MIDlet attributes." OTA Provisioning was formally included in MIDP 2.0. I'd suggest to allow the attributes even in MIDP 1.0, with warning if possible.
fixed I've added following three attributes into the list of optinal for MIDP 1.0: MIDlet-Install-Notify MIDlet-Delete-Notify MIDlet-Delete-Confirm And following warning is displayed: Warning: This attribute is not officially allowed by MIDP 1.0 specification.
Thank you very much for fixing this so quickly! Do you know when it will be available through the next release?
fixed in 5.5
it will be available in 5.5 RCs and FCS. The FCS should be available at the end of October.
the attributes are in the list and are added to jad+jar manifest correctly
close old issues