Details
-
Wish
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
6.0.0-beta2
-
Netbeans IDE
Description
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.