The reason we go through the URI/URL conversions is partly limitations on the built-in java apis and partly to support pulling from non-filesystem based locations (jar files, files over the network).
I'll apply your fix and do some more testing on it. Thanks a lot for the fix. Nathan -----Original Message----- From: itrust [mailto:itr...@tom.com] Sent: Tuesday, May 12, 2009 3:50 AM To: liquibase-user@lists.sourceforge.net Subject: [Liquibase-user] includeAll cause "URI has an authority component" in release 1.9.3 Hi There, Although this bug has been mentioned and tagged as FIXED on bug Tracker, it's still there in release 1.9.3. The problem comes from line 74 of FileSystemFileOpener.java. The source is: results.add(new URL("file://" + f.getCanonicalPath())); On Windows, url like "file://c:/foo" causes error "URI has an authority component". It should be "file:///c:/foo". So I changed it and it worked. The source modified is: results.add(new URL("file:///" + f.getCanonicalPath())); I tested it on both Windows and Linux, it worked perspectively. I still have a question though. Why not use URI directly instead of using URL then converting it to URI in XMLChangeLogHandler? I'm not good at Java but love liquibase so much. If there is better solution, please let me know. Thanks a lot Terry -- View this message in context: http://www.nabble.com/includeAll-cause-%22URI-has-an-authority-component %22-in-release-1.9.3-tp23498649p23498649.html Sent from the LiquiBase - User mailing list archive at Nabble.com. ------------------------------------------------------------------------ ------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Liquibase-user mailing list Liquibase-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/liquibase-user ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Liquibase-user mailing list Liquibase-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/liquibase-user