Closed verhasi closed 7 years ago
For SRC workspace add all components with initial baselines and set the stream target to DST workspace. On the DST workspace add all components from stream that should be migrated. The tool then try to bring the SRC workspace to the same level as the DST workspace by accepting each changeset step by step. At at later time you can accept all changes from stream to DST workspace and start an incremental migration
Hi Florian,
Thank you for the response. Still not success. Actually if I set the Flow target in src to dst i got NPE at line MigrateTo.java:226
IWorkspaceHandle sourceStreamHandle = (IWorkspaceHandle) (sourceWsConnection.getFlowTable()
.getCurrentAcceptFlow().getFlowNode());
If in the dst workspace set the flow target to src then got he zero number of changesets.
Set stream target from SRC to DST and set the Stream Target to current and default.
I applied the following but still zero number of changeset :(
Create a SRC workspace that follow the stream you like to migrate. Check that the SRC workspace has the latest changes accepted from the stream. Now create the DST workspace that contains all components from the stream but with the initial baseline. Now set the flow target from the DST to the SRC and set it as default and current.
Attached two screenshots from my environment:
Thank you for the detailed instructions. In this way it started to work. On your screenshot in the DST workspace I see the latest changes but I applied the baseline. I just mention if someone else is coming do follow the instructions of text and not the screenshot.
Had I seen these comments before, I would have saved 2 weeks of trial and error that I did to understand this utility. Can the instructions not be updated? Would save lot of time.
It is not clear for me how to prepare the SRC and DST workspaces for the migration. As I run the tool it finds no changeset at all even the stream has a lot.
"TOTAL NUMBER OF CHANGESETS [0]"
In the SRC workspace I set the components to the first baseline and the flow to the stream, in the DST workspace I set the flow to SRC. I tried also with or without the components in the DST but the same result.
Regards, Istvan