Hi,
Assuming the files are under a Category A license, see:
https://www.apache.org/legal/resolved.html
There shouldn't be any problem with including them inside the sources. Then
a ${module}/licenseinfo.xml file should specify the license of the file (so
that it can be summarized in a generated LICENSE file). See e.g.:
ide/css.lib/licenseinfo.xml
If the files would be under a license from other categories, we would need
to download the files from somewhere before running tests.
Jan
On Sat, Jun 27, 2020 at 10:41 AM <[email protected]> wrote:
> Hi,
> what is correct way how to include third party file as test file for unit
> tests?
>
> Related PR is here: https://github.com/apache/netbeans/pull/2208
>
> Files testRealFile_01.latte, testRealFile_03.latte and
> testRealFile_04.latte were in Oracle repository (
> https://hg.netbeans.org/releases/file/5fd841261bf9/php.latte/test/unit/data/testfiles/indent)
> but were not donated.
>
> File testRealFile_01.latte is available at
> https://github.com/obrejla/Eciovni/blob/master/src/Eciovni.latte
> File testRealFile_03.latte is available at
> https://github.com/obrejla/Pollie/blob/master/OndrejBrejla/Pollie/PollieForm.latte
> File testRealFile_04.latte is available at
> https://github.com/obrejla/Pollie/blob/master/OndrejBrejla/Pollie/PollieLink.latte
>
> What needs to be done wrt licenses?
>
> Regards,
> Tom
>
> ---------------------------------------------------------------------
> 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
>
>
>
>