Bug 102559

Summary: File added manually to source does NOT show in project
Product: [Eclipse Project] JDT Reporter: Ken Silveman <kensilverman>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.2 M6   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Ken Silveman CLA 2005-07-02 17:43:03 EDT
Reproduction Example:  A project has an external source folder of A/B  with an 
inlcusion rule to include /B.  The project works fine.  Then, you delete a file 
from the project.   All is fine.   Then,  you  MANUALLY add the file back to 
the directory via a non-eclipse manner.    Then,  you go back to eclipse and 
the project refuses to show or acknowledge that the file is back in the 
source.  If you close the project and reopen it - same thing.

This makes me believe that Eclipse uses separate memory for the project list, 
when what Eclipse should do is point to the source directories using the 
inlcusion rules - and this mistake could not then possibly happen.  Still, 
whatever algorithm you guys choose to stay with, this is clearly a bug.  No 
matter how the source file is added back to the source, it should show up 
immediately in the package explorer.

Thank You.

Ken
Comment 1 Olivier Thomann CLA 2005-07-02 17:49:35 EDT
You need to refresh the project.
Select the project and press F5, it should show up.
Comment 2 Philipe Mulet CLA 2005-07-04 08:43:01 EDT
Jerome - pls verify once back.
Comment 3 Jerome Lanneluc CLA 2005-08-10 09:05:07 EDT
I'm not sure I understand the scenario. 

1. What do you call an external source folder ? Is it a linked folder ? 
2. Is the inclusion rule on the source folder "/B" ?
Comment 4 Jerome Lanneluc CLA 2005-08-25 11:01:42 EDT
Please reopen when you have more details
Comment 5 Philipe Mulet CLA 2006-03-27 07:51:17 EST
reopening to close properly
Comment 6 Philipe Mulet CLA 2006-03-27 07:51:30 EST
closing since didn't hear back in a long time.