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.
If issue 73474 is to be implemented, then in some sense the project will define new group of APIs and that is why it shall also make sure that it is possible for modules writers to document it. I propose extension of the arch.xml infrastructure to allow <api group="prefs" />. The changes shall include updates to the documentation page: http://openide.netbeans.org/tutorial/api.html#write extension of the dtd: http://www.netbeans.org/source/browse/~checkout~/nbbuild/antsrc/org/netbeans/nbbuild/Arch.dtd to the set of architecture questions to add new one or modify existing one to mention preferences: http://www.netbeans.org/source/browse/~checkout~/nbbuild/antsrc/org/netbeans/nbbuild/ Probably also a test shall be written to guarantee that the infrastructure really works: http://www.netbeans.org/source/browse/nbbuild/test/unit/src/org/netbeans/nbbuild/ArchQuestionsTest.java
*** Issue 77029 has been marked as a duplicate of this issue. ***
Created attachment 34463 [details] suggested diff
Fixed. See #73474.