Community
Participate
Working Groups
I200405060200 Test case P1 src p1 A.java P2 src p1 B.java - select p1 in P1/src and execute Copy - select src in P2 - execute Paste - confirm the override dialog with yes The delta you get looks as follows: Java Model[*]: {CHILDREN} Test6[*]: {CHILDREN} src2[*]: {CHILDREN} p1[+]: {} Shouldn't the delta be A.java added to p1 ? Philippe, the current delta results in the fact that the package explorer doesn't update correctly since the package p1 already exists. The only change to get the package explorer in sync again is to close and reopen the project
I believe it should indeed consider only A being added.
Changed CopyResourceElementsOperation to not create the delta itself but let the DeltaProcessor create it in this case. Added regression test JavaElementDeltaTests.testCopyAndOverwritePackage().
Verified for 3.0 M9 with build I200405180816.