Summary: | setRawClasspath(...) should fire a F_CLASSPATH_CHANGED delta | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Jerome Lanneluc <jerome_lanneluc> |
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | erich_gamma |
Version: | 3.0 | ||
Target Milestone: | 3.0 M8 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Jerome Lanneluc
2004-01-14 10:14:01 EST
Tentatively assigning for M8. I think the flag should describe a raw classpath change in general, where the root change would represent the resolved classpath change (which there could be none). Flag added. It is set when the raw classpath of a project changes. I was expecting to get a delta with the F_CLASSPATH_CHANGED flag in the following scenario: 1) fresh workspace 2) create a new Java project 3) open the build path property page and add the Required Plug-ins library. In this case the build class path changes and the following delta is reported: org.eclipse.jdt.core.ElementChangedEvent[source=Java Model[*]: {CHILDREN} Foo[*]: {CONTENT} ResourceDelta(/Foo/.classpath)[*]] notice the the flag isn't F_CLASSPATH_CHANGED in the delta. Missed the case of adding an empty classpath container. Sorry. Fixed and added regression test ClasspathTests.testEmptyContainer() Verified for 3.0 using build I200403250800. |