Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.0.0
-
None
Description
I've been trying to build "main" on windows 10, and got this:
java.lang.RuntimeException: java.lang.IllegalArgumentException: "basePath" directory does not exist: XXXXX\YYYYYYJavatika-maintikatika-integration-teststika-pipes-opensearch-integration-teststargettest-files
at org.apache.tika.pipes.opensearch.tests.TikaPipesOpenSearchTest.runPipes(TikaPipesOpenSearchTest.java:129)
at org.apache.tika.pipes.opensearch.tests.TikaPipesOpenSearchTest.testFSToOpenSearch(TikaPipesOpenSearchTest.java:96)
Caused by: java.lang.IllegalArgumentException: "basePath" directory does not exist: XXXXX\YYYYYYJavatika-maintikatika-integration-teststika-pipes-opensearch-integration-teststargettest-files
The cause is that the file tika\tika-integration-tests\tika-pipes-opensearch-integration-tests\target\ta-opensearch.xml have two basepaths that doesn't exist. It contains my path but without any "/" or "\".
The root cause is that .replaceAll needs some escaping in the second parameter.