Problem converting VSS -> SVN

hstk
Posts: 1
Joined: Tue May 30, 2006 10:28 am

Problem converting VSS -> SVN

Postby hstk » Tue May 30, 2006 11:00 am

Hi,

I just have tried to convert a VVS-Repo to SVN. Unfortunately the conversion fails, i.e. no SVN dump ist written.

Partial log-file follows:

Code: Select all

12:54:51,747 [main]  INFO MainConfig:84 - ****************************************************************************
12:54:51,762 [main]  INFO MainConfig:84 - *** Global options ***
12:54:51,762 [main]  INFO MainConfig:84 - Mode = create full dump
12:54:51,762 [main]  INFO MainConfig:84 - Import dump into svn = "false"
12:54:51,762 [main]  INFO MainConfig:84 - Import dump only if svn repository exist = "false"
12:54:51,762 [main]  INFO MainConfig:84 - Full dump path = "C:/TEMP/local/full_dump.txt"
12:54:51,762 [main]  INFO MainConfig:84 - Incremental dump path = "C:/TEMP/local/incr_dump.txt"
12:54:51,762 [main]  INFO MainConfig:84 - Incremental history path = "C:/TEMP/local/incr_hist.txt"
12:54:51,762 [main]  INFO MainConfig:84 - Save files list to = "C:/TEMP/local/files.txt"
12:54:51,762 [main]  INFO MainConfig:84 - Source provider's class = "org.polarion.svnimporter.vssprovider.VssProvider"
12:54:51,762 [main]  INFO MainConfig:84 - Size limit for dump files (in MB): 400
12:54:51,762 [main]  INFO VssConfig:84 - *** Vss provider configuration ***
12:54:51,762 [main]  INFO VssConfig:84 - executable = "C:\Programme\Microsoft Visual Studio\VSS\win32\ss.exe"
12:54:51,762 [main]  INFO VssConfig:84 - path = "\\FILE-SERVER\Dokumente\4. IT-Services\4.4 Softwareentwicklung\Repository\vss\BV-Core"
12:54:51,762 [main]  INFO VssConfig:84 - project = "$/"
12:54:51,762 [main]  INFO VssConfig:84 - temp dir = "c:\temp\local\vss.tempdir"
12:54:51,762 [main]  INFO VssConfig:84 - log date format = "dd.MM.yyyy HH:mm"
12:54:51,762 [main]  INFO VssConfig:84 - log date locale = "de"
12:54:51,778 [main]  INFO VssConfig:84 - log encoding = "Cp1251"
12:54:51,778 [main]  INFO VssConfig:84 - username = "Stuesser.Heinz"
12:54:51,778 [main]  INFO VssConfig:84 - password = "*******"
12:54:51,778 [main]  INFO VssConfig:84 - verbose exec = "true"
12:54:51,778 [main]  INFO ProviderConfig:84 - svnimporter_user_name = "Stuesser.Heinz"
12:54:51,778 [main]  INFO ProviderConfig:84 - only_trunk = "false"
12:54:51,778 [main]  INFO ProviderConfig:84 - trunk_path = "trunk"
12:54:51,778 [main]  INFO ProviderConfig:84 - branches_path = "branches"
12:54:51,778 [main]  INFO ProviderConfig:84 - tags_path = "tags"
12:54:51,778 [main]  INFO ProviderConfig:84 - use_only_last_revision_content = "false"
12:54:51,778 [main]  INFO ProviderConfig:84 - file_description_property_key = "description"
12:54:51,778 [main]  INFO ProviderConfig:84 - use_file_copy = "false"
12:54:51,778 [main]  INFO MainConfig:84 - ****************************************************************************
12:54:51,778 [main]  INFO historyLogger:84 - **********************************************************************
12:54:51,778 [main]  INFO historyLogger:84 - date: 30.05.2006 12:54:51
12:54:51,778 [main]  INFO historyLogger:84 - mode: create full dump
12:54:51,778 [main]  INFO historyLogger:84 - src provider: class org.polarion.svnimporter.vssprovider.VssProvider
12:54:51,778 [main]  INFO historyLogger:84 - creating full svn model...
12:54:51,793 [main]  INFO Exec:84 - exec C:\Programme\Microsoft Visual Studio\VSS\win32\ss.exe dir $/ -N -Oc:\temp\local\vss.tempdir\_____FILES
12:54:51,872 [main] DEBUG Exec:80 - Process exit value: 0
12:54:51,887 [main]  INFO Exec:84 - exec C:\Programme\Microsoft Visual Studio\VSS\win32\ss.exe dir $//scripts -N -Oc:\temp\local\vss.tempdir\_______scripts_FILES
12:54:51,950 [main] DEBUG Exec:80 - Process exit value: 0
12:54:51,950 [main]  INFO Exec:84 - exec C:\Programme\Microsoft Visual Studio\VSS\win32\ss.exe dir $//misc -N -Oc:\temp\local\vss.tempdir\_______misc_FILES
12:54:51,997 [main] DEBUG Exec:80 - Process exit value: 0
12:54:51,997 [main]  INFO Exec:84 - exec C:\Programme\Microsoft Visual Studio\VSS\win32\ss.exe dir $//misc/templates -N -Oc:\temp\local\vss.tempdir\_______misc___templates_FILES


