# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: /space/work/all/nbbuild # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: test/unit/src/org/netbeans/nbbuild/arch-preferences.xml *** /space/work/all/nbbuild/test/unit/src/org/netbeans/nbbuild/arch-preferences.xml No Base Revision --- /space/work/all/nbbuild/test/unit/src/org/netbeans/nbbuild/arch-preferences.xml Locally New *************** *** 1,0 **** --- 1,34 ---- + + + + ]> + + + &api-questions; + + + answer-read-preferences + + + Index: antsrc/org/netbeans/nbbuild/Arch-api-questions.xml *** /space/work/all/nbbuild/antsrc/org/netbeans/nbbuild/Arch-api-questions.xml Base (1.42) --- /space/work/all/nbbuild/antsrc/org/netbeans/nbbuild/Arch-api-questions.xml Locally Modified (Based On 1.42) *************** *** 36,42 **** An automated process runs openide/www/tutorial/build.xml#question periodically and commits any changes to openide/www/tutorial/questions.html. --> ! What is this project good for? --- 36,42 ---- An automated process runs openide/www/tutorial/build.xml#question periodically and commits any changes to openide/www/tutorial/questions.html. --> ! What is this project good for? *************** *** 330,335 **** --- 330,351 ---- of some stability category. + + + Does your module uses preferences via Preferences API? Does your module use NbPreferences or + or regular JDK Preferences ? Does it read, write or both ? + Does it share preferences with other modules ? If so, then why ? + + You may use +
+                     <api type="export" group="preferences"
+                     name="preference node's absolute path name" category="private" url="http://...">
+                     description of individual keys, where it is used, what it
+                     influence, whether the module reads/write it, etc.
+                     </api>            
+                 
+
+
Index: antsrc/org/netbeans/nbbuild/Arch.dtd *** /space/work/all/nbbuild/antsrc/org/netbeans/nbbuild/Arch.dtd Base (1.24) --- /space/work/all/nbbuild/antsrc/org/netbeans/nbbuild/Arch.dtd Locally Modified (Based On 1.24) *************** *** 65,71 **** " + + "" + + "" + + "" + + " " + + "" + + "" + + ); + PublicPackagesInProjectizedXMLTest.execute(f, new String[] { }); + + assertTrue("File is generated", output.exists()); + + String content = PublicPackagesInProjectizedXMLTest.readFile(output); + if (content.indexOf("resources-preferences") == -1) { + fail("resources-preferences shall be in output:\n" + content); + } + if (content.indexOf("answer-resources-preferences") == -1) { + fail("answer-resources-preferences shall be in output:\n" + content); + } + } + + public void testGenerateArchFileWhenEmpty () throws Exception { java.io.File answers = PublicPackagesInProjectizedXMLTest.extractString (""); answers.delete ();