A new topic, 'IncludeAll: Could not find directory', has been made on a board
you are watching.
You can see it at
http://liquibase.org/forum/index.php?topic=44.new#new
The text of the topic is shown below:
I've been having problems with the includeAll tag throwing:
Quote
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 <includeAll path="database/updater/updates/6_0/"/> 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 <include
file="database/updater/updates/6_0/changes.xml"/> in the
database/updater/updates folder.
When I replace the includeAll tag with an include tag for every changelog, (ie
<include file="database/updater/updates/6_0/6_0_001.xml"/> 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 <includeAll path="./"/> but that
throws a similar exception. I've also tried including the includeAll tag in the
master.xml file to no avail.
Unsubscribe to new topics from this board by clicking here:
http://liquibase.org/forum/index.php?action=notifyboard;board=1.0
Regards,
The LiquiBase Community Forum Team.
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Liquibase-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/liquibase-user