Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Re : Logging Changes

$
0
0
Hi Sorry for corrupting logging thread but I think It has something to do with this change.
As with 3.6.0-SNAPSHOT I'm trying to run migration pulling changelogs from war file... something like this:

  1. java -jar liquibase.jar \
  2. --driver=oracle.jdbc.OracleDriver \
  3. --classpath=website.war \
  4. --changeLogFile=com/example/db.changelog.xml \
  5. --url=jdbc:oracle:thin:@localhost:1521:oracle \
  6. --username=scott \
  7. --password=tiger \
  8. update

but this won't work because of dependency on slf4j, logback-core and logback-classic. You will need to provide classpath for java execution...eg something like this:


  1. java  -cp ~/.m2/repository/org/liquibase/liquibase-core/3.6.0-SNAPSHOT/liquibase-core-3.6.0-SNAPSHOT.jar:~/.m2/repository/ch/qos/logback/logback-core/1.1.11/logback-core-1.1.11.jar:~/.m2/repository/ch/qos/logback/logback-classic/1.1.11/logback-classic-1.1.11.jar:/home/lvasek/.m2/repository/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar \
  2.       liquibase.integration.commandline.Main \
  3.       --help


So maybe the documentation here http://www.liquibase.org/documentation/command_line.html should be changed with 3.6.0




Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>