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

Optionally add licence headers to those currently without one

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6
    • 0.7
    • core engine
    • None

    Description

      It would be useful to licence headers to files that currently do not have one. This will need to respect the excludes list to prevent header files bewing added to innapropriate files.

      Attachments

        1. annotationHeaders.patch
          2 kB
          Ross Gardler
        2. docsUpdate.patch
          2 kB
          Ross Gardler
        3. docs.patch
          0.7 kB
          Ross Gardler
        4. annotator.patch
          27 kB
          Ross Gardler

        Activity

          rgardler Ross Gardler added a comment -

          This patch adds functionality to add licence files to those missing one.

          It will either create a new version of the file with ".new" extension or, if the appropriate command line option is set it will write the header into the existing file.

          This patch also adds a command line interface for control of this feature.

          rgardler Ross Gardler added a comment - This patch adds functionality to add licence files to those missing one. It will either create a new version of the file with ".new" extension or, if the appropriate command line option is set it will write the header into the existing file. This patch also adds a command line interface for control of this feature.
          rgardler Ross Gardler added a comment -

          A small change to the docs to instruct the user to first run the CLI version using the "--help" switch.

          rgardler Ross Gardler added a comment - A small change to the docs to instruct the user to first run the CLI version using the "--help" switch.

          Committed. Many thanks.

          Not sure whether you have any more improvement you'd like to tack onto this JIRA...

          robertburrelldonkin Robert Burrell Donkin added a comment - Committed. Many thanks. Not sure whether you have any more improvement you'd like to tack onto this JIRA...
          rgardler Ross Gardler added a comment -

          No fuirther improvements at present. As you know from the mailing list, there are some planned. But I only just found the time to update this work to the new org.apache.* packages

          rgardler Ross Gardler added a comment - No fuirther improvements at present. As you know from the mailing list, there are some planned. But I only just found the time to update this work to the new org.apache.* packages
          rgardler Ross Gardler added a comment -
          • Corrected a couple of errors in the help file
          • added some docs on relicencing feature
          rgardler Ross Gardler added a comment - Corrected a couple of errors in the help file added some docs on relicencing feature
          rgardler Ross Gardler added a comment -
          • better formatting of copyright line
          • add rdf/xml as recognised file type
          rgardler Ross Gardler added a comment - better formatting of copyright line add rdf/xml as recognised file type
          rgardler Ross Gardler added a comment -

          Prodding this issue.

          The second two patches docsUpdate.patch and annotationHeaders.patch

          Their minor updates, but I don't want them to get lost.

          rgardler Ross Gardler added a comment - Prodding this issue. The second two patches docsUpdate.patch and annotationHeaders.patch Their minor updates, but I don't want them to get lost.

          Think these should all be applied now

          robertburrelldonkin Robert Burrell Donkin added a comment - Think these should all be applied now

          People

            robertburrelldonkin Robert Burrell Donkin
            rgardler Ross Gardler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: