I am having a problem with includeAll in LB 3.0.2 running LB from maven 2 under Windows 7 with Java 1.7.
The following snippet is from http://www.liquibase.org/tutorial-using-oracle
My install.xml content:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd">
<includeAll path="install/tab" relativeToChangelogFile="true"/>
<includeAll path="install/seq" relativeToChangelogFile="true"/>
<includeAll path="install/cst" relativeToChangelogFile="true"/>
<includeAll path="latest/vw" relativeToChangelogFile="true" />
<includeAll path="latest/pkb" relativeToChangelogFile="true" />
<includeAll path="latest/trg" relativeToChangelogFile="true" />
<changeSet author="MajorVersion" id="1" />
</databaseChangeLog>
LB finds and executes scripts in "install" and its sub-dirs, however, it fails on "latest" dir (last 3 includeAll tags) with the following exception:
SEVERE 7/25/13 3:21 PM:liquibase: Error thrown as a SAXException: Could not find directory or directory was empty for includeAll 'src/main/resources/db/latest/vw/'
org.xml.sax.SAXException: Could not find directory or directory was empty for includeAll 'src/main/resources/db/latest/vw/'
Can LB handle the above scenario or what would be a workaround?
Thank you
The following snippet is from http://www.liquibase.org/tutorial-using-oracle
My install.xml content:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd">
<includeAll path="install/tab" relativeToChangelogFile="true"/>
<includeAll path="install/seq" relativeToChangelogFile="true"/>
<includeAll path="install/cst" relativeToChangelogFile="true"/>
<includeAll path="latest/vw" relativeToChangelogFile="true" />
<includeAll path="latest/pkb" relativeToChangelogFile="true" />
<includeAll path="latest/trg" relativeToChangelogFile="true" />
<changeSet author="MajorVersion" id="1" />
</databaseChangeLog>
LB finds and executes scripts in "install" and its sub-dirs, however, it fails on "latest" dir (last 3 includeAll tags) with the following exception:
SEVERE 7/25/13 3:21 PM:liquibase: Error thrown as a SAXException: Could not find directory or directory was empty for includeAll 'src/main/resources/db/latest/vw/'
org.xml.sax.SAXException: Could not find directory or directory was empty for includeAll 'src/main/resources/db/latest/vw/'
Can LB handle the above scenario or what would be a workaround?
Thank you