[ 
https://issues.apache.org/jira/browse/NETBEANS-2288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16811687#comment-16811687
 ] 

Laszlo Kishalmi commented on NETBEANS-2288:
-------------------------------------------

It seems there is a bug in the customizer as it creates property entries with 
nb-conf. prefix, instead of netbeans.

A workaround of this bug is to set the license or netbeans.license property in 
the gradle.properties, like:

netbeans.license=apache20

or

license=apache20

 

Thank you for reporting this issue!

> Project license header not used when creating new files in Gradle projects
> --------------------------------------------------------------------------
>
>                 Key: NETBEANS-2288
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2288
>             Project: NetBeans
>          Issue Type: Bug
>          Components: projects - Gradle
>    Affects Versions: 11.0
>            Reporter: Alessandro Falappa
>            Assignee: Laszlo Kishalmi
>            Priority: Minor
>
> # Create a new gradle project for a Java application
> # Open the Project properties dialog (right click on project node)
> # In the _License Headers_ secion choose *Global License* and select for 
> example _Apache 2.0_ license
> # Create a new Java class
> Problem: the newly created class has the *Default License* header text not 
> the *Apache 2.0* license header



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to