> On May 9, 2017, at 11:13 AM, Niclas Hedhman <[email protected]> wrote:
> 
> I am inviting Taylor and John to provide guidance around latest requirements. 
> Gentlemen...
> 
> Cheers
> Niclas
> 
> On Tue, May 9, 2017 at 4:58 PM, sospartan <[email protected] 
> <mailto:[email protected]>> wrote:
> Hi Niclas,
> We have 3 folder contain source codes from other projects.
> 
> 1.'android/sdk/src/main/java/com/taobao/weex/dom/flex'
> 2.'ios/sdk/WeexSDK/Sources/Layout/'
> 
> These two from 'CSSLayout' project(https://github.com/facebook/yoga 
> <https://github.com/facebook/yoga>
> raname to yoga later 2016). We haven't change any of them.

As Niclas suggested, if the files are unchanged then just make sure the 
original license header is in place. If you change them later in a significant 
way, add the Apache header.

Then add either add a pointer to the license or the text of the license in your 
LICENSE file. See here [1] for further guidance.

The commit to the LICENSE file you reference mostly suffices. The only thing I 
would add would be for each license added to LICENSE, make sure you point out 
exactly which file(s) it applies to. 



> 
> 3.'html5/frameworks/legacy/core'
> Codes inside this folder is based on vuejs. And every file contain
> both vuejs and weex license header
> 
> NOTICE already include vuejs and yoga.
> LICENSE have append these two projects' license by recent commit
>  (
> https://github.com/apache/incubator-weex/commit/65314df30a50a17929ecb2297cdbe4009616ddd1
>  
> <https://github.com/apache/incubator-weex/commit/65314df30a50a17929ecb2297cdbe4009616ddd1>
> ).
> 
> Anything else? I don't see much about 'bundled code' beside append them to
> LICENSE.


I think you are on the right track. Again, the Licensing Howto [2] is a pretty 
good guide for sorting this stuff out.


-Taylor

[1] http://www.apache.org/dev/licensing-howto.html#permissive-deps 
<http://www.apache.org/dev/licensing-howto.html#permissive-deps>
[2] http://www.apache.org/dev/licensing-howto.html



> 
> 
> On Fri, May 5, 2017 at 1:41 PM, Niclas Hedhman <[email protected] 
> <mailto:[email protected]>> wrote:
> 
> > That depends on the license of other project.
> >
> > If it is under so called permissive licenses, such as Apache, BSD and MIT,
> > then this is allowed.
> >
> > If files are NOT changed, then the license headers remains intact. IF you
> > modify the files (anything beyond a one-liner), you should ADD the Apache
> > license header AS WELL. Also, you need to include NOTICE as required per
> > license (not always), and the full license text should be added.
> >
> > This is known as "bundled with" in the release policy. Please read more
> > details in http://www.apache.org/legal/release-policy.html 
> > <http://www.apache.org/legal/release-policy.html>
> >
> > Cheers
> >
> > On Fri, May 5, 2017 at 12:05 PM, sospartan <[email protected] 
> > <mailto:[email protected]>> wrote:
> >
> > > Hi mentors,
> > > Can we directly use/include source code from other projects?
> > > For example, the playground app(android/playground/app/
> > > src/main/java_zxing)
> > > using zxing right now. Is this legal as a apache project?
> > >
> > > --
> > > Best Regards!
> > > ------------------------------
> > >
> > > sospartan
> > > https://weex-project.io <https://weex-project.io/>
> > >
> >
> >
> >
> > --
> > Niclas Hedhman, Software Developer
> > http://polygene.apache.org <http://polygene.apache.org/> - New Energy for 
> > Java
> >
> 
> 
> 
> --
> sospartan
> Phone:13588488290
> HangZhou
> 
> 
> 
> -- 
> Niclas Hedhman, Software Developer
> http://polygene.apache.org <http://polygene.apache.org/> - New Energy for Java

Reply via email to