Problems in configuring inspection runner

Trying to get inspections running for the first time and having trouble with getting the inspection configuration setup. I checked the .ipr and .iml files into Perforce, but when I try to configure the path to the IPR file, I see:

Cannot find IPR file in VCS: Unable to find /hoth/yukonhoth.ipr in project Hoth

In the same project, I have several build configurations using Ant which work just fine using a similar relative path to the build file. I enabled debug and found errors in the log for that path (and every variant I could think of) all along the lines of:

jetbrains.buildServer.vcs.VcsException: Unable to find /hoth/yukonhoth.ipr, revision 70945
at jetbrains.buildServer.buildTriggers.vcs.perforce.PerforceConnection.getContent(PerforceConnection.java:66)
at jetbrains.buildServer.buildTriggers.vcs.perforce.PerforceSupport.getContent(PerforceSupport.java:87)
at jetbrains.buildServer.vcs.impl.VcsManagerImpl.getFileContent(VcsManagerImpl.java:17)
at jetbrains.buildServer.vcs.impl.VcsContentProvider.getContent(VcsContentProvider.java:9)
at jetbrains.buildServer.ideaSettings.IdeaSettings.update(IdeaSettings.java:317)
at jetbrains.buildServer.controllers.admin.ipr.IprWebManagerImpl.getErrors(IprWebManagerImpl.java:41)
at jetbrains.buildServer.controllers.admin.ipr.IprBasedRunTypeExtension.validate(IprBasedRunTypeExtension.java:4)
at jetbrains.buildServer.controllers.admin.projects.RunTypeExtensionProcessor.validate(RunTypeExtensionProcessor.java:4)
at jetbrains.buildServer.controllers.admin.projects.AdminEditRunTypeController.validate(AdminEditRunTypeController.java:15)
at jetbrains.buildServer.controllers.admin.projects.AbstractEditBuildTypeController.doPost(AbstractEditBuildTypeController.java:32)
at jetbrains.buildServer.controllers.BaseFormXmlController.doHandle(BaseFormXmlController.java:5)
at jetbrains.buildServer.controllers.BaseController.handleRequestInternal(BaseController.java:2)

Thanks for any help!

James

1 comment

James,

Please check the following:
- you use relative path hoth/yukonhoth.ipr in path to IPR file
- ipr file is checked out by agent successfully by your ant builds (See TeamCity/buildAgent/work/Server|Agent/yourproject/hoth/ directory)
- You haven't tried to create inspection/ipr configuration for another project in the same browser session (bug http://www.jetbrains.net/jira/browse/TW-2458)

Hope this helps,

KIR

0

Please sign in to leave a comment.