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 178084 - Project Properties: incorrect behavior if select DefaultCldcJtwiPhone then DefaultCldcPhone
Summary: Project Properties: incorrect behavior if select DefaultCldcJtwiPhone then De...
Status: RESOLVED WORKSFORME
Alias: None
Product: javame
Classification: Unclassified
Component: Build System (show other bugs)
Version: 6.x
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Petr Suchomel
URL:
Keywords:
Depends on:
Blocks: 162137
  Show dependency tree
 
Reported: 2009-12-03 07:46 UTC by ingwarr
Modified: 2010-09-27 13:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ingwarr 2009-12-03 07:46:07 UTC
- Create new MIDP project
- Open project properties
- DefaultCldcPhone1 is selected and all Optional Packages are chosen
- Select DefaultCldcJtwiPhone1 it has only to optional packages
- Select DefaultCldcPhone1 again, now it has only two optional packages chosen.

When new project is created it is configured to use all available optional packages for selected emulator. If you change the emulator in project properties three cases can happen:
1. new emulator supports all optional packages defined in the project. In this case all optinal packages stay selected.
2. new emulator does not support some of defined optional packages. In this case these optional packages are removed from project properties.
3. new emulator supports more optional packages than old emulator. In this case project properties keep the list of previously selected optional packages and the rest of optional packages stays unselected.


But implementation for this feature is not completely correct:
"Change emulator" means to choose it in a list and confirm this by closing project's properties window.
If user wants just look in a list of supported devices and check their jsr's, he shouldn't be forced to check all jsr back after looking on DefaultCldcJtwiPhone.

So selection of optional packages should be saved only after closing project's properties.
Comment 1 Adam Sotona 2010-09-27 13:15:35 UTC
The logic of the optional packages was designed to preserve your preferred selection prom your previously selected device (if available).