Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 347587

Summary: [package explorer] Empty parent packages are not filtered correctly if they contain .svn folder
Product: [Eclipse Project] JDT Reporter: arthur3262
Component: UIAssignee: Markus Keller <markus.kell.r>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, markus.kell.r, prakash
Version: 3.7   
Target Milestone: 3.8 M7   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Fix
none
Fix 2
none
Fix 3 none

Description arthur3262 CLA 2011-05-29 15:37:44 EDT
Build Identifier: 20110218-0911

org
 |
 `-.svn (filtered)
org.test
 |
 `-.svn (filtered)

The filter "Empty parent packages" does not hide a parent package if it contains filtered .svn ressource folders. So logically they are empty but the filter does not think that.

Reproducible: Always

Steps to Reproduce:
1. Check out a project from svn in Windows 7 with TortoriseSVN
2. Import the project in eclipse (without using subclipse or subversive etc.)
3. Enable the .ressources and empty parent packages filters
Comment 1 Dani Megert CLA 2011-05-30 03:19:34 EDT

*** This bug has been marked as a duplicate of bug 22202 ***
Comment 2 Markus Keller CLA 2011-05-30 06:41:27 EDT
Unlike bug 22202, this bug is about empty parent packages, not about empty folders or source folders.

We should fix this the same way as bug 242069.
Comment 3 Markus Keller CLA 2011-05-30 06:42:03 EDT
Created attachment 196876 [details]
Fix
Comment 4 Markus Keller CLA 2011-05-30 06:45:31 EDT
Created attachment 196877 [details]
Fix 2

Better fix that avoids code duplication.
Comment 5 Markus Keller CLA 2011-05-30 09:51:57 EDT
Created attachment 196893 [details]
Fix 3

Fix 2 was incomplete due to bug 347652.