generateChangeLog Ant Task and --diffType="data"

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.

&nbsp; &nbsp; <generateChangeLog
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; driver="${database.driver}"
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; url="${database.url}"
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; username="${database.username}"
	&nbsp; &nbsp; password="${database.password}"
	&nbsp; &nbsp; outputFile="${generated.sql}"		&nbsp; &nbsp; 
	&nbsp; &nbsp; classpathref="liquibase.classpath" 
	&nbsp; &nbsp; diffTypes="data"
&nbsp; &nbsp;  	&nbsp; &nbsp; exportDataDir="C:\test"	&nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; />
</target>

DiffTypes is present from current 2.0 release.
Can you test with that from http://ci.ops4j.org/browse/LQB-DEF/latest/artifact?