I've been working on the relicensing project recently, and it seems the following instructions are necessary.
When adding licence blocks to files:
DO:
DON'T:
There is an exception to the last rule. You may put "#" blocks inside other comment styles in files which the XUL preprocessor runs over, as long as the surrounding comment markers are each on their own separate line, as follows:
/* # ***** BEGIN LICENSE BLOCK ***** # Version: MPL 1.1/GPL 2.0/LGPL 2.1 # # The contents of this file are subject to the Mozilla Public License Version ... # # ***** END LICENSE BLOCK ***** */Posted by gerv at February 7, 2005 01:46 PM
Somebody sounds grumbly... ;-)
If you ask me, part of the problem is that the boilerplate texts are somewhat buried in the site. Getting to them from http://www.mozilla.org/MPL/ isn't very difficult (although getting there by any means other than typing the URL in the location bar isn't easy unless you've done it a lot), but when you're already editing source code and there are so many viable examples in source already, it's far easier to just copy an existing file, dele the code, and edit the boilerplate as necessary.
Posted by: Jeff Walden at February 7, 2005 08:34 PM