You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2004/02/22 02:27:45 UTC

DO NOT REPLY [Bug 27137] New: - Update to apache 2.0 license

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27137>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27137

Update to apache 2.0 license

           Summary: Update to apache 2.0 license
           Product: Struts
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Unknown
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: tomcatlist@tkz.net


The java source files have been updated to use the apache 2.0 license.  There is
a main patch file that will have all the updates to files in CVS.  Additionally,
I have added two new files.  NOTICE.txt is a place for extra attributions
besides ASF.  The version I'm adding has just the apache boilerplate notice file
text.  I have also added a file called LICENSE.header, which is a file that can
be appended to the top of new files.  

To explain the reason for adding LICENSE.header, I should first explain the most
major change between the apache 1.1 and 2.0 license usage.  The 1.1 license was
put in it's entirety at the top of all source files.  The LICENSE.CheckStyle is
used by CheckStyle to make sure the headers at the top of source files are
correct. So with version 1.1 of the license, LICENSE.CheckStyle was just a
regular expression version of the LICENSE.txt file.  When adding headers to a
new file, the LICENSE.txt file was used.

With the 2.0 license, only one complete license at the top of the distribution
or jar file is kept.  All the source files include a header with copyrights, an
overview of the license and a URL where the complete license can be found. 
Since LICENSE.txt is no longer the text added to the top of all files, it seemed
convenient to add another file with the boilerplate header.  The
LICENSE.CheckStyle is a regular expression version of the LICENSE.header file
now, instead of a version of LICENSE.txt.

The contrib files will be updated with a seperate patch.  They are done
seperately since the 1.2 cutoff is tonight and I need to make sure the
committers have enough time to check this patch.  

Special Note should be taken at:
/src/share/org/apache/struts/validator/validwhen/ValidWhenLexer.java
/src/share/org/apache/struts/validator/validwhen/ValidWhenParser.java
/src/share/org/apache/struts/validator/validwhen/ValidWhenParserTokenTypes.java
as they had a comment at the top of the file that I moved below the license
header.  I don't know there is any dependency that would require the comment to
remain at the top of the file, but I suspect not.

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org