I have a fairly deep hierarchy of interdependent externals in a given project.
All of these externals exist in a single folder called modules in the root of the project.
Each of the folders I want to add to the build path are labelled as src.
Is there a way for Eclipse to automatically search a given folder and add all folders labelled src to the build path?
AFAIK, there is no such functionality built in eclipse. You’re requirement is quite special.
All you have to do is to add entries to the projects
.classpathfile likewhere
<srcfolder>is a the src folder name relative to the projects root. And refresh the project if you’ve edited that file with an external editor or application.To see and edit it: simply open the Navigator view. It’s hidden on the Package Explorer