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 137156 [details] ME8SDK Devices are displayed as invalid The list of ME8 SDK devices imported are shown in a strike-through style in red color, making them not available for applications to use (See Attached image). The reason for this is that a valid J2ME profile does not exist for those devices. The mobility plugin only understands IMP, IMP-NG and MIDP as valid profiles. In case ME8 the profile is MEEP. The following changes fixes the issue. mobility.cldcplatform/src/org/netbeans/modules/mobility/cldcplatform/UEIEmulatorConfiguratorImpl.java @@ -247,12 +247,12 @@ int i = name.lastIndexOf('-'); String version = name.substring(i + 1); name = name.substring(0, i); - if (!foundMIDP || !("IMP".equals(name) || "IMP-NG".equals(name))) { //NOI18N + if (!foundMIDP || !("IMP".equals(name) || "IMP-NG".equals(name) || "MEEP".equals(name))) { //NOI18N String dispName = dispNames.get(name); try { dispName = NbBundle.getMessage(UEIEmulatorConfiguratorImpl.class, name); } catch (Exception ex) {} - final String type = "CLDC".equals(name) ? J2MEPlatform.J2MEProfile.TYPE_CONFIGURATION : ("MIDP".equals(name) || "IMP".equals(name) || "IMP-NG".equals(name) ? J2MEPlatform.J2MEProfile.TYPE_PROFILE : J2MEPlatform.J2MEProfile.TYPE_OPTIONAL); //NOI18N + final String type = "CLDC".equals(name) ? J2MEPlatform.J2MEProfile.TYPE_CONFIGURATION : ("MIDP".equals(name) || "IMP".equals(name) || "IMP-NG".equals(name) || "MEEP".equals(name) ? J2MEPlatform.J2MEProfile.TYPE_PROFILE : J2MEPlatform.J2MEProfile.TYPE_OPTIONAL); //NOI18N final StringBuffer cp = new StringBuffer(); boolean def = true; for ( final Object obj : e.getValue() ) {
Implemented on javame8_232770 branch.