I am trying to programmatically access the src/ directory in an Eclipse project (type IProject).
Basically, my problem is as follows:
- INPUT: IProject
- OUTPUT: Return the src directory in this IProject
- Notes: The src directory may be called anything else (it need not be "src" every time -- it is decided when creating the java project)
Any pointers on how I can do this?