Tatkal
Tatkal

Reputation: 568

How to create subfolders with a build path in eclipse

I want to create two main folders under src folder. When i try this it creates in normal way as seen in image.

enter image description here

How can i create folders in this way.

enter image description here

src/main/java
src/main/resource

I have tried searching google and other websites. Nothing seems working. Also the option when you press ctlr+F10 doesn't seem to solve my problem.

Upvotes: 0

Views: 2100

Answers (1)

dinesh ch
dinesh ch

Reputation: 46

main>Folder --Right click--Build Path and select

use as a source folder

image

Upvotes: 3

Related Questions