Relative resource loading from classpath

Hi -

I am trying to integrate Liquibase in a spring configuration.

My changelog file is in META-INF/liquibase/main.xml

From there I have an

But it seems liquibase is trying to load r001.xml from the root of the classpath.

Should I use absolute names of resources ?

In the examples (best practices) relative paths are used, so this is somewhat puzzling…



There is a “relativeToChangelogFile” attribute that needs to be set to true, otherwise it looks them up from the root of your classapth.  I’ll make sure the best practices doc is updated.