Github user matthiasblaesing commented on the issue:
https://github.com/apache/incubator-netbeans/pull/52
Thank you for looking into this. I disagree with your assessment about the
license header for the templates. I draw the line between the template and its
result.
The template itself is ALv2 licensed, but its intention is to create code
and that is not covered by the ALv2 license. So the license header belongs into
the template if it does not interfere with the generation process and in the
cases of the XML templates all templates were freemarker templates, so the ALv2
header I added is only in the template itself, not in the resulting code.
In fact the license for the resulting code comes from the project
properties.
---