Create liquibase.properties file next to the changeLogFile (which by default is named install.xml)

promptOnNonLocalDatabase false
url jdbc:postgresql://hostname/db_name
username my_user
password my_pass
driver org.postgresql.Driver
defaultSchemaName localizer

Execute commands:

$ cd my_project/src/main/resources

$ ~/liquibase-3.0.0-bin/liquibase –driver=org.postgresql.Driver –classpath=/path/to/postgresql-9.0-801.jdbc4.jar –changeLogFile=install.xml –defaultsFile=liquibase.properties –logLevel=debug –logFile=/tmp/localizer-liquibase.log update -DschemaName=my_schema

Liquibase Home is not set.
Liquibase Home: /my/userhomedir/liquibase-3.0.0-bin
Liquibase update Failed: Validation Failed:
8 change sets check sum
….

….

For more information, use the –logLevel flag

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s