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.
Created attachment 133494 [details] UEI spec Since Netbeans 7.2.1, autodetection of Siemens/Cinterion TC65/TC65i WTKs fails because the device profiles are not added to the generated platform xml file. With rev 4a4b019b26c2 (accept only device profiles given by emulator -Xquery), device profiles are added only if their name corresponds to the profile found in the "device-name.version.profile" property returned by "emulator -Xquery". rev f351c4d7e186 fixed a NPE in case -Xquery does not return this property. If the emulator does not return the "device-name.version.profile" property, no profiles are added for the coresponding device. The TC65/TC65i emulator does not return this property. From my (rather limited) understanding of the detection code a better default would be to include the profiles in these cases, because according to the UEI spec, returning "device-name.version.profile" is optional and used to indicate that the device "supports a different set of APIs than that described by emulator -version" (UEI p10). (Information on supported profiles returned by emulator -version is currently not used in the autodetection code). The attached change still skips profiles not present in the "device-name.version.profile" property returned by -Xquery, but defaults to adding them if -Xquery does not return this property for a given device. TC65i emulator output: https://netbeans.org/bugzilla/show_bug.cgi?id=221063#c28 split from bug 221063
Created attachment 133495 [details] patch
Please try updated module which can be found as attachment here: https://netbeans.org/bugzilla/show_bug.cgi?id=221063#c32
Fixed in jet-main: http://hg.netbeans.org/jet-main/rev/0799e892ab0d
(In reply to comment #3) > Fixed in jet-main: > http://hg.netbeans.org/jet-main/rev/0799e892ab0d Targeting fix to release 7.3.1, please wait for verification.
verified in trunk, please integrate into release73
Transplanted into release73 branch: http://hg.netbeans.org/releases/rev/680cc04c5388 http://hg.netbeans.org/releases/rev/bcb7d29cece4 http://hg.netbeans.org/releases/rev/10e110007133
verified in 7.3.1 http://wiki.netbeans.org/NetBeans7.3PatchesInfo