[NETBEANS-54] Modules review xml.schema.completion
    
- no external library
- checked Rat report: excluded test-data from rat (no IP value), updated
  XMLSchema.xsd and added w3c document and software license and
  made sure license is picked up by rat report
- disable tests that fail because referenced files were not donated
- skimmed through module, did not notice additional problems

Project: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-netbeans/commit/f29b9587
Tree: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/tree/f29b9587
Diff: http://git-wip-us.apache.org/repos/asf/incubator-netbeans/diff/f29b9587

Branch: refs/heads/master
Commit: f29b9587fee2bed172635e1e3606f48e0cbdd679
Parents: 188f2b5
Author: Matthias Bläsing <[email protected]>
Authored: Fri Oct 6 20:17:03 2017 +0200
Committer: Matthias Bläsing <[email protected]>
Committed: Wed Oct 11 19:04:53 2017 +0200

----------------------------------------------------------------------
 nbbuild/build.xml                               |    5 +
 .../xml/schema/completion/util/XMLSchema.xsd    | 3740 ++++++++----------
 .../schema/completion/BasicCompletionTest.java  |   29 +-
 .../schema/completion/CompletionPerfTest.java   |    4 +-
 4 files changed, 1656 insertions(+), 2122 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-netbeans/blob/f29b9587/nbbuild/build.xml
----------------------------------------------------------------------
diff --git a/nbbuild/build.xml b/nbbuild/build.xml
index cd8f069..ca3ab8f 100644
--- a/nbbuild/build.xml
+++ b/nbbuild/build.xml
@@ -1947,6 +1947,10 @@ It is possible to use -Ddebug.port=3234 -Ddebug.pause=y 
to start the system in d
             </classpath>
         </taskdef>
         <rat:report xmlns:rat="antlib:org.apache.rat.anttasks" 
reportfile="build/rat-report.txt">
+            <rat:substringMatcher licenseFamilyCategory="w3c2" 
licenseFamilyName="W3C Software and Document Notice and License">
+                <pattern substring="W3C Software and Document Notice and 
License"/>
+            </rat:substringMatcher>
+            <rat:approvedLicense familyName="W3C Software and Document Notice 
and License"/>
             <fileset dir="${nb_all}">
                 <exclude name="*/build/**" />
                 <exclude name="nbbuild/netbeans/**" />
@@ -1973,6 +1977,7 @@ It is possible to use -Ddebug.port=3234 -Ddebug.pause=y 
to start the system in d
                 <exclude name="**/*.url" /> <!--no degree of creativity-->
                <exclude 
name="spi.navigator/test/unit/src/org/netbeans/modules/navigator/resources/lastsel/file.lastsel_mime1"
 /> <!--empty file-->    
                 <exclude 
name="xml.axi/test/unit/src/org/netbeans/modules/xml/axi/resources/**" /> <!-- 
test data -->
+                <exclude 
name="xml.schema.completion/test/unit/src/org/netbeans/modules/xml/schema/completion/resources/**"
 /> <!-- test data -->
                 <exclude 
name="xml.text/src/org/netbeans/modules/xml/text/resources/DTDExample" /> <!-- 
GUI sample file to demonstrate syntax highlighting -->
                 <exclude 
name="xml.text/src/org/netbeans/modules/xml/text/resources/XMLExample" /> <!-- 
GUI sample file to demonstrate syntax highlighting -->
                 <exclude 
name="xml.text/test/qa-functional/src/org/netbeans/modules/xml/text/**/data/**" 
/> <!-- test data -->

Reply via email to