I’ve been having problems with the includeAll tag throwing:
Caused by: org.xml.sax.SAXException: Could not find directory database/updater/updates/6_0/ at liquibase.parser.xml.XMLChangeLogHandler.startElement(XMLChangeLogHandler.java:304) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaValidator.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at liquibase.parser.xml.XMLChangeLogParser.parse(XMLChangeLogParser.java:70) ... 128 more
with the tag in a file called changes.xml in the database/updater/updates/6_0/ folder in the classpath which is included in a file master.xml with the tag in the database/updater/updates folder.
When I replace the includeAll tag with an include tag for every changelog, (ie in changes.xml) everything works fine.
Am I doing something wrong with entering the path, or is it something else? All I really need is for the include tag to pull in everything from the directory that changes.xml is in. I’ve tried but that throws a similar exception. I’ve also tried including the includeAll tag in the master.xml file to no avail.