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
9 comments

Hello Entienne,
configuration seems right to me. Could you please check process command line printed in Build log?
Thank you

0

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
0

"Inspecting with profile 'Canoo'". Is it your default profile for the project? Thanks

0

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
0

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

0

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

0

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?

0

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
0

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

0

Please sign in to leave a comment.