Community
Participate
Working Groups
Build 20041013 As described in bug 38513, calling IJavaProject.setRawClasspath(...) currently fires no delta when the resolved classpath is the same. It should always fire a F_CLASSPATH_CHANGED delta if the raw classpath has changed. This new flag would be attached to an IJavaProject delta.
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.