play-liquibase
play-liquibase copied to clipboard
liquibase resolve wrong file lication for releative rescource
conf
liquibase
changelog.xml
dicts
dict.xml
dict.csv
changelog.xml is:
<includeAll path="./dicts" relativeToChangelogFile="true" />
When I trying to run applcation I have an exception:
liquibase.exception.ChangeLogParseException: file:/conf/liquibase/dicts/dict.xml does not exist
In FileSystemResourceAccessor
chengelog.xml
opened from path:
/home/myuser/git/myapp/conf/liquibase/changelog.xml
but relative resource path resolve as
/home/myuser/git/myapp/file:/conf/liquibase/dicts/dict.xml
file:
in the middle of the path broke the correct path