Is your changelog file in a jar or a standard directory ?

Nathan



On Jan 31, 2009, at 1:35 AM, "MichaelM" <t3nq9n...@sneakemail.com>  
wrote:

>
> I am running on Windows. Tried various ways of specifying the  
> includepath,
> with no result.
> I'm not sure what you mean by configuration of the base dir. Isn't  
> that the
> current dir by default?
>
> Anyway, I logged it as a bug.
>
>
> Carsten-18 wrote:
>>
>> Maybe completely the wrong tree but last week I had the same error  
>> in a
>> completely other
>> application and it turns out to be a wrong handling of file uris. The
>> code was written on windows
>> but does not work on linux because of a missing "/" in the file  
>> uri. So
>> you may check the configuration
>> of your base dir (uri?) to which includeAll is resolved.
>>
>> Just my EUR 0.02,
>>    Carsten
>>
>> MichaelM schrieb:
>>> I am using liquibase 1.9 and a migration script with this line in  
>>> the
>>> changelog:
>>>
>>>    <includeAll path="install/tab/" />
>>>
>>> Executing this changelog gives:
>>>
>>> java.lang.IllegalArgumentException: URI has an authority component
>>>        at java.io.File.<init>(Unknown Source)
>>>        at
>>> liquibase. 
>>> parser. 
>>> xml.XMLChangeLogHandler.startElement(XMLChangeLogHandler.java:101)
>>>        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.XMLChangeLogParser.parse(XMLChangeLogParser.java:70)
>>>        at
>>> liquibase.parser.ChangeLogParser.parse(ChangeLogParser.java:28)
>>>        at liquibase.Liquibase.update(Liquibase.java:105)
>>>        at liquibase.commandline.Main.doMigration(Main.java:637)
>>>        at liquibase.commandline.Main.main(Main.java:90)
>>> Migration Failed: URI has an authority component
>>>
>>
>>
>> --- 
>> --- 
>> --- 
>> ---------------------------------------------------------------------
>> This SF.net email is sponsored by:
>> SourcForge Community
>> SourceForge wants to tell your story.
>> http://p.sf.net/sfu/sf-spreadtheword
>> _______________________________________________
>> Liquibase-user mailing list
>> Liquibase-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/liquibase-user
>>
>>
>
> -- 
> View this message in context: 
> http://www.nabble.com/includeAll-tag-gives-error%3A-URI-has-an-authority-component-tp21656117p21760743.html
> Sent from the LiquiBase - User mailing list archive at Nabble.com.
>
>
> --- 
> --- 
> --- 
> ---------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Liquibase-user mailing list
> Liquibase-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/liquibase-user

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Liquibase-user mailing list
Liquibase-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/liquibase-user

Reply via email to