Hi,
Does anyone know if it’s possible to run the generateChangeLog Ant task to generate the data like --diffType=“data” on the command line?
Thanks,
Brian
Hi,
Does anyone know if it’s possible to run the generateChangeLog Ant task to generate the data like --diffType=“data” on the command line?
Thanks,
Brian
There should be a diffTypes ant parameter you can set to include “data” and a dataDir attribute as well.
Nathan
Thanks for the reply Nathan. I tried the target, below, with no luck. It gives the following error…
“generateChangeLog doesn’t support the “diffTypes” attribute”
It gives the same for the “exportDataDir” attribute and guessed variants such as “dataDir”/“diffType”. I couldn’t see anything in the Javadocs for the Ant targets that suggest a diffType attribute is available.
I’m using version 1.9.5.
<generateChangeLog
driver="${database.driver}"
url="${database.url}"
username="${database.username}"
password="${database.password}"
outputFile="${generated.sql}"
classpathref="liquibase.classpath"
diffTypes="data"
exportDataDir="C:\test"
/>
</target>
DiffTypes is present from current 2.0 release.
Can you test with that from http://ci.ops4j.org/browse/LQB-DEF/latest/artifact?