-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
include xml changelogs is impossible #14
Comments
I think that xml files might actually work, since Liquibase natively knows how to deal with XML files. The problem here is probably that your change is using |
I'm calling xml from groovy dsl, so it goes via groovy wrapper see void include(Map params = [:]) {
'relativeToChangelogFile'] it throw errors, but why? 2016-02-11 5:05 GMT+03:00 Steven C. Saliman notifications@github.com:
Regards, |
databaseChangeLog() {
include(file: 'sequences.changelog.xml', relativeToChangelogFile: true)
include(file: 'tables.changelog.xml', relativeToChangelogFile: true)
......
} |
it's work |
I like to call that "edit time inheritance" :-) Glad it's working for you now. |
thanks 2016-02-15 18:02 GMT+03:00 Steven C. Saliman notifications@github.com:
Regards, |
it's currently impossible to include xml changelog files due to in-code restrictions
databaseChangeLog() {
include(file: 'sequences.changelog.xml', relative: true)
include(file: 'tables.changelog.xml', relative: true)
......
}
liquibase.exception.SetupException: DatabaseChangeLog: 'relative' is not a supported attribute of the 'include' element
it's required to use includeAll method instead, but this method includes only groovy file, and I need xml in my project
The text was updated successfully, but these errors were encountered: