Page 1 of 1

conversion cc->SVN error (newbie)

Posted: Wed Oct 08, 2008 3:54 pm
by bicoun
Hello,

For a migration study, I'm trying to make a test: a conversion of a clearcase VOB to SVN database.
I think I've configured correctly the file config.properties:

Code: Select all

srcprovider=cc
...
cc.class=org.polarion.svnimporter.ccprovider.CCProvider
cc.executable=C:/Program Files/Rational/ClearCase/bin/cleartool.exe
cc.projectpath=//Mycomp/vob_ville/abc.vbs/
cc.log.dateformat=yyyyMMdd.HHmmss
cc.log.encoding=Cp1251
cc.tempdir=c:/temp/ng/
cc.verbose_exec=yes


In history.log, I find:

Code: Select all

mode: create full dump
src provider: class org.polarion.svnimporter.ccprovider.CCProvider
creating full svn model...
EXCEPTION CAUGHT: org.polarion.svnimporter.ccprovider.CCException: error during execution command C:/Program Files/Rational/ClearCase/bin/cleartool.exe lshistory -recurse -fmt %Nd@@@%En@@@%Vn@@@%o@@@!%l@@@!%a@@@%m@@@%u@@@%Nc@@@\n: wrong project path "\\Mycomp\vob_ville\abc.vbs"
   at org.polarion.svnimporter.ccprovider.CCProvider.executeCommand(CCProvider.java:247)
   at org.polarion.svnimporter.ccprovider.CCProvider.buildCCModel(CCProvider.java:171)
   at org.polarion.svnimporter.ccprovider.CCProvider.buildSvnModel(CCProvider.java:127)
   at org.polarion.svnimporter.main.Main.buildFullSvnModel(Main.java:147)
   at org.polarion.svnimporter.main.Main.run(Main.java:82)
   at org.polarion.svnimporter.main.Main.main(Main.java:49)


Maybe I don't understand what is a "project path" for CC?
In the example below, I use UNC Path, but I have tried with a local copy of abc.vbs directory, and the error returned is the same.
JRE used is 1.4.2

Thanks for your answers.

Re: conversion cc->SVN error (newbie)

Posted: Fri Oct 10, 2008 9:55 am
by bicoun
Nobody?

Little precision: I tried to use svn-importer version 1.1-M8

Re: conversion cc->SVN error (newbie)

Posted: Thu Oct 16, 2008 3:35 pm
by bicoun
So, nobody knows what to write in "Projet path" ?
:(

Re: conversion cc->SVN error (newbie)

Posted: Mon Feb 02, 2009 8:27 pm
by alejeune
I used the path to the root of my view, the highest path where I can run the cleartool lshistory command and see all changes since day one on the VOB.

Re: conversion cc->SVN error (newbie)

Posted: Tue Jul 28, 2009 7:01 am
by d4rkwolf
there is something wrong with ur CLEARCASE VOB path. correct it directly.
It is recommended to use something like:
Z:/Retails/KernalProj
direct path is preferred.

:D

Re: conversion cc->SVN error (newbie)

Posted: Mon Jan 05, 2015 7:10 am
by fairyanna
But how can I modify the dump file?Is it possible?