I’m currently trying to test LiquiBase 2.0 in an existing build environment using ant. I get the following error when my ant target tries to call “updateDatabase”:
$ ant update-databases
[taskdef] Could not load definitions from resource scripts/liquibase/liquibase.properties. It could not be found.
/myapp/scripts/build.xml:33: Problem: failed to create task or type updateDatabase
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any / declarations have taken place.
Total time: 0 seconds
It seems to me that the liquibase.jar file is not loaded, but I cant see why.
My build area has the following structure:
I’ve got the following config:
#/myapp/build.xml (top level build.xml)
- classpath: *.jar;lib/*.jar
Any input is most wellcome!