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 199501 - Ambiguous device names in Export Key dialog
Summary: Ambiguous device names in Export Key dialog
Status: REOPENED
Alias: None
Product: javame
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: PC Other
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords: PLAN
Depends on:
Blocks:
 
Reported: 2011-06-17 14:54 UTC by Alexandr Scherbatiy
Modified: 2012-04-16 12:31 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Two DefaultCldcPhone1 devices from different ME platforms (54.80 KB, image/png)
2011-06-30 12:47 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2011-06-17 14:54:42 UTC
oracle_java_me_sdk-3_0_5-rr-bin-b29-win-09_may_2011
NetBeans 7.0

Steps to reproduce:

1. Add into NetBeans 2 CLDC platforms (in may case - ME SDK and WTK 2.5.2)
2. Open any CLDC project
3. Go to Properties - Build - Signing
4. There check in Sign Distribution
5. Click "Export Key into..." button

Emulator Pop-up list allows to select WTK platform only
Comment 1 Anton Chechel 2011-06-20 12:15:22 UTC
This is correct behavior.
Comment 2 Alexandr Scherbatiy 2011-06-30 12:46:03 UTC
However there is one wrong behavior.

I have two ME SDK installed on my NetBeans. (ME SDK 3.0 and ME SDK 3.0.5, OJWC also can be installed)

When I click on the 'Export Key into JavaME SDK/Platform/Emulator...' button on the project properties dialog, signing category, all devices for all emulators are shown in the list.  

For example the list contains two DefaultCldcPhone1 devices. It is not possible to detect, which device refers to which SDK platform. (See the attached image.)

May be the list should show only devices for the ME platform related for the current project?
Comment 3 Alexandr Scherbatiy 2011-06-30 12:47:14 UTC
Created attachment 109166 [details]
Two DefaultCldcPhone1 devices from different ME platforms
Comment 4 Anton Chechel 2011-06-30 12:54:07 UTC
I agree. This looks ambiguous and should be changed.
Maybe it should should devices from current ME platform only or maybe there should be suffix with name of platform next to the device name like "DefaultCldcPhone1 [ME SDK 3.0]". I should probably ask NetBeans XDesign guys.
But this is rather a task, not bug.