Liquibase Community Forum
2010-12-21 01:08:03 UTC
A new topic, 'Ant rollbackDatabase rollbackdate doesn't work', has been made on a board you are watching.
You can see it at
http://liquibase.org/forum/index.php?topic=850.new#new
The text of the topic is shown below:
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?
Unsubscribe to new topics from this board by clicking here: http://liquibase.org/forum/index.php?action=notifyboard;board=1.0
Regards,
The Liquibase Community Forum Team.
You can see it at
http://liquibase.org/forum/index.php?topic=850.new#new
The text of the topic is shown below:
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?
Unsubscribe to new topics from this board by clicking here: http://liquibase.org/forum/index.php?action=notifyboard;board=1.0
Regards,
The Liquibase Community Forum Team.