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

Can I add changelog property to liquibase.properties file?

$
0
0
this is my liquibase.properties file:
  1. #Liquibase.properties
  2. driver: oracle.jdbc.OracleDriver
  3. classpath: ojdbc7.jar
  4. url: jdbc:oracle:thin:@10.0.2.1:1521:mydb
  5. username: USER
  6. password: pswd
this is my command:
  1. liquibase --changeLogFile results/changelog.xml --logLevel debug -Dconnection_string="USER/pswd@mydb" update
I would like to use command like this:
  1. liquibase --changeLogFile results/changelog.xml --logLevel debug update

So i need add connection_string property to liquibase.properties file. Any idea?



I need connection_string property, because i have executeCommand tag in my changeset:

        <executeCommand executable="sqlplus">
            <arg value="${connection_string}" />
            <arg value="@/home/svn/dml/INSERT_INTO_COUNTRIES.sql" />
        </executeCommand>

Viewing all articles
Browse latest Browse all 2993

Trending Articles



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