beast2
beast2 copied to clipboard
Integration junit test ExampleXmlParsingTest fails for addon packages
The test_ThatParameterisedXmlExamplesRuns method from ExampleXmlParsingTest uses user.dir paths for inputs RSV2.json, RSV2.xml and output /tmp/RSV2.out.xml
When I run ant build_all_<package> or ant junit_<package> for my package, it fails to find the input files.
Suggest to use paths constructed as
Path dir = Paths.get(System.getProperty("user.dir"), "..", "beast2", "examples", "parameterised");