Dynamic property value to be loaded from a external file into the DatabaseChangeLog file

You can using changelog properties http://www.liquibase.org/documentation/changelog_parameters.html


Nathan

Hi,

Can we load property values dynamically from an external properties file into the DatabaseChangeLog file

Hi Nathan,

I had a look at this page but the issue is the property value which i am loading from an external file through ANT, how can i access those properties call then inside the changelog xml file.

I don’t think Liquibase would have access to that, the best approach may be to use ant token filtering (http://ant.apache.org/manual/Tasks/filter.html) to generate a temporary changelog file with the values included.


Nathan