NotAble to include all source folder on build path- excluding file/folder by default
Answered
Hi,
I have a repo where there are files excluded by default in the java build path but i want to include everything and not exclude any file / folder. I tried this under modules but it seems to not apply my settings and reverts it back. I haven't reimported the project from Maven so not sure why it reverts back.
In eclipse, i can just go into the properties of project and select none under excluded section of source folder on build path. Please let me know how i can do the same in intellij.
I tried doing the same both by going into project structure and individual project build settings as well. Thanks!!
Please sign in to leave a comment.
What do you mean by "excluded by default"? Where do you see that files/folders are excluded from build/compilation process? Can you send a screenshot?
Hi,
Here is a screenshot for the same. I am trying to remove any excluded folders below in the module section. Every time i include this it reverts back.
IntelliJ IDEA reads configuration from your pom.xml. The changes you make manually in the project structure | modules | paths will have no effect. You need to change it in pom.xml instead.
Please share the sample pom.xml files so that we can check why the root directory is excluded. You can upload the files here: https://uploads.services.jetbrains.com/.