Community
Participate
Working Groups
Scenario: Edit a valid .classpath file on project /P using Text editor, change on kind flag (say "src") with an invalid one (say "xxx") and save. If "Automatic rebuild" is not checked in my workspace, I correctly see error message in Problems view: "Illegal entry in 'test/.classpath' file: Unknown kind: 'xxx'". But when I rebuild my project, then this error message disappear and is replaced by: "The project cannot be built until build path errors are resolved." More confusing, if option "Automatic rebuild" is set in my workspace, then I have only the second message and don't know what is exactly the error which is blocking the project build. It seems to be a side effect of PR 39877 fix.
Created attachment 5931 [details] Patch file to fix bug 42366 Classpath format markers were always flushed while rebuilding project although markers on problems other than ".classpath cannot be read" were not recomputed. Fix consits to flush only in case of creation ".classpath cannot be read" marker.
Patch approved. Integrating. Fixed
Verified.