Getting intermittent changes in how filename + path is being processed by liquibase. Can't get relative path using CLI "sometimes".

Description

Running the following command results in SOMETIMES getting a relative path and SOMETIMES getting an absolute path in the database:

1 liquibase --changeLogFile=db/changelog/db.changelog-master.xml --username=MY_USER --password=****** --url=jdbc:oracle:thin:@mydatabase --driver=oracle.jdbc.OracleDriver --contexts=MY_CONTEXT --labels= --classpath=/opt/liquibase/jdbc_drivers/ojdbc7.jar:/path/to/src/main/resources update

The changeLogFile, in turn, has includes done in the following manner:

1 <includeAll path="db/changelog/change-folder"/>

I have verified it'll keep the absolute path even though the changeLogFile is set to a relative path.
It seems like something about the include might cause it to switch to absolute path (but only some of the time?).

I have literally just purged and rebuilt a schema and the next time i run it, it will do it relatively, so this is very weird.

  •  

    • UPDATE **

This seems to correlate to issues for paths with spaces in them.

Environment

Oracle Database, CentOS 7.

Status

Assignee

Unassigned

Reporter

Nick Wertzberger

Labels

None

Components

Affects versions

3.6.2

Priority

Major