matthiasblaesing commented on PR #8701:
URL: https://github.com/apache/netbeans/pull/8701#issuecomment-3161204645

   @makiam I missed that on the first pass: the template file has no license 
header (and in this case can't carry one). For that case there needs to be an 
information added to `ide/markdown/licenseinfo.xml`:
   
   ```
       <fileset>
           <file>src/org/netbeans/modules/markdown/resources/Template.md</file>
           <license ref="Apache-2.0-ASF" />
           <comment type="TEMPLATE_MINIMAL_IP" />
       </fileset>
   ```
   
   See 
https://github.com/apache/netbeans/blob/master/nbbuild/antsrc/org/netbeans/nbbuild/extlibs/licenseinfo/CommentType.java#L22.
 That is evaluated by the `ant rat` run, which checks all files, that are not 
excluded, for valid license headers.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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