Skip to main content

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

Sounds reasonable to me. I'm curious to see what this looks like when you concat multiple source files that all have licenses. But you're right that our current state is we distribute minified _javascript_ files with no copyright/license text at all, so this would definitely be an improvement.

John



Boris Bokowski <bokowski@xxxxxxxxx>
Sent by: orion-dev-bounces@xxxxxxxxxxx

10/07/2011 05:04 AM

Please respond to
Orion developer discussions <orion-dev@xxxxxxxxxxx>

To
Orion developer discussions <orion-dev@xxxxxxxxxxx>
cc
Subject
[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
_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orion-dev


Back to the top