You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Matthias Bläsing (JIRA)" <ji...@apache.org> on 2017/10/11 16:44:00 UTC

[jira] [Created] (NETBEANS-85) Unify and decide about license header in freemarker templates

Matthias Bläsing created NETBEANS-85:
----------------------------------------

             Summary: Unify and decide about license header in freemarker templates
                 Key: NETBEANS-85
                 URL: https://issues.apache.org/jira/browse/NETBEANS-85
             Project: NetBeans
          Issue Type: Bug
            Reporter: Matthias Bläsing


There are files in the netbeans codebase that are used as template in netbeans. These templates are combined with property sets and used to generate code in users projects.

With the first iteration of [PR #52|https://github.com/apache/incubator-netbeans/pull/52] on github the apache license headers were added. This was remarked as a bad idea. The reasoning:

- The user can see the content of the template when opening the file in the template editor. And the user might be offended by seeing the license.

As counter points it was raised:

- a license header can be trivially added and won't end up in the generated file (freemarker supports comments)
- it makes license review easier

This should be decided centrally.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)