licence文件放在如图所示的地方可以吗?

以下是licence文件内容

Copyright (c) 2008 Alan Szlosek

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

http://img1.mukewang.com/643d1f5400013faf03360562.jpg

慕容3067478
浏览 100回答 2
2回答

哈士奇WWW

只要是可以进行分发的版权,像你这样放在第三方库的各自目录下,没问题。

饮歌长啸

在源代码根目录放置LICENCE.TXT文件你去看所有的开源代码,许可证文件都会放到这个地方,而所有想找这个文件的用户,第一反应也是去这里找这个文件。而且文件名一般都是一个名为LICENCE.TXT的单一文件。在代码文件注释中声明开源许可这也是一个好习惯,我们在看国外的代码时,它们的头部一般会有一大段的版权声明,有的时候其长度甚至超过了代码本身,这经常遭到国人的调侃。其实这样做是非常必要的,特别是如果你的代码包括多种风格的开源许可证,那么这样可以为不同的模块分配相应的版权许可。比如一般php代码开头<?php/** &nbsp;*&nbsp;Zend&nbsp;Framework&nbsp;(http://framework.zend.com/) &nbsp;* &nbsp;*&nbsp;@link&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http://github.com/zendframework/zf2&nbsp;for&nbsp;the&nbsp;canonical&nbsp;source&nbsp;repository &nbsp;*&nbsp;@copyright&nbsp;Copyright&nbsp;(c)&nbsp;2005-2012&nbsp;Zend&nbsp;Technologies&nbsp;USA&nbsp;Inc.&nbsp;(http://www.zend.com) &nbsp;*&nbsp;@license&nbsp;&nbsp;&nbsp;http://framework.zend.com/license/new-bsd&nbsp;New&nbsp;BSD&nbsp;License &nbsp;*&nbsp;@package&nbsp;&nbsp;&nbsp;Zend_Mvc &nbsp;*/
打开App,查看更多内容
随时随地看视频慕课网APP