Problem calculating Source-Code Metrics/SVN Checkout failure

Description
drzoidbergh
Posts: 4
Joined: Mon Oct 23, 2006 3:49 pm

Problem calculating Source-Code Metrics/SVN Checkout failure

Postby drzoidbergh » Wed Feb 28, 2007 9:42 am

Hi,

we are trying out Polarion 2.6.
We where not able to calculate the metrics (nor build automatically) for our Test-Project. Problem was, that polarion was not able to checkout the project. The svn checkout line works well from the command line.
We are using our existing SVN Repository.

Any Ideas?
Thanx in advance.
Zoidbergh

Following the log (<removed> means I removed the user information)
10:26:06,541 INFO Checking out
url http://sigsub01/webzeb/trunk/SessionTrace/trunk
as C:\jdev\Polarion\data\temp\src_20070228-1026
recursively
10:26:06,541 INFO Calling svn client:
command = svn
args =
checkout
--non-interactive
--username
<removed>
http://sigsub01/webzeb/trunk/SessionTrace/trunk
.
envp =
dir = C:\jdev\Polarion\data\temp\src_20070228-1026
10:26:06,556 ERROR Checkout failed
java.io.IOException: CreateProcess: svn checkout --non-interactive --username <removed> --password <removed> http://sigsub01/webzeb/trunk/SessionTrace/trunk . error=2
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Unknown Source)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Unknown Source)
at com.polarion.core.util.process.a.a(a.java:57)
at com.polarion.xray.builds.components.impl.SimpleLoader.checkout(SimpleLoader.java:154)
at com.polarion.xray.builds.components.impl.SimpleLoader.processInternal(SimpleLoader.java:104)
at com.polarion.xray.builds.components.impl.SimpleLoader.process(SimpleLoader.java:293)
at com.polarion.xray.core.projects.processing.g.a(g.java:101)
at com.polarion.xray.qa.metrics.code.jobs.SourceCodeMetricsJob.runProject(SourceCodeMetricsJob.java:152)
at com.polarion.xray.qa.metrics.code.jobs.SourceCodeMetricsJob.runInternal(SourceCodeMetricsJob.java:119)
at com.polarion.xray.jobs.XrayJob.run(XrayJob.java:150)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

drzoidbergh
Posts: 4
Joined: Mon Oct 23, 2006 3:49 pm

Postby drzoidbergh » Wed Feb 28, 2007 10:38 am

OK, solved it myself:
Had to change the path in polarion.ini (under <Polarion Root>/polarion)
replacing the bundled SVN Path we did not install by the path to the existing installation.

Z.


Return to “Polarion Application Lifecycle Management (ALM)”

Who is online

Users browsing this forum: No registered users and 10 guests