Community
Participate
Working Groups
The compiler generates class files and copies resources to the output folders. The class files are ok but the copied resources are not in synch with the Eclipse workspace. This generates errors when accessing them (e.g. when exporting to a JAR). Test Case: 1. JUnit with bin folder but no source folder 2. Rebuild all (auto-build on or off) 3. Open the Navigator and delete bin/junit/swingui/icons/ ==> resource out of synch message.
Could this be a platform bug ?
Could not reproduce. Daniel: is this related to the daylight savings time change?
I had it in a non-team related workspace. Using J9. I'll attach the workspace.
It seems that I can't attach the ZIP (too large). I'll send it via e-mail to you.
Your workspace does not have an icons directory in the source directory junit/swingui/ BUT it does have .class files in the source directories. Did you add the bin directory after the project was already built? I added the icons directory to the source directory & removed the various .class files, then rebuilt the workspace. Then I deleted the icons from the bin directory with no problems. When/how was the icons directory removed from the source directory junit/swingui/ but NOT the bin directory? Its looks as if the source' icons were removed BUT not deleted from the bin directory causing the bin icons to become out of sync... I have had no luck trying to reproduce such a scenario.
I guess it happened when I played around with the Output folder location. I might also have changed the layout from using project as source folder to using a source folder (and back). The workspace you see has not been modified outside Eclipse. There might be a problem with transition from src_folder to project_as_src_folder layout (and back) and changing the output folder. But the builder also seems to have trouble. When I first do a refresh from local then a rebuild and then try to delete I get an out of synch. If I then refresh I can delete without problems.
But where did the icons directory go in the source folders? You never deleted the icons from the source directory did you?
It is possible that some got deleted since I used delete to test if the resource was out of synch. If it wasn't then it got deleted.
Defer
Reopening
Clearing resolution
Closing as not reproduceable in more than 6 months.