Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #207146 +++ Build ID: I20070601-1539 Steps To Reproduce: 1. Create Java project A 2. Create a folder named "resources" in project A 3. Create Java Project B 4. Add the "resources" folder from A as Classes folder to Project B 5. Add file "test" to folder "/A/resources". Observe: The Java delta is wrong (it is missing a delta for project A) Java Model[*]: {CHILDREN} B[*]: {CHILDREN} /A/resources[*]: {CONTENT} ResourceDelta(/A/resources/test)[+]
Created attachment 81157 [details] Proposed fix and regression test
Any chance this could make it into 3.3.1.1/a ? :) btw. the best workaround i've found until now is to touch all META-INF and MANIFEST.MF files in the related project when a resource is changed - then the tree is actually updated in 3.3.1 (but of course less inefficient) project.accept(new IResourceProxyVisitor() { public boolean visit(IResourceProxy proxy) throws CoreException if(proxy.getName().equals("MANIFEST-MF") || proxy.getName().equals("META-INF")) { proxy.requestResource().touch(monitor); } return true; } }, IResource.DEPTH_INFINITE); This triggers the isManifestChange method in PackageExplorerContentProvider.
(In reply to comment #2) > Any chance this could make it into 3.3.1.1/a ? :) Sorry but there is no chance that this would make it into 3.3.1.1 as this is not a regression introcuced between 3.3 and 3.3.1.
Fix and test released for 3.4M3.
what about eclipse 3.3.x ? (I know 3.3.1 were optimistic, but this is a bug and should at least be fixed in 3.3.2 IMO)
Fix and test released for 3.3.2
Verified for 3.4M3 using I20071029-0010 build.
This bug caused the Package Explorer to not update in the described scenario and there is no workaround. This fix needs to be included in 3.3.2. Philippe please approve.
+1 for 3.3.2
Verified for 3.3.2 using M20080123-0800 build