inspection build runner and spring configs

Hello,

I've just set up TeamCity 2.0, and I have a question about the inspection build runner. After running the inspections, it has found 250+ errors in my Spring configs. These errors fall into two categories:

1. Unable to find a bean referenced in another spring context. We have a single spring "manifest" file that imports multiple spring config files. The spring config files refer to each other. This might not be ideal, but it's been working for us on this project. Apparently, this completely confuses TeamCity.

2. Unable to find a file path, because the inspections are looking in the wrong directory. For example, I have resources under WEB-INF; the inspection claims that the file doesn't exist, while the fact that my application works says otherwise.

Assuming that there's no way to fix these problems, Is there a way to just turn off the Spring inspection? I don't see it as an option in my inspection list in IntelliJ. I'm running 6.0.5; is this a 7.1M1a feature?

1 comment

Hello Jon,

Hello,

I've just set up TeamCity 2.0, and I have a question about the
inspection build runner. After running the inspections, it has found
250+ errors in my Spring configs. These errors fall into two
categories:

1. Unable to find a bean referenced in another spring context. We
have a single spring "manifest" file that imports multiple spring
config files. The spring config files refer to each other. This
might not be ideal, but it's been working for us on this project.
Apparently, this completely confuses TeamCity.

2. Unable to find a file path, because the inspections are looking in
the wrong directory. For example, I have resources under WEB-INF; the
inspection claims that the file doesn't exist, while the fact that my
application works says otherwise.


Could you please provide some more details on this problem may be steps to
reproduce?

Assuming that there's no way to fix these problems, Is there a way to
just turn off the Spring inspection? I don't see it as an option in
my inspection list in IntelliJ. I'm running 6.0.5; is this a 7.1M1a
feature?


Yes, unfortunately it is M1 feature (

Thank you

-


Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"


0

Please sign in to leave a comment.