TC support of non Idea users

Hello,
I'm trying to run the inspections on sources stored in CVS and I'm getting this exception:

jetbrains.buildServer.RunBuildException: jetbrains.buildServer.RunBuildException: Error reading Ipr file: Cannot find IPR file in VCS: File path is not specified
jetbrains.buildServer.RunBuildException: jetbrains.buildServer.RunBuildException: Error reading Ipr file: Cannot find IPR file in VCS: File path is not specified
at jetbrains.buildServer.agent.runner.GenericProgramRunner.run(GenericProgramRunner.java:98)
at jetbrains.buildServer.agent.impl.BuildAgentImpl.startRunner(BuildAgentImpl.java:686)
at jetbrains.buildServer.agent.impl.BuildAgentImpl.runActualBuild(BuildAgentImpl.java:534)
at jetbrains.buildServer.agent.impl.BuildAgentImpl.access$1500(BuildAgentImpl.java:53)
at jetbrains.buildServer.agent.impl.BuildAgentImpl$6.run(BuildAgentImpl.java:502)
at java.lang.Thread.run(Thread.java:595)
Caused by: jetbrains.buildServer.RunBuildException: Error reading Ipr file: Cannot find IPR file in VCS: File path is not specified
at jetbrains.buildServer.ideaSettings.IdeaSettings.createFrom(IdeaSettings.java:523)
at jetbrains.buildServer.ideaCommandLine.runner.IdeaCommandLineRunner.findIprFile(IdeaCommandLineRunner.java:108)
at jetbrains.buildServer.ideaCommandLine.runner.IdeaCommandLineRunner.getVMProperties(IdeaCommandLineRunner.java:58)
at jetbrains.buildServer.agent.runner.JavaProgramRunner.buildCommandLine(JavaProgramRunner.java:73)
at jetbrains.buildServer.agent.runner.GenericProgramRunner.run(GenericProgramRunner.java:86)
... 5 more
Caused by: java.io.FileNotFoundException: File path is not specified
at jetbrains.buildServer.ideaSettings.FileContentProvider.getContent(FileContentProvider.java:26)
at jetbrains.buildServer.ideaSettings.IdeaSettings.update(IdeaSettings.java:91)
at jetbrains.buildServer.ideaSettings.IdeaSettings.createFrom(IdeaSettings.java:518)
... 9 more

Since most of our developers use Eclipse to develop in Java, we do not store Idea project in CVS. How are the non-Idea users supported by TC?

This happens on 3776 build. In the previous EAP (build 3564), this was not a problem - I just copied the necessary files manually into the agent work root directory.

I found out one more thing - the settings in 'Path to .ipr file:' is empty. If I enter the relative path to the *.ipr file and save it, it seems saved until I go to a different page and come back - then, it is empty again.
Although it is a required parameter, it is allowed to be saved empty.

Any help?

1 comment
Comment actions Permalink

By the moment, IPR/Duplicates/Inspection runners require presence of IDEA project files in VCS.
We have plans to support eclipse projects in Inspection and Duplicates runners, but this feature most likely won't be available in Agra, only in post-Agra version.

The problem with saving empty ipr file - in fact our bug which will be fixed in the next EAP.
You should get a error like "Cannot find IPR file in VCS".

Regards,
KIR

0

Please sign in to leave a comment.