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 243191

Summary: Refresh action for folders not supporting native listeners (NFS shares)
Product: platform Reporter: lcapra
Component: FilesystemsAssignee: Jaroslav Havlin <jhavlin>
Status: NEW ---    
Severity: normal CC: Mr.Pack
Priority: P3    
Version: 8.0.1   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Screenshot - Menu - Source - Scan for External Changes
Experimental plugin - Sources
Experimental plugin - NBM

Description lcapra 2014-03-23 18:31:59 UTC
I often use a remote NFS project (eg PHP project on dev machine).

In netbeans 8.0 seems the Refresh option in Project tab is gone.
To get an updated view in a reasonable time, the only way seems to be renaming the parent folder

Is it possible to get back the Refresh button?

Thank you, regards
Comment 1 Jaroslav Havlin 2014-03-28 11:23:44 UTC
Please try main menu -> Source -> Scan for External Changes.

Maybe the bug is not caused by NetBeans. It can be a Linux filesystem issue.
If you open the directory in a file manager, are the changes updated correctly?

Thank you.
Comment 2 Jaroslav Havlin 2014-04-04 13:51:02 UTC
Created attachment 146554 [details]
Screenshot - Menu - Source - Scan for External Changes

Main menu -> Source -> Scan for External Changes should be the last item in the menu, see attached screenshot.

Is it missing in your installation?
If so, can you please attach your IDE Log?

Do you have NetBeans PHP edition, or the full edition?

Thank you.
Comment 3 Jaroslav Havlin 2014-04-11 08:33:28 UTC
Created attachment 146689 [details]
Experimental plugin - Sources
Comment 4 Jaroslav Havlin 2014-04-11 08:40:58 UTC
Created attachment 146690 [details]
Experimental plugin - NBM
Comment 5 Jaroslav Havlin 2014-04-11 08:49:16 UTC
The reporter explained, via email, that "Scan for External Changes" is not very convenient, because refreshing the whole project can be quite time consuming in some cases.

I was able to reproduce the problem, when having project files on a Samba share.

I've created an experimental plugin that adds "Refresh" and "Refresh Recursively" actions to context menu of folders. This can make the IDE quite unstable, so please use it with caution.
If it works fine for you, we can consider putting this into the plugin portal.

Please note that putting projects to network drives is still discouraged, the recommended way is to use a version control system.
Comment 6 Jaroslav Havlin 2014-06-20 10:56:25 UTC
You can also check "Scan on Demand" plugin.
See http://wiki.netbeans.org/ScanOnDemand.
Comment 7 Jaroslav Havlin 2015-02-10 13:22:08 UTC
*** Bug 250254 has been marked as a duplicate of this bug. ***