Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1644

Cleanup the license headers in the source code

    XMLWordPrintable

Details

    Description

      To prevent invalid license terms from showin up in the source files I have added copyright child elements to the thirdparty/licenses/thirdparty-licenses.xml file under the license elements. For example, some of the lgpl copyright headers are:

      <license id="lgpl" licenseFile="lgpl.txt" >
      <copyright id="jboss#1">
      JBoss, the OpenSource J2EE webOS
      Distributable under LGPL license.
      See terms of license at gnu.org.
      </copyright>
      <copyright id="jboss#2">
      JBoss, the OpenSource EJB server
      Distributable under LGPL license.
      See terms of license at gnu.org.
      </copyright>
      ...

      There is also a org.jboss.tools.copyright.ValidateCopyrightHeaders utility which validates all header files found in a cvs source tree for conformance against the valid headers. The current output for the 4.0 branch is:

      Apr 4, 2005 9:39:39 PM org.jboss.tools.copyright.ValidateCopyrightHeaders main
      INFO: Processed 6441
      Apr 4, 2005 9:39:39 PM org.jboss.tools.copyright.ValidateCopyrightHeaders main
      INFO: Files with no headers: 900
      Apr 4, 2005 9:39:39 PM org.jboss.tools.copyright.ValidateCopyrightHeaders main
      INFO: Files with invalid headers: 904

      The files with no headers and those with invalid headers are attached as InvalidHeaders.txt and NoHeaders.txt

      Attachments

        1. InvalidHeaders.txt
          81 kB
          Scott Stark
        2. NoHeaders.txt
          85 kB
          Scott Stark

        Activity

          People

            starksm64 Scott Stark (Inactive)
            starksm64 Scott Stark (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 1 day
                1d
                Logged:
                Time Spent - Not Specified
                Not Specified