I am having some real problems with the rollbackDatabase ant task. I specify a rollbackdate but no matter what format I specify the date in I get this error
"Can’t assign value ‘2010-12-01 00:00:00’ to attribute rollbackdate, reason: class java.lang.IllegalArgumentException with message ‘null’ "
Here is the ant task
<rollbackDatabase
changeLogFile="${liquibase.changelog.file}"
driver="${liquibase.dbdriver}"
url="${sqlj.url}"
username="${sqlj.user}"
password="${sqlj.password}"
classpathref=“liquibase.classpath”
rollbackDate="${rollbackDate}"/>
Looking at the java code for this task it seems that it takes a java.util.Date object and ant doesn’t know how to resolve that object. Has anyone else run into this issue and if so how did you get around it?