Community
Participate
Working Groups
Created attachment 263317 [details] example workspace I have attached a workspace which hopefully can be used to demonstrate the problem. In the workspace there is a simple build.xml ant file. The Test eclipse project is configured with an external Ant Builder to be run as part of the build and the clean. The clean will delete the src/generated folder The build will simply generate a very simple java file called GeneratedClass.java in the src/generated/java/p folder. The external ant builder is configured to trigger whenever Trigger.txt is modified. The external ant builder is also configured to refresh the src folder and all its subfolders. To reproduce the problem you have to run "ant clean" outside of eclipse. This will delete the src/generated folder. This will correctly put the Test project in the error state saying missing source folder src/generated/java. However if you then from within eclipse modify Trigger.txt which will in turn trigger the external ant builder to run and re-created the src/generated folder the eclipse error state doesn't go away. The src/generated folder does correctly re-appear in the project view but the error in the problem view doesn't go away. Eclipse still complains that the src/generated/java folder is missing.
My guess is we don't do classpath validation that would have flushed the classpath markers. Looks like we don't take care of such changed that happen outside Eclipse.
Bulk move out of 4.8
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.