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 25207

Summary: Layer based "Defaults"/initializers do not work
Product: editor Reporter: _ pkuzel <pkuzel>
Component: -- Other --Assignee: issues@editor <issues>
Status: CLOSED INVALID    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 24366    

Description _ pkuzel 2002-06-26 22:36:09 UTC
I have provided "Defaults" for XML MIME type 
but it is not recognized (abbrevs, colors, ...).
I looked at Java and realized that it uses old
approach - an initializer class (it is in editor/lib).
Comment 1 Miloslav Metelka 2002-07-10 08:43:33 UTC
I don't understand what's the problem. The initializers still work and
they provide most of the defaults. The xml files are only necessary
for things like default abbrevs etc.
 One rather important thing is that you need to make sure that your
kit returns the mimetype from the getContentType() method.
 Please look at the
http://editor.netbeans.org/doc/UserView/xml_settings.html#install
It should contain the necessary info I hope.
 Closing as invalid, please reopen if necessary.
Comment 2 _ lkramolis 2002-07-10 16:02:33 UTC
"Defaults" does not really work. Please look at issue 25126 for more
details.
Comment 3 _ lkramolis 2002-07-17 14:41:31 UTC
Mato explained me that I have to maintain both (java and xml) versions
of abbreviations. We tried it without java initializers what can not work.

Now this issue become invalid.
Comment 4 Quality Engineering 2003-06-30 18:01:13 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 5 Quality Engineering 2003-06-30 18:12:15 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.