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: | "CTL_MainWindow_Title_No_Project" resource from core cannot be used anymore | ||
---|---|---|---|
Product: | apisupport | Reporter: | Martin Krauskopf <mkrauskopf> |
Component: | Project | Assignee: | _ rkubacki <rkubacki> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | jglick, rkubacki |
Priority: | P2 | Keywords: | REGRESSION |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | assertion due to missing CTL_MainWindow_Title_No_Project |
Description
Martin Krauskopf
2006-07-24 09:07:35 UTC
Created attachment 32122 [details]
assertion due to missing CTL_MainWindow_Title_No_Project
$ nbcvs -q ci -m "#80919: moving main window title keys changed as part of #79209 fix back because API support relies on them" core/windows projects/projectui ide/branding Checking in core/windows/src/org/netbeans/core/windows/view/ui/Bundle.properties; /shared/data/ccvs/repository/core/windows/src/org/netbeans/core/windows/view/ui/Bundle.properties,v <-- Bundle.properties new revision: 1.16; previous revision: 1.15 done RCS file: /shared/data/ccvs/repository/core/windows/test/unit/src/org/netbeans/core/windows/view/ui/MainWindowTest.java,v done Checking in core/windows/test/unit/src/org/netbeans/core/windows/view/ui/MainWindowTest.java; /shared/data/ccvs/repository/core/windows/test/unit/src/org/netbeans/core/windows/view/ui/MainWindowTest.java,v <-- MainWindowTest.java initial revision: 1.1 done Checking in projects/projectui/src/org/netbeans/modules/project/ui/Bundle.properties; /shared/data/ccvs/repository/projects/projectui/src/org/netbeans/modules/project/ui/Bundle.properties,v <-- Bundle.propertiesnew revision: 1.78; previous revision: 1.77 done Checking in projects/projectui/src/org/netbeans/modules/project/ui/Hacks.java; /shared/data/ccvs/repository/projects/projectui/src/org/netbeans/modules/project/ui/Hacks.java,v <-- Hacks.java new revision: 1.23; previous revision: 1.22 done Checking in ide/branding/core/windows/src/org/netbeans/core/windows/view/ui/Bundle_nb.properties; /shared/data/ccvs/repository/ide/branding/core/windows/src/org/netbeans/core/windows/view/ui/Bundle_nb.properties,v <-- Bundle_nb.properties new revision: 1.7; previous revision: 1.6 done This should be OK now. I added test into core/windows with comment that these keys are used in API support IMHO the original change was correct and apisupport just needed to be updated to use the new bundle keys. No? In fact keys in core/windows are API now so it seems to be easier to access them from projects/projectui if neceseary. At least we do not have to pay attention what version of platform we are developing against and introduce some logic of this kind into API support. Probably we should document these keys into arch of core/windows (has to be created) or openide/windows. The trouble with the original keys is that they are inappropriate for platform developers. You want just one thing to brand; the "project" makes no sense. That is why I welcomed the simplification. Of course some kind of switch in apisupport would be necessary to support both old and new styles. Oh well, probably not worth bothering with further. |