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.
Summary: | The project properties dialog does not switch configuration | ||
---|---|---|---|
Product: | projects | Reporter: | gholmer <gholmer> |
Component: | Java Webstart | Assignee: | Tomas Zezula <tzezula> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | mmirilovic, neigor, psomol, stezeb |
Priority: | P1 | Keywords: | REGRESSION |
Version: | 7.2 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
gholmer
2012-06-20 12:45:39 UTC
* New J2SEProject * Default configuration arguments: "default" * New configuration "a" arguments: "a" Run project in default cfg args is "default" Run project in "a" cfg args is "a" The same for debug project. Could it be the number of configurations? This is a utility project with many main classes, and has 29 files in nbproject/configs. (In reply to comment #1) > * New J2SEProject > * Default configuration arguments: "default" > * New configuration "a" arguments: "a" > Run project in default cfg args is "default" > Run project in "a" cfg args is "a" > The same for debug project. How do you switch between the configurations? It is possible to switch them successfully in the toolbar. The problem here is that Run Configuration is always reset to <default configuration>, when Project Properties are invoked and updated by pushing OK. Affects both SE and FX project. Might have something to do with recent patching... Yes, it works when using the dropdown in the toolbar. I'm only seeing the issue when using the project properties dialog. Definitely no P1 (maybe not even P2), easy workaround switch the configuration in the config combo. It's a regression caused by fix of issue 208112. Yes, there is a workaround to use desired configuration, but the main impact is that the active configuration is being reset to default every time Properties are edited. It's also easy to overlook that this is happening and then it might look like that the Run Configurations doesn't work at all. I believe it should be fixed for 7.2. The switch of configuration is quite visible in the combo box. But If you want I can fix it to NB 7.2 even I think there are plenty of more important issues. My concern is that a user might not realize he's using the default configuration and run the program anyway (maybe e.g. one configuration has test parameters and one has production). Fixed jet-main a28a3e88be52 the fix looks good to me. please integrate. Transplanted into NB 7.2 releases c3b320c3d820 Integrated into 'main-golden', will be available in build *201206230002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/a28a3e88be52 User: Tomas Zezula <tzezula@netbeans.org> Log: #214508:The project properties dialog does not switch configuration Integrated into 'releases', will be available in build *201206232201* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/c3b320c3d820 User: Tomas Zezula <tzezula@netbeans.org> Log: #214508:The project properties dialog does not switch configuration verified in 7.2 RC |