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

Non-existing referenced sql files doesn't report error

$
0
0
Hi all
I have a project where I want to load some test data using the sqlFile tag.
I use the relativeToChangelogFile="true" property on the tag.
On some occassions I mistyped the path to the file. But this didn't report as an error.
Example:
  <changeSet id="s-notfound-0001" author="karchr"
    runOnChange="true">
     <sqlFile relativeToChangelogFile="true" encoding="UTF-8"
       path="notexisting.sql" />
    <rollback>
    </rollback>
  </changeSet>

Am I doing it wrong?
Is this a feature?
Is it a bug?

Attaching a small project reproducing the behaviour.

Liquibase version 3.1.1, running on Win8.

Regards,
Christian

Viewing all articles
Browse latest Browse all 2993

Trending Articles



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