Prepare directory structure for maven by changing the default src
Probably you are using maven and wanted to change the directory structure.
Since maven recommends the standard src/main/java src/main/resource you might want to change it that way
Here is how to do it in eclipse.
First create the folder structure on the project in which ever way you would want to do it. I would use simple command like
mkdir folderName to create it.
1. right click on the project, and hit refresh, make sure the folders you created are listed there.
2. Right click on the project, select properties and select java build path
3. Go to source tab
4. select and remove the current source folder, by default it would be src folder
5. Hit the Add newthen select your folder structure there.
This would change the original structure of the your java project from src to the one maven compatible.