inspection settings for .idea based project
Hi
The documentation is not very explicit in how to configure the inspection runner for .idea based projects. Can someone help out with what to set for the following values, assuming the .idea folder is right below the parent folder that I have checked out and that I have an inspection configuration called Foo (stored in foo.xml).
- Path to the project: (blank?)
- Inspection profile path: (.idea/inspectionProfiles/Foo.xml?)
- Inspection profile name: (Foo?)
The values in parenthesis do not seem to be applied, but TC runs some configuration (I don't know which one).
Thanks for any help.
Etienne
Please sign in to leave a comment.
Hello Entienne,
configuration seems right to me. Could you please check process command line printed in Build log?
Thank you
Hi Anna
I forgot to attach the full log. Im sorry. Here it is in the attachment.
It contains jetbrains.buildServer.serverSide.db.UnexpectedDBException: SQL error when doing:....
Kind regards, Etienne
Attachment(s):
ULCMigCalendar_Inspections_2.log.zip
"Inspecting with profile 'Canoo'". Is it your default profile for the project? Thanks
No, it is a custom profile. The name of the profile is Canoo, it seems to be stored in a file called Canoo.xml (in my original posting I wrote Foo and Foo.xml but I meant Canoo and Canoo.xml).
I've attached all 3 files that I have under .idea/inspectionProfiles
Actually, I am not sure what is meant by default profile. If I open the IDEA settings and navigate to the Inspections tab, the configuration selected is 'Canoo'.
Etienne
Attachment(s):
Project_Default.xml
profiles_settings.xml
Canoo.xml
By default profile for the project I mean that you have it selected in the configuration. Sorry for misleading.
Seems that your configuration works as expected. You asked to profile with Canoo and it was used. The project was found as well. So the problem is about DB exception. So could you please to workaround disable Assignment to 'for' loop parameter JS inspection in the profile Canoo? Thank you
The problem is that I do not even have this inspection enabled (see previously attached inspections xml file)...
Hence that does not work as a work-around :-(
Etienne
Etienne, file contains only diff with default profile (set up by plugin writer). By default this inspection is on thus it is missed from your file. If you use IDEA without this inspection just lock the profile in order to prevent new inspections to appear. Ok?
Hi Anna
Still the same problem, even though the inspection 'AssignmentToForLoopParameterJS' is explicitly disabled in my locked profile.
Could it be that some sql activity takes place, even if the inspection is disabled?
Regards, Etienne
Attachment(s):
Canoo.xml
Hello Etienne,
sure inspection results are stored in database. Do you have the same exception? I guess that there are some Unicode? characters which caused the problem. Am I right? Thank you