Issue with lock file (.jazzlock) after load using Java API
![]()
Davide Dellepiane (16●2●3)
| asked Jul 08 '14, 9:04 a.m.
edited Oct 10 '17, 1:39 p.m. by David Lafreniere (4.8k●7) Hi,
|
Accepted answer
![]()
Ralph Schoon (62.3k●3●36●43)
| answered Jul 08 '14, 9:19 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Have you seen this? http://thescmlounge.blogspot.de/2013/08/getting-your-stuff-using-rtc-sdk-to-zip.html
David Lafreniere selected this answer as the correct answer
Comments Hi Ralph,
![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
It should work for multiple component and you should also be able to make it work for a snapshot. Some more pointers here: https://rsjazz.wordpress.com/2013/09/24/managing-workspaces-streams-and-components-using-the-plain-java-client-libraries/
Thank you Ralph, I was finally able to finish the script.
|
2 other answers
![]()
As I may understand from
I've developed a java program using RTC API that load all files from all components on a given workspace using the ILoadOperation interface. I can download all files but when I try to zip the result I've a problem with the .jazz5\.jazzlock file that is locked. I'm sure to close RTC connection (call logout and shutdown methods ) before running the ZIP process but seems that is not enough.maybe you couldn't close properly because you should add a sharingManager.deregister(sandbox, progressMonitor);after the load operation. Maybe in the meantime you used a "no-workspace" solution like those pointed by Ralph... Comments ![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The .jazz5 folder is metadata used by the RTC SCM system for coordination. I don't think it should go into a zip file. It is not part of the data in the projects. You can likely not zip it, because it is actively used by the SCM managing the workspace I perfectly agree, I just got stuck on a situation where I could not understand why after closing connection there was still a .jazzlock on the CFA so I wrote how I could solve my issue. |