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 207435

Summary: FileUtil.refreshFor(File... files) should be java.io.File independent.
Product: versioncontrol Reporter: Alexander Simon <alexvsimon>
Component: CodeAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: normal CC: issues
Priority: P3 Keywords: API_REVIEW_FAST
Version: 7.2   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 207491    
Bug Blocks:    
Attachments: Inital proposal
variant #2 (fixed TS01)

Description Alexander Simon 2012-01-18 11:18:27 UTC
VCS clients use FileUtil.refreshFor(File... files)
There are no way to refresh remote file system.
Comment 1 Alexander Simon 2012-01-18 12:10:19 UTC
Created attachment 114993 [details]
Inital proposal
Comment 2 Tomas Stupka 2012-01-18 21:29:33 UTC
[TS01] please be more explicit in VersioningSupport.refreshFiles(...) javadoc. It is not obvious if the refresh is going to happen accordingly to FileUtil.refreshFiles(),  recursively or not, etc.
Comment 3 Alexander Simon 2012-01-19 07:48:10 UTC
Created attachment 115060 [details]
variant #2 (fixed TS01)
Comment 4 Alexander Simon 2012-01-26 07:38:44 UTC
So if there are no objections, I'll commit fix tomorrow.
Comment 5 Alexander Simon 2012-01-27 07:57:07 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/4d5dd99f9b01