PVCS->SVN Exception: shared/ moved files causing problems

prafulgupta
Posts: 4
Joined: Wed Mar 22, 2006 5:22 pm

PVCS->SVN Exception: shared/ moved files causing problems

Postby prafulgupta » Thu Jun 01, 2006 8:11 pm

Hi
I am trying to get a PVCS project into SVN but it gave me an exception. I am using PVCS v6.8 and SVNImporter v1.1M6
Below is the excerpt from the SVNImporter log file:

Code: Select all

15:29:09,049 [main]  INFO historyLogger:84 - date: Jun 1, 2006 3:29:09 PM
15:29:09,049 [main]  INFO historyLogger:84 - mode: list files
15:29:09,049 [main]  INFO historyLogger:84 - src provider: class org.polarion.svnimporter.pvcsprovider.PvcsProvider
15:29:09,049 [main]  INFO Main:84 - List files to C:/temp/Messenger_dump/list.dump
15:29:09,065 [main]  INFO Exec:84 - exec C:/Program Files/PVCS/VM/Win32/Bin/pcli.exe run -sc:\temp\Messenger_dump\pvcs.tempdir\instr.tmp
15:29:09,300 [stderr pumper] ERROR Exec:96 - PVCS Version Manager (VMGUI) v6.8.00 (Build 128) for Windows NT/80x86
15:29:09,300 [stderr pumper] ERROR Exec:96 - Copyright 1985-2001 MERANT.  All rights reserved.
15:29:09,300 [stderr pumper] ERROR Exec:96 - The evaluation period for PVCS VM - 6.8.00 WIN32 will expire in 30 days.
15:29:09,362 [stdout pumper]  INFO Exec:84 - 15:29:09 Jun.01.06 [Warning] The evaluation period for PVCS VM - 6.8.00 WIN32 will expire in 30 days.
15:29:47,802 [stderr pumper] ERROR Exec:96 - PVCS Version Manager (vlog) v6.8.00 (Build 128) for Windows NT/80x86
15:29:47,802 [stderr pumper] ERROR Exec:96 - Copyright 1985-2001 MERANT.  All rights reserved.
15:29:47,802 [stderr pumper] ERROR Exec:96 - The evaluation period for PVCS VM - 6.8.00 WIN32 will expire in 30 days.
15:30:24,331 [main]  INFO historyLogger:84 - EXCEPTION CAUGHT: org.polarion.svnimporter.pvcsprovider.PvcsException: filename ASCAPI/doc/javadoc/MessengerDoc.jar must start with subproject name: Messenger
   at org.polarion.svnimporter.pvcsprovider.internal.VlogParser.getPath(VlogParser.java:339)
   at org.polarion.svnimporter.pvcsprovider.internal.VlogParser.addLine(VlogParser.java:146)
   at org.polarion.svnimporter.pvcsprovider.internal.VlogParser.parse(VlogParser.java:98)
   at org.polarion.svnimporter.pvcsprovider.PvcsProvider.buildPvcsModel(PvcsProvider.java:113)
   at org.polarion.svnimporter.pvcsprovider.PvcsProvider.listFiles(PvcsProvider.java:131)
   at org.polarion.svnimporter.main.Main.listFiles(Main.java:152)
   at org.polarion.svnimporter.main.Main.run(Main.java:81)
   at org.polarion.svnimporter.main.Main.main(Main.java:50)

15:30:24,331 [main]  INFO historyLogger:84 - duration: 75 seconds


And below is the excerpt from the files.txt in the temp directory created using the tool.

Code: Select all

"U:\eInterCall_APIs\archives\Messenger\doc\javadoc\MakeDoc.bat-arc(C:\work\Messenger\doc\javadoc\MakeDoc.bat)"
"U:\eInterCall_APIs\archives\ASCAPI\doc\javadoc\MessengerDoc.jar-arc(C:\work\Messenger\doc\javadoc\MessengerDoc.jar)"
"U:\eInterCall_APIs\archives\ASCAPI\Messenger.jar-arc(C:\work\Messenger\jar\Messenger.jar)"
"U:\eInterCall_APIs\archives\ASCAPI\jar\Messenger.mf-arc(C:\work\Messenger\jar\Messenger.mf)"
"U:\eInterCall_APIs\archives\Messenger\messenger.jpx-arc(C:\work\Messenger\messenger.jpx)"
"U:\eInterCall_APIs\archives\Messenger\project.library-arc(C:\work\Messenger\project.library)"
"U:\eInterCall_APIs\archives\ASCAPI\src\com\intercall\ascapi\util\Config.java-arc(C:\work\Messenger\src\com\intercall\messenger\Config.java)"
"U:\eInterCall_APIs\archives\ASCAPI\src\com\intercall\ascapi\util\Connection.java-arc(C:\work\Messenger\src\com\intercall\messenger\Connection.java)"
"U:\eInterCall_APIs\archives\ASCAPI\src\com\intercall\messenger\MessageConnectionClosed.java-arc(C:\work\Messenger\src\com\intercall\messenger\MessageConnectionClosed.java)"
"U:\eInterCall_APIs\archives\ASCAPI\src\com\intercall\messenger\MessageConnectionOpened.java-arc(C:\work\Messenger\src\com\intercall\messenger\MessageConnectionOpened.java)"
"U:\eInterCall_APIs\archives\ASCAPI\src\com\intercall\ascapi\util\MessageConnectionTimeOut.java-arc(C:\work\Messenger\src\com\intercall\messenger\MessageConnectionTimeOut.java)"
"U:\eInterCall_APIs\archives\ASCAPI\src\com\intercall\ascapi\util\MessageException.java-arc(C:\work\Messenger\src\com\intercall\messenger\MessageException.java)"
"U:\eInterCall_APIs\archives\ASCAPI\src\com\intercall\messenger\MessageFromMessenger.java-arc(C:\work\Messenger\src\com\intercall\messenger\MessageFromMessenger.java)"
"U:\eInterCall_APIs\archives\ASCAPI\src\com\intercall\messenger\MessageIOException.java-arc(C:\work\Messenger\src\com\intercall\messenger\MessageIOException.java)"
"U:\eInterCall_APIs\archives\ASCAPI\src\com\intercall\messenger\MessageSocketException.java-arc(C:\work\Messenger\src\com\intercall\messenger\MessageSocketException.java)"
"U:\eInterCall_APIs\archives\ASCAPI\src\com\intercall\ascapi\util\Messenger.java-arc(C:\work\Messenger\src\com\intercall\messenger\Messenger.java)"
"U:\eInterCall_APIs\archives\ASCAPI\src\com\intercall\ascapi\util\MessengerDispatch.java-arc(C:\work\Messenger\src\com\intercall\messenger\MessengerDispatch.java)"
"U:\eInterCall_APIs\archives\ASCAPI\src\com\intercall\ascapi\util\MessengerIO.java-arc(C:\work\Messenger\src\com\intercall\messenger\MessengerIO.java)"
"U:\eInterCall_APIs\archives\ASCAPI\src\com\intercall\messenger\package.html-arc(C:\work\Messenger\src\com\intercall\messenger\package.html)"


The file mentioned had been moved from another project into the current project in PVCS, does the tool work with this situation or is there a work around if it does not.

Thanks
Praful

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

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

Hi Praful,

such a situation is not supported by the importer now. You can have a look into the VLogParser class to see, whether it's possibly to to add such a support - I am not sure, whether this condition is really necessary or it's just a safety check.

For sure a possible workaround would be to actually move the archive file into the expected (correctly processed) location.

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 19 guests