This is baffling me. I have been using liquibase for the past couple of years, and nothing like this has ever happened before. I have a changeset that uses a sqlFile; all of a sudden it (and similar changesets) won’t work - it fails with “File does not exist”. But the file DOES exist.
Eg see screenshot
Also if I knock up a simple Java program:
.filter(path->path.getFileName().toString().endsWith(“sql”)).forEach(path -> System.out.println(path + “>>” + path.toFile().canRead()));
I get the output
I cannot see what the liquibase source code is doing here. But I already spent half a day on this yesterday and it’s driving me mad. I need to figure out what’s causing it.