Ignore Netbeans XML configuration files in Apache License Header Test Case
--------------------------------------------------------------------------

                 Key: WICKET-4498
                 URL: https://issues.apache.org/jira/browse/WICKET-4498
             Project: Wicket
          Issue Type: Wish
          Components: wicket
    Affects Versions: 6.0.0-RC1
         Environment: Netbeans IDE
            Reporter: Timo Schmidt
            Priority: Trivial


First of all, thank you for this great framework. It's a pleasure to work with 
wicket!

As I'm using the Netbeans IDE for development the Apache License Header Test 
Case fails due to missing license text block in some Netbeans configuration 
files. The following patch will ignore those Netbeans specific files and the 
tests will pass.

diff --git 
a/wicket-util/src/main/java/org/apache/wicket/util/license/ApacheLicenseHeaderTestCase.java
 
b/wicket-util/src/main/java/org/apache/wicket/util/license/ApacheLicenseHeaderTestCase.java
index fc19ca2..dc6cee3 100644
--- 
a/wicket-util/src/main/java/org/apache/wicket/util/license/ApacheLicenseHeaderTestCase.java
+++ 
b/wicket-util/src/main/java/org/apache/wicket/util/license/ApacheLicenseHeaderTestCase.java
@@ -211,6 +211,7 @@ public abstract class ApacheLicenseHeaderTestCase extends 
Assert
        // addHeaders = true;
        xmlIgnore.add(".settings");
        xmlIgnore.add("EclipseCodeFormat.xml");
+       xmlIgnore.add("nb-configuration.xml");
 
        /*
         * License header in test files lower the visibility of the test.

It would be nice to add the above ignore line.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to