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.
Radek has found out why the copy of XMLFileSystem to LocalFileSystem (in issue 20168) is so slow: Because we also copy all the files that the XMLFileSystem references as url="...". It is wise not to copy them, but just include the urls. To implement something like this we need XMLFS to provide access to the value of the URL.
Could just use getInternalURL of a FileObjectURLMapper. If it comes up as nbfs:, we need to copy it, but if there is a better protocol (typically will be nbres: I think, or maybe it is jar:file:; depends on module system's implementation) then we can use that instead.
Fixed in trunk: URLMapper.java new revision: 1.4; previous revision: 1.3 XMLFileSystem.java new revision: 1.58; previous revision: 1.57
Not needed anymore I guess.