Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[orion-dev] copyright notices in source files

I would like to add JSDoc "@license" tags to the Orion JavaScript
source code. Does anybody see a problem with that? The reasoning goes
as follows:

1. If you decide to use the Orion client source code under the EDL
terms [1], redistributions of source code (with or without
modification) must retain the copyright notice.

2. It is common to use minifiers or "compilers" to modify the source
code in a way that it ends up being smaller and faster to download.
But you're still going to distribute the result in source form, so
copyright notices should be retained where normally the minification
would get rid of comments.

3. Some minifiers [2] can automate this based on the presence of a
JSDoc "@license" tag. Orion is using JSDoc already, so adding this tag
seems like a reasonable thing to do.

Makes sense? If yes, I'd be happy to make the changes.

Thanks,
Boris

[1] http://www.eclipse.org/org/documents/edl-v10.html
[2] http://code.google.com/closure/compiler/faq.html#license


Back to the top