[Dev] Standard Java header?
Brett Wooldridge
bwooldridge at alterpoint.com
Fri May 30 11:29:22 CDT 2008
I'm not sure we can make it part of checkstyle or not? Anyone? I'm certainly for it. In 1.0 of ZipTie we ran a perl script over all the files at the end of the release that slapped the header into them. I'm fine with either approach. I'm as guilty as anyone of setting up a new workspace but not importing the code templates (I always import the formatting rules tho).
That header definitely needs to be tweaked. The copyright date needs to be updated for new files, but technically it is valid even with old dates (for old files) -- otherwise books and printed matter would be hosed. But if the file has changes, the date should be "refreshed". The License link should also point to http://www.ziptie.org/license not to the Mozilla site anymore. And the "Contributor(s)" portion needs to die.
-Brett
On 5/31/08 1:09 AM, "Edmund Grossenbacher" <egrossenbacher at alterpoint.com> wrote:
Is there a standard Java header for use in ZipTie? A lot of files have the following, but a lot of them don't have anything, or have something else. I note that the copyright date is flyblown, etc. Can we make this part of the ZipTie Checkstyle?
-ed
/*
* The contents of this file are subject to the Mozilla Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
* License for the specific language governing rights and limitations
* under the License.
*
* The Original Code is Ziptie Client Framework.
*
* The Initial Developer of the Original Code is AlterPoint.
* Portions created by AlterPoint are Copyright (C) 2006,
* AlterPoint, Inc. All Rights Reserved.
*
* Contributor(s):
*/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ziptie.org/pipermail/dev/attachments/20080530/5b76449d/attachment.html
More information about the Dev
mailing list