DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34858>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34858

           Summary: [VFS] Files with "file:////" instead of "file:///"
           Product: Commons
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Sandbox
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


hi,

try {
    StandardFileSystemManager fsm = (StandardFileSystemManager) 
VFS.getManager();
    fsm.setBaseFile( new File( System.getProperty( "user.dir" ) ) );
    FileObject fo = fsm.resolveFile( "foo" );
    System.out.println( fo );
} catch ( FileSystemException fse ) {
    fse.printStackTrace();
}

result :
file:////path/to/current/dir/foo
instead of :
file:///path/to/current/dir/foo

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to