Accessing Files on Windows Drives

View: New views
2 Messages — Rating Filter:   Alert me  

Accessing Files on Windows Drives

by Robert Fischer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm getting complaints from Liquibase-DSL users on Windows.  For instance, if they try to access a
file that lives on the H drive, for instance, they're getting errors like this:

 > Caused by: java.net.UnknownHostException: H
 >         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
 >         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
 >         at java.net.Socket.connect(Socket.java:519)
 >         at java.net.Socket.connect(Socket.java:469)
 >         at java.net.URL.openStream(URL.java:1009)

Any idea how to work with Liquibase FileOpeners in this situation?

~~ Robert Fischer.
Grails Training        http://GroovyMag.com/training
Smokejumper Consulting http://SmokejumperIT.com
Enfranchised Mind Blog http://EnfranchisedMind.com/blog

Check out my book, "Grails Persistence with GORM and GSQL"!
http://www.smokejumperit.com/redirect.html

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Liquibase-devel mailing list
Liquibase-devel@...
https://lists.sourceforge.net/lists/listinfo/liquibase-devel

Re: Accessing Files on Windows Drives

by Voxland, Nathan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Do you have more of the stacktrace to know what the fileopener is trying
to do?

The idea of the FileOpener is to abstract how a file is looked up so
that Ant can pull them from the Ant project config, Command line can
pull it from the filesystem, etc.

Do you know what fileopener you are configured to use?  There is a
GrailFileOpener that was enhanced with 1.9.1, is that the one you are
using?

Nathan

-----Original Message-----
From: Robert Fischer [mailto:robert.fischer@...]
Sent: Saturday, March 21, 2009 8:35 PM
To: liquibase-devel@...
Subject: [Liquibase-devel] Accessing Files on Windows Drives

I'm getting complaints from Liquibase-DSL users on Windows.  For
instance, if they try to access a
file that lives on the H drive, for instance, they're getting errors
like this:

 > Caused by: java.net.UnknownHostException: H
 >         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
 >         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
 >         at java.net.Socket.connect(Socket.java:519)
 >         at java.net.Socket.connect(Socket.java:469)
 >         at java.net.URL.openStream(URL.java:1009)

Any idea how to work with Liquibase FileOpeners in this situation?

~~ Robert Fischer.
Grails Training        http://GroovyMag.com/training
Smokejumper Consulting http://SmokejumperIT.com
Enfranchised Mind Blog http://EnfranchisedMind.com/blog

Check out my book, "Grails Persistence with GORM and GSQL"!
http://www.smokejumperit.com/redirect.html

------------------------------------------------------------------------
------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based
development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Liquibase-devel mailing list
Liquibase-devel@...
https://lists.sourceforge.net/lists/listinfo/liquibase-devel

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Liquibase-devel mailing list
Liquibase-devel@...
https://lists.sourceforge.net/lists/listinfo/liquibase-devel