Conversion of CC VOB failed

bicoun
Posts: 4
Joined: Wed Oct 08, 2008 3:38 pm

Conversion of CC VOB failed

Postby bicoun » Tue Oct 28, 2008 4:58 pm

Hello.

Here is complete log of importation.
I don't understand the message : 17:34:46,539 [stderr] INFO Exec:84 - cleartool: Error: Not an object in a vob: ".".
JRE is 1.4.2
SVN Server and cleint are installed on the same local computer.

Code: Select all

17:20:22,306 [main]  INFO historyLogger:84 - duration: 0 seconds
17:34:46,446 [main]  INFO MainConfig:84 - ****************************************************************************
17:34:46,446 [main]  INFO MainConfig:84 - *** Global options ***
17:34:46,446 [main]  INFO MainConfig:84 - Mode = create full dump
17:34:46,446 [main]  INFO MainConfig:84 - Import dump into svn = "true"
17:34:46,446 [main]  INFO MainConfig:84 - Import dump only if svn repository exist = "true"
17:34:46,446 [main]  INFO MainConfig:84 - Full dump path = "full_dump_%date%.txt"
17:34:46,446 [main]  INFO MainConfig:84 - Incremental dump path = "incr_dump_%date%.txt"
17:34:46,446 [main]  INFO MainConfig:84 - Incremental history path = "incr_history.txt"
17:34:46,446 [main]  INFO MainConfig:84 - Save files list to = "files_20081028_173446.txt"
17:34:46,446 [main]  INFO MainConfig:84 - Source provider's class = "org.polarion.svnimporter.ccprovider.CCProvider"
17:34:46,446 [main]  INFO MainConfig:84 - Size limit for dump files (in MB): none
17:34:46,446 [main]  INFO CCConfig:84 - *** ClearCase provider configuration ***
17:34:46,446 [main]  INFO CCConfig:84 - executable = ""c:/Program Files/Rational/clearcase/bin/cleartool.exe""
17:34:46,446 [main]  INFO CCConfig:84 - projectPath = "d:\tca.vbs"
17:34:46,446 [main]  INFO CCConfig:84 - temp dir = "d:\temp_opr\cc\cc.tempdir"
17:34:46,446 [main]  INFO CCConfig:84 - log date format = "yyyyMMdd.HHmmss"
17:34:46,446 [main]  INFO CCConfig:84 - verbose exec = "true"
17:34:46,446 [main]  INFO ProviderConfig:84 - svnimporter_user_name = "SvnImporter"
17:34:46,446 [main]  INFO ProviderConfig:84 - only_trunk = "false"
17:34:46,461 [main]  INFO ProviderConfig:84 - trunk_path = "trunk"
17:34:46,461 [main]  INFO ProviderConfig:84 - branches_path = "branches"
17:34:46,461 [main]  INFO ProviderConfig:84 - tags_path = "tags"
17:34:46,461 [main]  INFO ProviderConfig:84 - use_only_last_revision_content = "false"
17:34:46,461 [main]  INFO ProviderConfig:84 - file_description_property_key = "description"
17:34:46,461 [main]  INFO ProviderConfig:84 - use_file_copy = "false"
17:34:46,461 [main]  INFO SvnAdminConfig:84 - *** SvnAdmin configuration ***
17:34:46,461 [main]  INFO SvnAdminConfig:84 - svnadmin executable = "svnadmin.exe"
17:34:46,461 [main]  INFO SvnAdminConfig:84 - svn executable = ""C://Program Files/CollabNet Subversion Server/svn.exe""
17:34:46,461 [main]  INFO SvnAdminConfig:84 - repositoryPath = "d:\svn_repository"
17:34:46,461 [main]  INFO SvnAdminConfig:84 - parent dir = "ImportTCA"
17:34:46,461 [main]  INFO SvnAdminConfig:84 - temp dir = "d:\temp_opr\svn\svnadmin.tempdir"
17:34:46,461 [main]  INFO SvnAdminConfig:84 - verbose exec = "true"
17:34:46,461 [main]  INFO SvnAdminConfig:84 - path_not_exist signature = "non-existent in that revision"
17:34:46,461 [main]  INFO MainConfig:84 - ****************************************************************************
17:34:46,461 [main]  INFO historyLogger:84 - **********************************************************************
17:34:46,461 [main]  INFO historyLogger:84 - date: 28 oct. 2008 17:34:46
17:34:46,461 [main]  INFO historyLogger:84 - mode: create full dump
17:34:46,461 [main]  INFO historyLogger:84 - src provider: class org.polarion.svnimporter.ccprovider.CCProvider
17:34:46,477 [main]  INFO historyLogger:84 - creating full svn model...
17:34:46,477 [main]  INFO Exec:84 - exec "c:/Program Files/Rational/clearcase/bin/cleartool.exe" lshistory -recurse -fmt %Nd@@@%En@@@%Vn@@@%o@@@!%l@@@!%a@@@%m@@@%u@@@%Nc@@@\n
17:34:46,539 [stderr]  INFO Exec:84 - cleartool: Error: Not an object in a vob: ".".
17:34:46,539 [stderr] ERROR CCExec:96 - wrong project path
17:34:46,555 [main] DEBUG Exec:80 - Process exit value: 1
17:34:46,555 [main]  INFO historyLogger:84 - 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 "d:\tca.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)

