> -----Original Message----- > From: Ralph Goers [mailto:ralph.go...@dslextreme.com] > Sent: Saturday, April 04, 2009 10:08 PM > To: Commons Developers List > Subject: Re: [vfs] next release? > > The next release of VFS will be 2.0. I've been working on cleaning the > code in preparation for a release. Have you tried checking out trunk > and using it? Your feedback would be most welcome. Are you saying > that there are no Jira issues with regard to the problem you are > having? If there are, please let me know what they are. > > Ralph
The problem is in 1.0 and SVN. I created https://issues.apache.org/jira/browse/VFS-251. "Problem" is as much as the docs state the file:// URL should be absolute and I *want* to use a relative URL. The ticket includes unit test to demonstrate the issue. Basically, with this URL: private static final String TEST_URL = "file:vfs-test/hello.txt"; In the JRE, this works: new URL(TEST_URL).openStream().close(); But this does not in VFS: VFS.getManager().resolveFile(TEST_URL); So I cannot just drop in VFS to our code. I added a hack layer to transform all file:// URLs into absolute URLs. Not so nice. Thank you, Gary > > On Apr 4, 2009, at 2:19 PM, Gary Gregory wrote: > > > Hello: > > > > I am using VFS in another corner of our server and had to workaround > > file URLs not working with relative paths from the current directory > > (file:path/to/file.ext.) Looking at JIRA, I do not see this being > > addressed, which is fine for now but got me to wonder when the next > > release might come out? > > > > Thanks, > > Gary > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > > For additional commands, e-mail: dev-h...@commons.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org