No matter what I try i cannot seem to get the TeamCity inspections to ignore/exclude directories. I followed the instructions on http://confluence.jetbrains.net/display/TCD6/Inspections.
Things i've tried:
- Various cominations of include/exclude properties
- The project does have intellij modules and i tried using those in the exclude patterns (eg. -Didea.exclude.patterns=[integration-test-module]/**) but this did not work either.
- I even upgraded from TeamCity 5 to 6 in the hope that it was a bug that has been fixed.
- Because include have precedence over exclude i tried -Didea.exclude.patterns=** -Didea.include.patterns=src/** but this resulted in no inspections running
All i'm trying to achieve is to have the inspections only run on our main production src code and exclude things like generated-src.
Any help on this would be greatly appreciated.
Project directory structure
JVM command line parameters:
-Xmx768m -XX:MaxPermSize=160m -Didea.include.patterns=src/** -Didea.exclude.patterns=data/**;ext/**;generated-src/**;integration-test-module/**;migrate/**;support/**;tools/**
Version 6.0.2 (build 15857)