Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-2367

ApacheLicenceHeaderTest fails checking non-project file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4-RC6
    • 1.4.0
    • None
    • None

    Description

      When working with Eclipse, ApacheLicenceHeaderTest fails because it checks an Eclipse config file for the existence of an Apache license.

      The constructor should have the following line in order to fix the issue.

      xmlIgnore = new String[]

      { ".settings" }

      ;

      -------------------------------------------------------
      T E S T S
      -------------------------------------------------------
      Running org.apache.wicket.util.license.ApacheLicenceHeaderTest

      org.apache.wicket.util.license.XmlLicenseHeaderHandler failed. The following files(1) didn't have correct license header
      :
      NONE C:\Java\apache-wicket-1.4-rc6\wicket-parent\wicket-devutils\.settings\org.eclipse.wst.common.project.facet.core.xml

      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.094 sec <<< FAILURE!
      Running org.apache.wicket.devutils.stateless.StatelessCheckerTest
      log4j:WARN No appenders could be found for logger (org.apache.wicket.Application).
      log4j:WARN Please initialize the log4j system properly.
      Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.515 sec

      Results :

      Failed tests:
      testLicenseHeaders(org.apache.wicket.util.license.ApacheLicenceHeaderTest)

      Tests run: 3, Failures: 1, Errors: 0, Skipped: 0

      Attachments

        Activity

          People

            jdonnerstag Juegen Donnerstag
            unguiculus Reinhard Nägele
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: