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 125203

Summary: Files and folders not refreshed in IDE
Product: platform Reporter: Jiri Skrivanek <jskrivanek>
Component: FilesystemsAssignee: rmatous <rmatous>
Status: VERIFIED FIXED    
Severity: blocker CC: abadea, mmirilovic
Priority: P1    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: messages.log

Description Jiri Skrivanek 2008-01-14 10:57:22 UTC
Files and folders are not refreshed in IDE when they are modified externally on disk. To reproduce:

- create java project
- build the project
- switch to Files view. There should be build and dist folders under project root but they aren't.
- expand e.g. nbproject and several exceptions are printed to the console (see attached messages.log). There is no way
how to refresh files than restart IDE.

Product Version: NetBeans IDE Dev (Build 20080114044012)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)
Userdir: D:\Development\builds\nbUserdir-20080114112221
Comment 1 Jiri Skrivanek 2008-01-14 10:57:46 UTC
Created attachment 55025 [details]
messages.log
Comment 2 rmatous 2008-01-14 12:48:21 UTC
Andrei, please can you confirm, that you are able/or not to reproduce this bug in Linux?
Comment 3 rmatous 2008-01-14 14:49:48 UTC
/cvs/core/ui/src/org/netbeans/core/ui/warmup/MenuWarmUpTask.java,v  <--  MenuWarmUpTask.java
new revision: 1.9; previous revision: 1.8

/cvs/ant/src-bridge/org/apache/tools/ant/module/bridge/impl/BridgeImpl.java,v  <--  BridgeImpl.java
new revision: 1.49; previous revision: 1.48
Comment 4 rmatous 2008-01-14 14:51:05 UTC
I'm going to add explicit method for refreshing FS into FileUtil
Comment 5 Jiri Skrivanek 2008-01-15 08:20:14 UTC
Files are now refreshed correctly but use cases "clean, run" or "clean, debug" still don't work. I believe it is already
covered by issue 125090.