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

Travis edited comment on NETBEANS-2756 at 6/27/19 5:59 PM:
-----------------------------------------------------------

Thanks for the quick reply.

 

I tested it again, and it is of course exactly as you said... if I create a 
copy of my license header in every subproject, everything works great.  Thanks 
for planning to fix this so that only one copy of the file is required in the 
root project in the future.  That will be very nice.

 

In the meantime, I also tested the build.gradle workaround you provided, and 
that worked just fine for me (with just one copy of the file).


was (Author: furrer):
Thanks for the quick reply.

 

I tested it again, and it is of course exactly as you said... if I create a 
copy of my license header in every subproject, everything works great.  Thanks 
for planning to fix this so that only one copy of the file is required in the 
root project in the future.  That will be very nice.

 

In the meantime, I also tested the build.gradle workaround you provided, and 
that worked just fine for me.

> Gradle project properties: Couldn't get license header to work
> --------------------------------------------------------------
>
>                 Key: NETBEANS-2756
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2756
>             Project: NetBeans
>          Issue Type: Bug
>          Components: projects - Gradle
>    Affects Versions: 11.1
>         Environment: Windows 10
> Netbeans 11.1 beta 2
> Oracle JDK 8
> Gradle 5.2
>            Reporter: Travis
>            Assignee: Laszlo Kishalmi
>            Priority: Minor
>
> I tried adding the following line in my root project's gradle.properties file:
>  
> netbeans.license=licenseheader
>  
> And placing a file named "licenseheader" in the root project directory.
>  
> After doing so and creating a new file in the IDE editor, the header was not 
> included.  Also, the project properties "License Headers" settings appear the 
> same as before, as if the new line in gradle.properties is being completely 
> ignored.  There were no notifications about any exceptions during this 
> experiment.
>  
>  
> I believe what I did was consistent with the directions at:
> [https://cwiki.apache.org/confluence/display/NETBEANS/License+Headers]
>  
> Am I doing something wrong?  Or is there still a bug with this feature?



--
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