IFolder.resfreshLocal() doesn't show new files [message #467067] |
Mon, 23 January 2006 16:59  |
Eclipse User |
|
|
|
Originally posted by: ngocdannytn.sbcglobal.net
Hi.
After my code generated several new files under an IFolder, I used
myFolder.refreshLocal(IFolder.DEPTH_ONE,monitor);
to refresh the folder. However, the new files didn't show up in the Package
Explorer view. I had to manually refresh (F5) the folder. I'm using Eclipse
3.0.2.
Regards,
Dan
|
|
|
|
|
Re: IFolder.resfreshLocal() doesn't show new files [message #467083 is a reply to message #467071] |
Tue, 24 January 2006 10:45   |
Eclipse User |
|
|
|
Can you check other views (navigator, Java Browsing etc.) to see if they turn up in there? My guess is that Eclipse has found them, and will show them in the Navigator view.
Have you got auto-build disabled? If you have, then Eclipse won't auto-build them, and a bunch of the views may not get refreshed. (Probably not, but it's a long shot.)
Of course, it could be a bug in 3.0.2 that the package explorer doesn't get refreshed when a resource change occurs, but only after a build or manual refresh. However, given that 3.1 has been out for a while and 3.2 is well under way, unless the problem is repeatable on newer builds it's unlikely (but not impossible) that reporting a bug will get it fixed...
Alex.
|
|
|
|
Powered by
FUDForum. Page generated in 0.04692 seconds