Created attachment 133494 [details]
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:
split from bug 221063
Created attachment 133495 [details]
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:
(In reply to comment #3)
> Fixed in jet-main:
Targeting fix to release 7.3.1, please wait for verification.
verified in trunk, please integrate into release73
Transplanted into release73 branch:
verified in 7.3.1