http://www.apache.org/legal/src-headers.html#faq-exceptions

Other files may make sense to have no license header. Three examples are:
>


Test data for which the addition of a source header would cause the tests
> to fail.



--emi

On Mon, Oct 2, 2017 at 8:33 PM, Antonio Vieiro <[email protected]> wrote:

> Hi all,
>
> A license header has already been included in an xml test file at [1]
> (ide cluster, editor module). If I run tests on this module (cd
> editor; ant test) the tests fail.
>
> My questions:
>
> a) Should I remove the license header from the test file?
> b) If so, the test file would have an Oracle license (see [2]). Is this OK?
> b) Is "(cd editor; ant test)" the proper way to test a module?
>
> Thanks in advance and apologies for so many questions,
> Antonio
>
> [1] https://github.com/apache/incubator-netbeans/blob/
> master/editor/test/unit/src/org/netbeans/modules/editor/
> resources/annotations-test-layer.xml
> [2] https://github.com/apache/incubator-netbeans/commit/
> 6daa72c9819847bb4f71ee6aba6d30d5ffaca41a#diff-
> 4af1caa76a12a7dce3d32c9063306622
>

Reply via email to