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 - Refresh action for folders not supporting native listeners (NFS shares)
Summary: Refresh action for folders not supporting native listeners (NFS shares)
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 8.0.1
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
: 250254 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-03-23 18:31 UTC by lcapra
Modified: 2015-02-10 13:22 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Screenshot - Menu - Source - Scan for External Changes (44.40 KB, image/png)
2014-04-04 13:51 UTC, Jaroslav Havlin
Details
Experimental plugin - Sources (9.58 KB, application/3dr)
2014-04-11 08:33 UTC, Jaroslav Havlin
Details
Experimental plugin - NBM (5.17 KB, application/octet-stream)
2014-04-11 08:40 UTC, Jaroslav Havlin
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***