geertjanw closed pull request #195: Fix rat exclusions
URL: https://github.com/apache/incubator-netbeans/pull/195
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/nbbuild/build.xml b/nbbuild/build.xml
index 453812591..3d99a6876 100644
--- a/nbbuild/build.xml
+++ b/nbbuild/build.xml
@@ -1993,6 +1993,7 @@ It is possible to use -Ddebug.port=3234 -Ddebug.pause=y 
to start the system in d
             <exclude name="*/build/**" />
             <exclude name="*/test/unit/data/**" />
             <exclude name="*/test/qa-functional/data/**" />
+            <exclude 
name="api.search/test/unit/src/org/netbeans/modules/search/data/**" /> <!--test 
data-->
             <exclude 
name="apisupport.ant/src/org/netbeans/modules/apisupport/project/resources/license-*.txt"
 /> <!--template file-->
             <exclude 
name="beans/src/org/netbeans/modules/beans/resources/templates/*.template" /> 
<!--license would be visible when users edit the templates inside their IDE-->
             <exclude 
name="css.editor/src/org/netbeans/modules/css/resources/CascadeStyleSheet.css.template"
 /> <!-- user visible template -->
@@ -2000,15 +2001,18 @@ It is possible to use -Ddebug.port=3234 -Ddebug.pause=y 
to start the system in d
             <exclude name="css.editor/todo" /> <!-- no degree of creativity -->
             <exclude 
name="debugger.jpda/test/unit/src/org/netbeans/api/debugger/jpda/testapps/JspLineBreakpointApp.txt"
 /> <!-- test data -->
             <exclude 
name="diff/test/unit/src/org/netbeans/modules/diff/builtin/provider/*.txt" /> 
<!--test data-->
+            <exclude 
name="diff/test/unit/src/org/netbeans/modules/diff/builtin/visualizer/data/**" 
/> <!--test data-->
             <exclude 
name="editor.fold/test/unit/src/org/netbeans/modules/editor/fold/FoldContentReader.txt"
 /> <!--test data-->
             <exclude 
name="editor.plain/src/org/netbeans/modules/editor/plain/resources/PlainTextExample"
 /> <!--license would be visible to users in the Fonts/Colors settings-->
             <exclude 
name="editor.settings.storage/test/unit/src/org/netbeans/modules/editor/settings/storage/compatibility/p1/**"
 /> <!--test data-->
+            <exclude 
name="extbrowser/test/unit/src/org/netbeans/modules/extbrowser/data/mac_defaults_*"
 /> <!--test data-->
             <exclude 
name="hibernate/src/org/netbeans/modules/hibernate/resources/Hibernate*.xml" /> 
<!--template files-->
             <exclude 
name="hibernate/src/org/netbeans/modules/hibernate/resources/HibernateUtil.javax"
 /> <!--template file-->
             <exclude 
name="hudson.subversion/test/unit/src/org/netbeans/modules/hudson/subversion/sample-entries-file"
 /> <!--test data-->
             <exclude 
name="j2ee.persistence/src/org/netbeans/modules/j2ee/persistence/dd/resources/*.xsd"
 /> <!-- XSDs for usage at runtime and code generation - the XSDs are not 
modified, so covered by https://www.apache.org/legal/resolved.html#category-b 
-->
             <exclude 
name="j2ee.persistence/src/org/netbeans/modules/j2ee/persistence/ui/resources/*.xml"
 /> <!-- user visible file template -->
             <exclude 
name="j2ee.persistence/src/org/netbeans/modules/j2ee/persistence/wizard/jpacontroller/resources/*.txt"
 /> <!-- user visible file template -->
+            <exclude name="ide.kit/test/qa-functional/**/*.txt" /> <!-- test 
data -->
             <exclude 
name="java.api.common/src/org/netbeans/modules/java/api/common/project/ui/customizer/vmo/gen/CommandLine.tokens"
 /> <!--generated by ANTLR-->
             <exclude 
name="java.editor/src/org/netbeans/modules/java/editor/resources/JavaExample" 
/> <!--no degree of creativity-->
             <exclude 
name="java.j2semodule/src/org/netbeans/modules/java/j2semodule/ui/resources/module-info.java.template"
 /> <!--template file-->
@@ -2033,6 +2037,7 @@ It is possible to use -Ddebug.port=3234 -Ddebug.pause=y 
to start the system in d
             <exclude 
name="options.editor/src/org/netbeans/modules/options/indentation/indentationExample"
 /> <!--no degree of creativitya-->
             <exclude 
name="projectui/src/org/netbeans/modules/project/ui/resources/*-license.txt" /> 
<!--licenses-->
             <exclude 
name="projectui/src/org/netbeans/modules/project/ui/resources/license-default.txt"
 /> <!--licenses-->
+            <exclude 
name="projectuiapi/test/unit/src/org/netbeans/modules/project/uiapi/data/*.txt" 
/> <!--test data-->
             <exclude 
name="properties/src/org/netbeans/modules/properties/sample.properties.template"
 /> <!-- template file -->
             <exclude 
name="properties.syntax/src/org/netbeans/modules/properties/syntax/PropertiesExample"
 /> <!-- user visible example for properties language -->
             <exclude 
name="selenium2.java/src/org/netbeans/modules/selenium2/java/SeleneseIT.java.template"
 /> <!--template file-->
@@ -2056,6 +2061,7 @@ It is possible to use -Ddebug.port=3234 -Ddebug.pause=y 
to start the system in d
             <exclude 
name="xml.schema.model/test/unit/src/org/netbeans/modules/xml/schema/model/resources/dummyProject/nbproject/private/tmpfile"
 /> <!-- 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 -->
             <exclude 
name="xml.tools/test/qa-functional/src/org/netbeans/modules/**/*.dtd" /> <!-- 
test data -->
             <exclude 
name="xml.tools/test/qa-functional/src/org/netbeans/modules/**/*.txt" /> <!-- 
test data -->
             <exclude 
name="xml.tools/test/qa-functional/src/org/netbeans/modules/**/*.xml" /> <!-- 
test data -->
@@ -2069,6 +2075,7 @@ It is possible to use -Ddebug.port=3234 -Ddebug.pause=y 
to start the system in d
             <exclude 
name="xml/src/org/netbeans/modules/xml/resources/templates/*" /> <!-- template 
files - tracked by https://issues.apache.org/jira/browse/NETBEANS-85 -->
             <exclude 
name="xml/test/unit/src/org/netbeans/modules/xml/resources/*" /> <!-- test data 
-->
             <exclude 
name="xsl/src/org/netbeans/modules/xsl/resources/templates/stylesheet.xsl" /> 
<!-- Template for user - very limited degree of creativity -->
+            <exclude 
name="xsl/test/unit/src/org/netbeans/modules/xsl/utils/data/*" /> <!--test 
data-->
         </patternset>
         <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">


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to