You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sergey Vladimirov (JIRA)" <ji...@apache.org> on 2009/04/11 08:40:14 UTC

[jira] Commented: (VFS-251) Cannot read relative file URL

    [ https://issues.apache.org/jira/browse/VFS-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698055#action_12698055 ] 

Sergey Vladimirov commented on VFS-251:
---------------------------------------

According to FileSystemManager JavaDocs it should be used like this:

    private static final String TEST_URL = "vfs-test/hello.txt";



> Cannot read relative file URL
> -----------------------------
>
>                 Key: VFS-251
>                 URL: https://issues.apache.org/jira/browse/VFS-251
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 1.0, Nightly Builds
>         Environment: java version "1.6.0_12"
> Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
> Java HotSpot(TM) Client VM (build 11.2-b01, mixed mode, sharing)
> Windows XP SP3
>            Reporter: Gary Gregory
>         Attachments: VfsRelativePathTestCase.java
>
>
> While the documentation talks about absolute path URLs for the file:// scheme, using relative URLs is a requirement for us. For now I've hacked around it in our server. Please see the attached unit test for an illustration.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.