This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 25609 - URLMapper does not work for CVS filesystem
Summary: URLMapper does not work for CVS filesystem
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 3.x
Hardware: PC Windows 95/98
: P2 blocker (vote)
Assignee: rmatous
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-14 20:45 UTC by Jaroslav Tulach
Modified: 2008-12-22 17:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2002-07-14 20:45:36 UTC
I tried to use externalbrowser on Win98 to view my own .html file. 
I have found out that for localfilesystem it uses URL file:/ 
protocol, but for the same file on javacvs filesystem it uses 
connection to internal HTTP server. Of course, it should also use 
the file:/ protocol. 
 
Looks like a bug in URLMapper or wrong implementation of 
fileObject.getAttribute ("java.io.File") on javacvs fs.
Comment 1 Jaroslav Tulach 2002-07-14 20:46:41 UTC
 Marked P2, because it prevents my girlfriend from using Nb for her 
work. Which is pretty serious problem ;-) 
Comment 2 rmatous 2002-07-15 10:39:55 UTC
Changed milestone to 4.0, because this is definitely not critical
problem.  Also I thought that URLMapper should resolve primarily URLs
for filesystems implemented in package org.openide.filesystems. But
there is possible to get URL for all FileObjects, that can be
convertible to java.io.File, so fixed. Fixed in trunk (URLMapper 1.7).
I think that fix is relatively harmless and I don`t want basically
resist  fixing it also into release34: so Jarda - if you think that
should be fixed also in release34 and want to be my reviewer, then
will be fixed.

Diff: 
http://www.netbeans.org/source/browse/openide/src/org/openide/filesystems/URLMapper.java.diff?r1=1.6&r2=1.7
Comment 3 pzajac 2003-05-29 12:35:43 UTC
verified in nevade