Details
-
Task
-
Resolution: Done
-
Critical
-
None
-
None
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