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 83553 - Auto select configuration of required project -> Auto-follow configurations option
Summary: Auto select configuration of required project -> Auto-follow configurations o...
Status: NEW
Alias: None
Product: javame
Classification: Unclassified
Component: Fragmentation (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Karol Harezlak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-28 08:19 UTC by ieising
Modified: 2009-10-01 13:25 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ieising 2006-08-28 08:19:49 UTC
Hi,

I would like to suggest the functionality where the active configuration of a
project is defaulted to the configuration that the main project is depending on
of that project. Sounds cryptic, but here's an explanation.

Say project MyLib has configurations Default, MIDP2_JSR82 and MIDP2_no_JSR82

Say project MyMIDlet has configurations Default, Default_DBG, MIDP2_JSR82 and
MIDP2_no_JSR82

Say MyMIDlet.Default and MyMIDlet.Default_DBG depend on MyLib.Default, the other
configurations of MyMIDlet have analogous dependencies.

Now when I switch the active configuration of MyMIDlet to Default, the active
configuration of MyLib would switch to Default as well. When I switch to
MyMIDlet.MIDP2_JSR82, MyLib switches also to MIDP2_JSR82.

The use-case for this is in the fact that when I debug the MIDlet and step into
code of MyLib right now it often happens that the code is in a non-active
pre-processor block and I need to switch the active configuration by hand. This
quite often requires to check the properties of the main project, see what
dependencie is used and than switch the active configuration.

There should be an option "Auto-follow configuration" that when checked, the
above described behavior would be implemented.

Iwan