Uploaded image for project: 'Apache Rat'
  1. Apache Rat
  2. RAT-190

Javascript (.js) files not processed as text.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8, 0.11
    • 0.17
    • None
    • None

    Description

      We're using rat to enforce our internal copyright on all of our source files.
      We're seeing it missing files that should be flagged. Here's part of our pom:

      <licenses>
      <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
      <licenseFamilyCategory>IBMCL</licenseFamilyCategory>
      <licenseFamilyName>IBM Copyright</licenseFamilyName>
      <notes></notes>
      <patterns>
      <pattern>Copyright IBM Corp. 2015</pattern>
      <pattern>Copyright IBM Corp. 2014, 2015</pattern>
      <pattern>Copyright IBM Corp. 2013, 2015</pattern>
      </patterns>
      </license>
      </licenses>
      <licenseFamilies>
      <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
      <familyName>IBM Copyright</familyName>
      </licenseFamily>
      </licenseFamilies>

      The file in question is "included" as reported by running with debug output... but the file's copyright is:

      /* Copyright IBM Corp. 2014 All Rights Reserved. */

      Attachments

        1. IBM.xml
          0.3 kB
          Claude Warren
        2. test.zip
          5 kB
          Dan Dumont
        3. complete-pom.xml
          3 kB
          Philipp Ottlinger

        Issue Links

          Activity

            People

              claude Claude Warren
              ddumont Dan Dumont
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: