commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34858] New: - [VFS] Files with "file:////" instead of "file:///"
Date Wed, 11 May 2005 10:38:31 GMT
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: commons-dev@jakarta.apache.org
        ReportedBy: philippe.poulard@inria.fr


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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message