Bug 102559 - File added manually to source does NOT show in project
Summary: File added manually to source does NOT show in project
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows 2000
: P3 normal with 1 vote (vote)
Target Milestone: 3.2 M6   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-02 17:43 EDT by Ken Silveman CLA
Modified: 2006-03-27 07:51 EST (History)
0 users

See Also:


Attachments

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