I have a project which generates sources during build into the build directory.
However this directory periodically disappears from Eclipse Package Explorer view which leads to compilation errors in Eclipse due to missing classes.
Each time this happens I have to tell Eclipse to refresh the project (F5) which brings the build folder back and in addition refresh the build folder itself since otherwise Eclipse does not detect its content.
This is very annoying since each time my project stops compiling with tons of compilation errors.
Is there a way to solve this problem?