exclude folder and file patterns for java compiler

Answered

Hello

 

I recently migrate from eclipse to intellij. I have many folders and files to be excluded from compilation. Eg. I have about 40-50 folders named 'test' containing class files and folders that needs to be excluded. I also need to exclude any class file whose name ends with *Test.java.

 

In eclipse the pattern is - **/test/** and **/*Test.java that I could set at project level.

 

In Intellij, I cannot find any equivalent thing that works. It is impractical for me to manually add 100s of folders and files individually at - 'Settings -> Build, Execution, Deployment -> Compiler -> Excludes'. 

 

Does Intellij support exclusion pattern for folders and file like eclipse? Can you help me with above example - on what is the pattern and where to set it in intellij?

 

Thanks.

 

0
2 comments
Avatar
Permanently deleted user

Thanks. Logged an enhancement request. Hope this basic feature gets addressed soon.

0

Please sign in to leave a comment.