Bug 185310 - Removing internal jar referenced from another project doesn't update Package Explorer
Summary: Removing internal jar referenced from another project doesn't update Package ...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 RC1   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-03 06:33 EDT by Jerome Lanneluc CLA
Modified: 2007-05-15 05:33 EDT (History)
0 users

See Also:
frederic_fusier: review+


Attachments
Proposed fix and regression test (2.69 KB, patch)
2007-05-04 07:30 EDT, Jerome Lanneluc CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jerome Lanneluc CLA 2007-05-03 06:33:26 EDT
I20070503-0010

1. Create Java Project P1
2. Create file test.jar in P1
3. Create Java Project P2
4. Add P1/test.jar on the build path of P2
5. Select P1/test.jar in Package Explorer
6. Delete
Observe: test.jar is removed from P2 but not from P1
Comment 1 Jerome Lanneluc CLA 2007-05-03 06:34:23 EDT
This is because the Java delta doesn't indicate that the non-Java resources for P1 have changed.

This used to work in 3.2.2.
Comment 2 Jerome Lanneluc CLA 2007-05-04 05:06:13 EDT
(In reply to comment #1)
> This used to work in 3.2.2.
The delta was wrong in 3.2.2 as well, but the Package Explorer behaved correctly.
Comment 3 Jerome Lanneluc CLA 2007-05-04 07:30:30 EDT
Created attachment 65907 [details]
Proposed fix and regression test
Comment 4 Jerome Lanneluc CLA 2007-05-07 04:49:50 EDT
Fix and test released for 3.3RC1 in HEAD.
Comment 5 Maxime Daniel CLA 2007-05-15 05:33:20 EDT
Verified for 3.3 RC1 using build I20070515-0010.