Community
Participate
Working Groups
When deleting a library classpath entry from the classpath, the element delta resulted from this change is PackageFragmentRoot kind: changed, flags: removed from classpath The root has no affected childeren. I would have thought that kind is 'removed', or that all types in the JAR will be reproted as removed. Is there a document that defines how deltas look like?
I believe we are consistent with the platform, when adding or removing a parent element, its children are not reported (there are all implicitly added/removed as well). Only when it is changed, will you get finer grain information with children deltas. I guess this was changed in build 20011204. Jerome, do we have a spec for expected deltas ? Couldn't find any handy.
ok, then PackageFragmentRoot should be kind: removed
Unfortunately, there is no spec yet. Bug 3329 captures the need for a java delta spec.
We could say that 'removed' would indicate that the resource has been removed. In this case, it still exists. So it is just 'removed from classpath'. I agree that this explanation is not great (i.e. it is not true for sub-cu java elements as they may be removed and the resource still exists), but this was a old design choice in the java model and clients are relying on this choice. Thus we cannot change this behavior. Sorry.