Am Montag, den 02.10.2017, 19:33 +0200 schrieb Antonio Vieiro:
> 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?

Are you sure the added header causes the test to fail? From the look of
the file I doubt that. If it is indeed the header that causes the
problem I revert the header adjustment and add an jira issue about that
and reference that in the comments.

> b) If so, the test file would have an Oracle license (see [2]). Is this OK?

My understanding is: No - the code was donated by oracle to the Apache
foundation and so it should be ALv2 licesed.

> b) Is "(cd editor; ant test)" the proper way to test a module?

That should work.

> [1] 
> https://github.com/apache/incubator-netbeans/blob/master/editor/test/unit/src/org/netbeans/modules/editor/resources/annotations-test-layer.xml

Greetings

Matthias

Reply via email to