Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 202933 - [CommonNavigator] [navigator] Project explorer doesn't update tree
Summary: [CommonNavigator] [navigator] Project explorer doesn't update tree
Status: RESOLVED DUPLICATE of bug 212389
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Francis Upton IV CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-11 10:55 EDT by Hussachai CLA
Modified: 2008-08-17 17:55 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hussachai CLA 2007-09-11 10:55:50 EDT
Project explorer don't update tree after create/delete file in project.
It's not updated even if I've pressed refresh menu on the project.
Now I use Package explorer instead.
Comment 1 Martin Aeschlimann CLA 2007-09-12 09:30:53 EDT
What kind of project is this where adding and removing a file doesn't refresh?

Are there reproducible steps starting with an empty workspace?
Comment 2 Hussachai CLA 2007-09-12 11:04:39 EDT
It may cause of something wrong in my workspace becuase I use the old workspace
that 's used by my old eclipse (EasyEclipse v1.2.2). But now I test again with a new clean workspace
it's no problem everything work fine.

That bug has no log so I did'nt show you.

Thank you very much.
Comment 3 Hussachai CLA 2007-09-12 11:10:44 EDT
I forgot to tell you that  both of java project and web project that doesn't sync the file in harddrive.
Comment 4 Martin Aeschlimann CLA 2007-09-20 11:15:08 EDT
I don't understand comment 3. Are you saying that all Java projects and all Web projects don't update when you add file?

I tried this and it seems to work for me. I need reproducible steps, best starting from a new workspace. Please reopen if you have more information.
Comment 5 Hussachai CLA 2007-09-21 00:12:47 EDT
I found the event that cause the problem.

I will show you the step by step that I do
1. Create new workspace
2. Create 2 project : the first is Java project and the second is Dynamic web project
3. If you create java source file or rename it. both project is work fine. It seems no problems at all except  java source file is not in package (default package) it's will show duplicated file in project explorer. that's acceptable because every one should create java source file in package.
4. If you create 2 working set 1 for web prokect and select only web project that was created before.
5. Choose new working set that I've just created.
6. Now the problem occur when you change java source file name, it won't update
the view I must close project and reopen it to see the change.
7. I found that only Dynamic web project has this problem the Java project is work fine 
And the problem will occur only you put web project in the working set and work in that working set.

Sorry for my bad English.
Comment 6 Martin Aeschlimann CLA 2007-10-02 12:32:10 EDT
It looks to me that the working set filter of the project navigator has the problem. It filters also the special node of the dynamic project. After that, updating fails.

Moving to platform.ui
Comment 7 Michael D. Elder CLA 2007-11-25 21:51:03 EST
This is an issue with using the Java Working Set type, which adds IJavaProject. The Java extension uses IProjects as their base type in order to cooperate with other extensions from separate Eclipse projects. 

If you use a Resource working set, it should resolve your issue. We'll continue working on a solution to this problem for Java working sets. 
Comment 8 Francis Upton IV CLA 2008-08-17 17:55:54 EDT
I was not able to reproduce this with the fix for 212389 applied.  That fix specifically addressed the issue of problems with showing single working sets.

*** This bug has been marked as a duplicate of bug 212389 ***