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 (63.3k●3●36●46)
| 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,
Ralph Schoon
commented Jul 08 '14, 10:25 a.m.
| edited Oct 10 '17, 1:40 p.m.
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
It's not necessary to zip up the .jazz5 folder if you're only interested in the content. You shouldn't be moving that folder around because it is the metadata for the resources that you have loaded. It will have linked those resources to the workspace and sharing that data in multiple locations will give you synchronization problems.
Comments
Davide Dellepiane
commented Jul 08 '14, 10:22 a.m.
Hi,
|
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
Ralph Schoon
commented May 10 '16, 10:36 a.m.
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
Stefano Antoniazzi
commented May 11 '16, 3:21 a.m.
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. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.