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 167245 - Can not change compiler options in duplicated configuration
Summary: Can not change compiler options in duplicated configuration
Status: RESOLVED DUPLICATE of bug 136535
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Thomas Preisler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-17 15:21 UTC by Alexander Pepin
Modified: 2009-06-17 17:52 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 Alexander Pepin 2009-06-17 15:21:48 UTC
Steps to reproduce:
- create Welcome sample
- call Project Properties -> Manage Configurations...
- duplicate Debug configuration and name it Test
- set Test as active configuration
- change Development Mode for C++ in Test configuration from Debug to Release (-g to -O2)
- clean and build the project
Result: The build log shows compiler option -g for Test configuration.
- change Development Mode for C++ in Debug configuration from Debug to Release
- clean and build the project
Result: The build log shows compiler option -O2 for Test configuration.
Comment 1 Alexander Pepin 2009-06-17 15:22:32 UTC
IMO it's a candidate for patch1
Comment 2 Alexander Pepin 2009-06-17 15:42:31 UTC
Workaround: To 'split' configurations IDE should be restarted.
Comment 3 Thomas Preisler 2009-06-17 15:47:10 UTC
Is it a regression? Duplicating configurations is not a common operation so I doubt it is a patch candidate.
Comment 4 Alexander Pepin 2009-06-17 15:59:47 UTC
It's not a regression but it has become highly visible after fixing issue #167058
I think that both issues should be fixed in patch. 
User should be able to create new configurations using already created ones just adding or changing only some options.
But without fixing this bug it's very inconvenient.
Comment 5 Thomas Preisler 2009-06-17 16:06:10 UTC
OK, I will see how complicated it is to fix.
Comment 6 Thomas Preisler 2009-06-17 17:52:51 UTC

*** This issue has been marked as a duplicate of 136535 ***