17:34:46,555 [main]  INFO historyLogger:84 - duration: 0 seconds


If anyone could help; I will be eternally grateful :D
Thanx

anatolb
Posts: 1
Joined: Wed Nov 05, 2008 1:27 pm

Re: Conversion of CC VOB failed

Postby anatolb » Wed Nov 05, 2008 1:38 pm

Hi.

Is "d:\tca.vbs" the path to your VOB storage directory? Then that's the problem.
You have to give the path to a ClearCase view, e.g. "d:\MyViews\tca_view\tca" (if "tca" is the VOB you want to export/convert).

Hope that helps,
Anatol

Gossioii9
Posts: 4
Joined: Mon Mar 09, 2009 1:15 am
Contact:

Thanks

Postby Gossioii9 » Fri Apr 17, 2009 5:35 pm

Looks like your question thing at the end of the post worked. Also not having to sign in is nice too. Good job. Nice list. Thanks.

prabhubhaskar
Posts: 3
Joined: Tue Mar 11, 2008 10:10 am

Re: Conversion of CC VOB failed

Postby prabhubhaskar » Mon May 04, 2009 4:51 am

Hi Anatol

I followed what you recommended as \\views\view_name\name.vbs, but configuration file doesnt seem to recognise the path. Your help in this woule be greatly appreciated.

Rgds,
Prabhu

d4rkwolf
Posts: 22
Joined: Tue Jul 28, 2009 6:05 am

Re: Conversion of CC VOB failed

Postby d4rkwolf » Tue Jul 28, 2009 6:58 am

In the config.properties, u cannot use backslash.. u must use forwardslash..
example:
C:/SVN-Importer/config.properties


[d4rkwolf]

matttaylor
Posts: 1
Joined: Tue Aug 25, 2009 7:46 pm

Re: Conversion of CC VOB failed

Postby matttaylor » Wed Aug 26, 2009 11:42 am

I too am getting this error. Should projectPath point to the view folder on the CC server i.e viewName.vus? Or should it point to folder from which I work out of i.e.U:\viewName?

rusharma
Posts: 4
Joined: Fri May 28, 2010 8:32 am

Re: Conversion of CC VOB failed

Postby rusharma » Fri May 28, 2010 8:54 am

Project path variable should point to the clearcase vob/directory that you want to import. Eg:

cc.projectpath=L:/rusharma_view/cm

Here "rusharma_view" is the viewname present under L: (do cleartool setview rusharma_view under L: on windows) and "cm" is the name of the clearcase vob that I want to import. (.vbs extension for vob or .vws extension for view is not required).

On unix this would be something like:

cc.projectpath=/views/rusharma_view/cm

Thanks,
R.

chadee
Posts: 1
Joined: Wed Sep 12, 2012 5:51 pm

Re: Conversion of CC VOB failed

Postby chadee » Wed Sep 12, 2012 6:19 pm

Hi All- I was about to install/configure polarion for the svnimport from clearcase without any major issue, besides by java version. I do however have a question around what is being exported.

For eaxmple: In my clearcase Project explorer, I happen to have more than one Project VOBS or PVOB, but for the purpose of this example I will only be concerned with one. lets call it "Test_PVOB".
In Test_PVOB if viewed from clearcase project explorer you will see multiple projects and sub-projects, each with multiple views. Now that I am using Polarion to migrate this to my new subervsion server i must first configure the config file and run > run.bat full config.properties .

In the config.properties cc.projectpath is set to only one view and one vob. The concern I have, is what view to you select giving that you have 100's and multiple VOBS. Does it matter where this view is located? The readme never really says if it needs to be a specific view from a specific project? By using this one view does it give you EVERYTHING within my Test_PVOB? if yes, ignore my 2nd concern.

Secondly, since I have 10 VOBS, does this mean i have to do this process 10 times using the same view but different VOB names?
Example:
cc.projectpath = DriveLetter/localview/VOB#1
cc.projectpath = DriveLetter/localview/VOB#2
cc.projectpath = DriveLetter/localview/VOB#3 and so on..


Return to “Polarion SVN Importer (Repository Converter)”

Who is online

Users browsing this forum: No registered users and 4 guests