[ 
https://issues.apache.org/jira/browse/WICKET-4498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Grigorov resolved WICKET-4498.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 6.0.0-RC1
                   1.5.6
         Assignee: Martin Grigorov
    
> 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
>            Assignee: Martin Grigorov
>            Priority: Trivial
>              Labels: test
>             Fix For: 1.5.6, 6.0.0-RC1
>
>
> 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