I am working on Liquibase commands for database schema versioning. Currently I am working with diffChangeLog command. Below is the sample format which I am working on it.
liquibase
--changeLogFile=dbchangelog.xml
--outputFile=mydiff.txt
--driver=oracle.jdbc.OracleDriver
--classpath=ojdbc14.jar
--url="jdbc:oracle:thin:@<IP OR HOSTNAME>:<PORT>:<SERVICE NAME OR SID>"
--username=<USERNAME>
--password=<PASSWORD>
diffChangeLog
--referenceUrl="jdbc:oracle:thin:@<IP OR HOSTNAME>:<PORT>:<SERVICE NAME OR SID>"
--referenceUsername=<USERNAME>
--referencePassword=<PASSWORD>
As per my requirement, I don't want result of this will get saved on dbchangelog.xml. I want to get this result on console only. Is it mandatory to pass changeLogFile parameter because if I don't pass then diffChangeLog command is not working. Please help.