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

Re : --defaultsFile argument not taken in account when running from antother directory

$
0
0
Thanks for the reply.

The context is that LB will be used in a moving environnement, called not from the root path of LB's bin, but rather from some random directory.

So, I needed to be able to call LB and the conf file with an absolute path, rather than a relative.
Unfortunatly, the --defaultsFile=[...]/liquibase.properties option wasn't taken in account.

I just find the solution : python's Popen method has a parameter (cwd) that allow to specify the working directory of the run subprocess.

Now it works perfectly.

Thanks again !

Viewing all articles
Browse latest Browse all 2993

Trending Articles



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