Duplication does not show anything (TC build 4037)
I'm trying to run the duplication - it does not produce any reasonable results.
The tab 'duplicates' contains three frames. The top left frame shows a long list of duplicates. It is fine.
The top right frame shows 2 file names (containing the code duplicate), it is also fine.
But the bottom frames does not show anything interesting, which is not fine.
E.g. for the first found duplicate, the top right frame contains this text:
#1 file://C:/TeamCity/buildAgent/work/Server/Apollo2/registry/components/tornado_ui/src/com/systinet/platform/ui/document/EditDocument.java
#2 file://C:/TeamCity/buildAgent/work/Server/Apollo2/registry/components/tornado_ui/src/com/systinet/platform/ui/integration/uddiimport/EditRegistry.java
And the bottom frames contain these texts:
#1 file://C:/TeamCity/buildAgent/work/Server/Apollo2/registry/components/tornado_ui/src/com/systinet/platform/ui/document/EditDocument.java
1. Unable to find build-project/apollo2sc/file://C:/TeamCity/buildAgent/work/Server/Apollo2/registry/components/tornado_ui/src/com/systinet/platform/ui/document/EditDocument.java in VCS for build
#2 file://C:/TeamCity/buildAgent/work/Server/Apollo2/registry/components/tornado_ui/src/com/systinet/platform/ui/integration/uddiimport/EditRegistry.java
1. Unable to find build-project/apollo2sc/file://C:/TeamCity/buildAgent/work/Server/Apollo2/registry/components/tornado_ui/src/com/systinet/platform/ui/integration/uddiimport/EditRegistry.java in VCS for build
It is clear that TC tries to combine relative and absolute paths which does not work correctly. Please note that the directory build-project/apollo2sc/ is where the IPR project file is stored (in VCS and also where it is checked out in the build agent directory).
What should I change to run duplications correctly? Can the report at least show the line numbers where the duplication was found?
Please sign in to leave a comment.
Please watch for http://www.jetbrains.net/jira/browse/TW-2191
--
Pavel
"PePan" <no_reply@jetbrains.com> wrote in message
news:13246955.1175001561748.JavaMail.itn@is.intellij.net...
>
>
>
>
>
>
>
>
>