Hi, On Thu, Sep 21, 2017 at 12:34 PM, Neil C Smith <[email protected]> wrote: > ...Take > > https://github.com/apache/incubator-netbeans/blob/master/apisupport.wizards/src/org/netbeans/modules/apisupport/project/ui/wizard/wizard/instantiatingIterator.javx
Ok - IIUC that's a template that NetBeans uses at runtime to generate Java code? > ...This didn't used to have a license header at all prior to the donation I > believe?... If that file is going to be included in the NetBeans release, it needs a license header indeed. > ...I assume from the way that > the license has been added to the template it's effectively a comment, and > so the output of the template process is still a file with no license, > which is as it should be in my opinion... If the template process is run by a NetBeans user then I agree, the generated file doesn't need a license header. I suppose such generated files are mostly boilerplate anyway and do not contain rocket science algorithms that might need to be appropriately licensed. > ...I'm wondering at what point, if at > all, the code generated by a template in this way becomes determined as > needing to carry the Apache license?... It's only files which are included in the NetBeans release which need an Apache license header. Does this clarify things? -Bertrand
