Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2756

Gradle project properties: Couldn't get license header to work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 11.1
    • 11.1
    • projects - Gradle
    • Windows 10
      Netbeans 11.1 beta 2
      Oracle JDK 8
      Gradle 5.2

    Description

      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?

      Attachments

        Issue Links

          Activity

            People

              lkishalmi Laszlo Kishalmi
              Furrer Travis
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h