The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search

License Boilerplate

This table contains preformatted versions of the boilerplate text that goes at the top of files which are licensed under the MPL or NPL. Please always use these templates when adding files to the tree: they are carefully formatted so that future updates to the boilerplate will be easy to make.

Usage:

  • Select a license:

    • Code under mozilla/nsprpub should use the NPL; please contact Srinivas <srinivas@netscape.com> for NPSR issues.
    • Code under mozilla/js/src and mozilla/js/rhino must use NPL with GPL dual-license.
    • All other new files can use the MPL, unless you know of some specific reason why they shouldn't. In the latter case, please ask in netscape.public.mozilla.license before checking in.

  • In directories containing binary files which can't have the boilerplate directly attached, check in a file named LICENSE that details which files are under which licenses, and check in the text version of the individual boilerplate or license under names such as LICENSE-MPL, LICENSE-NPL or similar. Note that some binary formats (such as GIFs) allow for the attachment of comment fields.
  • Use the "Save Link As..." feature in your browser to download them.
  • All ______ fields must be filled in with appropriate text.
  • No sections of the boilerplate text may be removed or changed.
  • When changing a file, be sure to update its Contributors section as well as the years of copyright, if appropriate.

Type of source file
.c, .cpp, .css, .h, .idl, .js, .java, .msg .sh, .pl, .mk, Makefile, makefile.win, MANIFEST .in .html, .xml, .xul, .rdf, .dtd .txt
License MPL mpl.c mpl.sh mpl.m4 mpl.html mpl.txt
MPL with generic dual license mpl-dual.c mpl-dual.sh mpl-dual.m4 mpl-dual.html mpl-dual.txt
NPL npl.c npl.sh npl.m4 npl.html npl.txt
NPL with GPL dual license npl-dual-gpl.c npl-dual-gpl.sh npl-dual-gpl.m4 npl-dual-gpl.html npl-dual-gpl.txt

Questions about license usage? Post to netscape.public.mozilla.license. See our community page for more about this and other mozilla forums.

Last modified: Tue Sep 21 17:49:34 PDT 1999
Copyright © 1998-1999 The Mozilla Organization.
Last modified September 25, 1999.