ClearCase Sync Problem
We discovered some of our Jazz changes were not being sync'd to our UCM stream (I compared a Jazz local workspace to a ClearCase dynamic view attached to the UCM sync stream). We work in Jazz but build out of ClearCase - so 99% of our changes come from Jazz.
I foolishly (I think) tried to fix it by re-specifying the "File to Synchronize" and picked the the UCM component directory and added it to the list (leaving the old one in the list as well). The next run of the sync job brought down the content from ClearCase rather than what we intended (pushing Jazz to ClearCase). Is there anyway I can convince Jazz to push everything from Jazz to ClearCase? Or do I need to recreate streams in both systems and start over? |
5 answers
What build are you using?
If you're using a 2.0 build, and specified Import Only on the first page of the wizard, it *should* be the case that changes made in Jazz are synced automatically to CC (that's why we call it synchronize instead of import in the general case). You say "some" of your Jazz changes aren't making it over, is it really some or none of them? And of the ones that aren't making it, are they new components in Jazz that don't exist in CC? If so, you may need to go into the Select Files Wizard and specifying the new stuff to export (Jazz to CC is an export operation). -- Brian Nelson Jazz ClearCase Connector Team "eanderso" <erik_anderson> wrote in message news:gm7p3k$1qe$1@localhost.localdomain... We discovered some of our Jazz changes were not being sync'd to our |
RTC 1.0.1
By "some" I mean -> after running the sync this morning a developer complained that the files in UCM didn't look right (old). I diffed a loaded Jazz workspace and the corresponding UCM view - both were up to date to their respective streams. The diff found some files were different, some files were in the Jazz workspace only, and others were in UCM view only. Clearly something wasn't working right. I tried running it again but it didn't find anything to sync. These streams only have a single component and I specified the component root directory for both repositories in the "Select Files To Synchronize" wizard. I tried to re-specify the root directory for the ClearCase repository in the wizard and reran the sync. It produced an activity named "ccsync 323: WARNING: Overwriting with: socnet.07/sn.mob.web" and brought all changes from ClearCase into Jazz. I don't doubt I screwed up in some way. My quesiton is, once the streams are out of sync, is there anyway to get all changes from Jazz into ClearCase without having to re-create the sync job and streams? |
There's one point I could use clarification on: you said you
"picked the the UCM component directory and added it to the list (leaving the old one in the list as well)." So you later chose the UCM component as the object to sync, but what was already in the list? In other words, what did you select at first? As for your question, you shouldn't need to do anything. The point of the synchronizer is to synchronize both Jazz and ClearCase when things get out of sync on either side. Simply requesting another sync should do it. It sounds like you're specifying the root of the component, so ALL files/folders under that should get synced. Is there anything special about the files/folders that don't seem to get picked up? And have you tried specifying the Jazz component in an Export operation? You shouldn't need to do this, but it's all I can think of to force things along. (You'd do this from the Select Files wizard, and select the 2nd radio button at the top. Then select the Jazz component down below in the table.) -- Brian Nelson Jazz ClearCase Connector Team "eanderso" <erik_anderson> wrote in message news:gm8e6g$b0s$2@localhost.localdomain... RTC 1.0.1 |
Before Brian and I had a chance to dig deeper, I recreated the UCM stream and the Jazz sync job. I'm back in business.
|
Geoffrey Clemm (30.1k●3●30●35)
| answered Feb 05 '09, 12:08 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Erik,
Glad to hear that just creating a new sync stream got you going again (that's always a good workaround to try in cases like this). But to emphasize, if any (version-controlled) file under one of the "synchronization roots" (i.e. the files and directories specified in the "select files to synchronize" list) differs between the ClearCase stream/branch and the Jazz stream after a successful sync, then that is a bug, and please report it. The contents of those CLONE and INTERNAL workspaces that can help us track down what might be the source of the bug. Also, as Brian posted, if you ever do want to "overwrite" the files in one side with the other (rather than doing a sync, which brings over changes in both directions), you specify whether ClearCase or Jazz is the "source" for the overwrite, by specifying "ClearCase" or "Jazz" in the "select files to synchronize" dialog. Cheers, Geoff eanderso wrote: Before Brian and I had a chance to dig deeper, I recreated the UCM |
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.