Metadata
- Source
- VULAB-99
- Type
- Sub-task
- Priority
- Major
- Status
- Closed
- Resolution
- Fixed
- Assignee
- David Makalsky
- Reporter
- David Makalsky
- Created
2008-12-01T11:16:45.000-0500 - Updated
2014-03-04T08:27:23.937-0500 - Versions
- N/A
- Fixed Versions
-
- 0.5B
- Component
-
- RASCAL
Description
Comments
-
David Makalsky commented
2008-12-01T11:28:45.000-0500 There is a class called MultiPartFormOutputStream that was available online as a code sample here:
http://forums.sun.com/thread.jspa?threadID=451245&forumID=31I assumed that it was public domain software since it's available to anyone online and unlicensed. Colin asked me to clarify with the author of the code.
This issue stems from the following email received from Colin:
David,
Thanks for getting back to me. Comments below...
Quoting David Makalsky <dmakalsky@gmail.com>:
Good catch... I was going to follow up on this earlier, but I forgot.
I found this code online at the location you mentioned, and as far as
I could tell, it's a code example, or public domain code. I think
it's a free-for-all at this point.The notice below the code is too ambiguous to interpret it clearly as being in the public domain.
I will contact the author and take this on, no problem. Also, I can
always rewrite the code.Thanks, that's great. Let me know how it goes.
Again, my understanding is that if code is posted publicly with no
license, its public domain.That's not actually true. Any work is naturally copyrighted upon its creation. Releasing it on a forum doesn't automatically put it in the public domain; this is something that the author must do explicitly. While there's the hint that this code may be intended as public domain, there's no explicit statement to this effect. As a result, we need to treat it as copyrighted and not suitably licensed for use within Fluid.
Hopefully the author will be interested in sharing the code with us specific under an appropriate license, or confirming his intention to make it public domain.
VULAB9
-
David Makalsky commented
2008-12-01T11:59:29.000-0500 Sent following email to Colin... waiting for reply.
Hi Colin,
All code in the SUN forum falls under this license:
http://developers.sun.com/license/berkeley_license.htmlOf particular note:
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistribution of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistribution in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
Neither the name of Sun Microsystems, Inc. or the names of contributors may be used to endorse or promote products derived from this software without specific prior written permission.
This software is provided "AS IS," without a warranty of any kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN MICROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
You acknowledge that this software is not designed, licensed or intended for use in the design, construction, operation or maintenance of any nuclear facility.
I think we can use it, as long as we embed this license in the sourcefile.
Regards,
–
David Makalsky -
Blake E commented
2008-12-01T12:04:15.000-0500 🙂 forgot component.
-
Colin Clark commented
2008-12-01T16:13:57.000-0500 We'll need to ensure that there is a LICENSE.txt file in this directory identifying that the MultiPartFormOutputStream.java file is licensed differently from other files in the repository The LICENSE.txt file should contain the above license.
The individual file should include copyright attribution to the original author, along with a link to the forums from which is was obtained, and the license embedded as well.
Here are the details on licensing within Fluid:
http://wiki.fluidproject.org/display/fluid/Fluid+Licensing
While you're at it, you'll probably want to add copyright and the Fluid embedded license to each of your own source files.
VULAB10
-
David Makalsky commented
2008-12-15T14:13:13.000-0500 Added LICENSE file for MultiPartFormOutputStream.java. Will add embedded copyright this week.
VULAB11
-
David Makalsky commented
2008-12-19T12:53:29.000-0500 License terms embedded in each file