dev@glassfish.java.net

Re: copyright 2010

From: Byron Nevins <Byron.Nevins_at_Sun.COM>
Date: Wed, 06 Jan 2010 19:18:17 -0800

Is there official boiler plate to use for the comment for new files? I
see many different versions in the source code...


Sahoo wrote:
> May be we should add pre-commit hook in svn to reject commits if
> copyright year is not updated?
>
> Sahoo
>
> Bill Shannon wrote:
>> Happy New Year, everyone!
>>
>>
>> Just a reminder...
>>
>> If you change a file this year, *YOU* are responsible for updating the
>> copyright line in the file to include the current year.
>>
>> I recently wrote a program to check that the copyright and license
>> header in Java source files is correct. I found *thousands* of
>> files that were wrong. Most of the errors were a simple failure to
>> update the copyright date.
>>
>> Lloyd has fixed most all of these errors. Please, help us by carefully
>> checking that you've updated the copyright date before checking in any
>> files.
>>
>> And since it's clearly not obvious judging by the number of mistakes
>> I've
>> seen... New files *must* have a copyright/license header.
>>
>> Any questions? Ask me...
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>

-- 
Byron Nevins  -  Sun Microsystems, Inc.
Home: 650-359-1290
Cell: 650-784-4123
Sierra: 209-295-2188