A new topic, 'How to use extensions?', has been made on a board you are
watching.
You can see it at
http://liquibase.org/forum/index.php?topic=77.new#new
The text of the topic is shown below:
Hi,
I 'm trying to run Vacuum Database ext but I can't. I know that it is ext for
PostgreSQL (My DB is Oracle), but I only want to know how to create and add ext
to LiquiBase, because I gonnna create my own for Oracle.
I have already done all the steps (LiquidBase 2.0.1b is installed)
1. Add to classpath ext jar file.
2. Create XML file with simple example from web.
3. Create BAT file.
All files are in the same catalogue.
Content of files
#liquibase.properties
Code:
#liquibase.properties
driver: oracle.jdbc.OracleDriver
classpath: ojdbc14.jar;liquibase-vacuum-1.0.jar
url: jdbc:oracle:thin:@<myIP>:1521:XE
username: <myLogin>
password: <myPass>
#vacuum.xml
Code:
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
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-2.0.xsd
http://www.liquibase.org/xml/ns/dbchangelog-ext
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd">
<changeSet id="1" author="nvoxland" runInTransaction="false">
<ext:vacuum/>
</changeSet>
</databaseChangeLog>
#update.bat
Code:
@echo off
call liquibase --changeLogFile=vacuum.xml update
Massage during executing update.bat
Code:
org.xml.sax.SAXException: Unknown LiquiBase extension: vacuum. Are you missing
a jar from your classpath?
at
liquibase.parser.xml.XMLChangeLogSAXHandler.startElement(XMLChangeLogSAXHandler.java:218)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown
Source)
at
com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown
Source)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown
Source)
at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
at
liquibase.parser.xml.XMLChangeLogSAXParser.parse(XMLChangeLogSAXParser.java:80)
at liquibase.Liquibase.update(Liquibase.java:106)
at liquibase.integration.commandline.Main.doMigration(Main.java:656)
at liquibase.integration.commandline.Main.main(Main.java:103)
Migration Failed: Unknown LiquiBase extension: vacuum. Are you missing a jar
from your classpath?
I have no idea why it doesn't work.
Best Regards
dalt
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.------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Liquibase-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/liquibase-user