Cleanup the license headers in the source code
----------------------------------------------
Key: JBAS-1644
URL: http://jira.jboss.com/jira/browse/JBAS-1644
Project: JBoss Application Server
Type: Task
Components: Build System
Reporter: Scott M Stark
Assigned to: Scott M Stark
Priority: Critical
Fix For: JBossAS-4.0.2 Final
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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development