--- snip ---


12:55:05,091 [main]  INFO Exec:84 - exec C:\Programme\Microsoft Visual Studio\VSS\win32\ss.exe history $//lib/activation.jar -N -Oc:\temp\local\vss.tempdir\_______lib___activation.jar_FILE_HISTORY
12:55:05,138 [main] DEBUG Exec:80 - Process exit value: 0
12:55:05,138 [main]  WARN VssHistoryParser:88 - Skip entry: user is not set
*****************  Version 1   *****************
Benutzer: Terjung.klaus     Datum: 12.12.05   Uhrzeit: 16:28
Erstellt
Kommentar:

12:55:05,154 [main]  INFO VssProvider:84 - VSS model has been created.
12:55:05,154 [main]  INFO Model:84 - Summary:
12:55:05,154 [main]  INFO Model:84 -  Files: 158
12:55:05,154 [main]  INFO Model:84 -  Revisions: 0
12:55:05,154 [main]  INFO Model:84 -  Commits: 0
12:55:05,169 [main]  INFO VssProvider:84 - Svn model has been created
12:55:05,169 [main]  INFO VssProvider:84 - total number of revisions in svn model: 0
12:55:05,169 [main]  INFO historyLogger:84 - empty svn model - nothing to import
12:55:05,169 [main]  INFO historyLogger:84 - successfully finished
12:55:05,169 [main] DEBUG VssProvider:80 - cleanup
12:55:05,325 [main] ERROR VssProvider:96 - can't delete temp dir: c:\temp\local\vss.tempdir
12:55:05,325 [main]  INFO historyLogger:84 - duration: 13 seconds



Any ideas what's going wrong?

Thanks

Heinz

dobisekm
Posts: 118
Joined: Wed Mar 23, 2005 3:29 pm
Location: Prague, Czech Republic

Postby dobisekm » Mon Jun 05, 2006 4:22 pm

Hi Heinz,

it seems like your problem is caused by VSS outputting it's messages in German, while the importer is made to parse English version. Try changing your system locale to force the VSS to print texts in English (I am not sure, whther this is possible), or you can modify the string constants in the VssHistoryParser class and compile th importer yourself. The filee modified for German should be

Code: Select all

public class VssHistoryParser {
    private static final Log LOG = Log.getLog(VssHistoryParser.class);

    private static final String VERSION = "Version ";
    private static final String LABEL = "Bezeichnung: ";
    private static final String CHECKED_IN = "eingecheckt";
    private static final String CREATED = "Erstellt";
    private static final String LABELED = "Bezeichnet";
    private static final String COMMENT = "Kommentar: ";
    private static final String USER = "Benutzer: ";
    private static final String DATE = "Datum: ";
    private static final String TIME = "Uhrzeit: ";
    private static final String LABEL_COMMENT = "Kommentar für Bezeichnung: ";


I hope this helps,

Michal Dobisek
Polarion Team


Return to “Polarion SVN Importer (Repository Converter)”

Who is online

Users browsing this forum: No registered users and 17 guests