Bug 153706 - [Sync View] Empty folder not shown unless it is a source folder
Summary: [Sync View] Empty folder not shown unless it is a source folder
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: CVS (show other bugs)
Version: 3.2   Edit
Hardware: All All
: P5 normal (vote)
Target Milestone: ---   Edit
Assignee: platform-cvs-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2006-08-13 17:59 EDT by Jean-Pierre Matsumoto CLA
Modified: 2019-09-06 15:37 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Pierre Matsumoto CLA 2006-08-13 17:59:13 EDT
When the source directory defined in build path is the root directory of project, modified directories are not detected.

To reproduce:

1) File > New > Project...
2) "Java Project" > Project Name: test

A new project "test" appears in package explorer. By default, the source dir is the project root.

3) Right click on "test" project > Team > Share...
4) Choose a valid CVS respository > Next > Next > Finish

Now the project is shared by CVS.

5) Right click on "(default package)" > New > Folder
6) Enter "a_dir" as folder name > Finish
7) Right click on "test" project > Compare With > Latest from HEAD

Result:
The new dir "a_dir" is not in list of change

Expected:
The dir "a_dir" should appears in list of change with [+] icon

If you change the source path to "a_dir", the new dir is detected. Thus this bug appears only when project root is source root.
Comment 1 Michael Valenta CLA 2006-08-17 14:20:06 EDT
The Java model content provider is not showing empty folders that are not source folders. If you switched the sychronize to show the Workspace model you would se the empty folder (using third toolbar drodown from left). If you add a file to the empty folder, does it appear?
Comment 2 Jean-Pierre Matsumoto CLA 2006-08-17 14:49:24 EDT
Yes, you're right, I see the empty folder if I select Worspace model.

And if I add a file, the file and folder appears in Java model.
Comment 3 Eclipse Webmaster CLA 2019-09-06 15:31:09 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 4 Eclipse Webmaster CLA 2019-09-06 15:37:50 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.