Community
Participate
Working Groups
I20060620 + JDT Core HEAD After fixing bug 142530, I noticed that non-Java directories inside a .jar file are not rendered in the Package Explorer. To reproduce: 1. Ensure you run with latest jdt.core 2. Create a Java project 3. Put the attached .jar file in bug 142530 on its build path 4. Expand the .jar file in the Package Explorer Observe: The META-INF directory and the eclipse_bug/org.eclipse.bugs directory are not shown. (note this .jar file also contains files META-INF and eclipse_bug/org.eclipse.bugs that are correctly rendered).
It is not obvious how to distinguish an IStorage representing a non-Java file and an IStorage representing a non-Java directory. I would suggest to use the fact that an IStorage representing a diretory has a full path with a traling separator (IPath#hasTrailingSeparator() is true).
fixed > 20060627
This is quite a hack. Can this please be revisited.
Currently the label provider renders the full path but the original request is not fixed in JDT Core and captured in bug 148944. Once bug 148944 is fixed the label provider hack needs to be reverted.
.
Reopen to mark as dup.
*** This bug has been marked as a duplicate of bug 176210 ***